LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache problem: httpd (pid 2206?) not running (https://www.linuxquestions.org/questions/linux-software-2/apache-problem-httpd-pid-2206-not-running-480613/)

newlinuxnewbie 09-05-2006 09:59 AM

Apache problem: httpd (pid 2206?) not running
 
Apache is not running even though it says it's started. I try to stop it and it gives this:
httpd (pid 2206?) not running

Why is the pid "2206?" ?

How do I fix this?



I think I posted this in the wrong forum, can a moderator move this to the server forum? Thanks!

DotHQ 09-05-2006 10:12 AM

No idea which distro your running ....but

In Red Hat or Fedora using the service command you can do a:
service httpd start
or
if it says it's running but you don't believe it stop or restart the service like so:
service httpd restart
or
service httpd stop
then you can start it. You should get prompts which say ok when it starts or or the dreaded 'failed' message.
If it fails (or says ok, but doesn't work) go to /var/log and view the tail end of the messages file. It should give you a hint as to why it's failing.

newlinuxnewbie 09-05-2006 10:17 AM

I run this and it'll say started
/usr/local/apache/bin/apachectl start

But I find it it isn't running so I stopped it
/usr/local/apache/bin/apachectl stop

And it gives this error
httpd (pid 2206?) not running

I just found the problem, usr partition was full, freed up some space and it's working again.


All times are GMT -5. The time now is 05:19 AM.