Results 1 to 3 of 3
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 ...
- 03-29-2006 #1Just Joined!
- Join Date
- Mar 2006
- Posts
- 1
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.
- 04-03-2006 #2
appear schmappear, try these to see if there are running (as root):
/etc/init.d/apache2 status
OR
ps aux| grep httpd
To see whether apache is running.
(i'm guessing it's running apache2)
Also:
httpd2 -V
check your apache version and config.
apache2ctl start
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 ...)Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
<~ http://www.linuxcommand.org/ ~>
- 04-04-2006 #3Just Joined!
- Join Date
- Apr 2005
- Posts
- 88
Apache not running
Greetings
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.
Regards


Reply With Quote