Help with Apache
This is the first time I have used Linux and Apache. I am using Knoppix running from a hard drive instead of a CD. It appears to have come with Apache installed but I cannot figure out why it does not appear to be running. I need it to run at startup so and be accessible from computers running Windows Xp.
appear schmappear, try these to see if there are running (as root):
ps aux| grep httpd
To see whether apache is running.
(i'm guessing it's running apache2)
check your apache version and config.
In a konsole (as root): manually starts the apache server; stop for stopping; restart for restarting.
(i'm on suse so it could be slightly different on your end ...)
Apache not running
In order to check whether Apache is running or not you can grep the httpd process by executing the following command:
ps -aux | grep httpd, this will show you the instances of apache running.
Also, on Linux if the apache is being installed thru the rpm you can perform the following command:
/etc/rc.d/init.d/httpd status, it will show you the status if it running or stopped. If stopped, replace the status with start to start the apache.
You can also do a telnet on port 80 and specifying the machine IP Address to check whether it is running or not. It will only be successful if the apache instance is running on the system.