LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apache httpd does not automatically (https://www.linuxquestions.org/questions/linux-newbie-8/apache-httpd-does-not-automatically-945254/)

fachhoch@gmail.com 05-16-2012 04:40 AM

apache httpd does not automatically
 
apache httpd does not start automatically error logs show this

Code:

[root@ip-10-140-5-209 ec2-user]# cat /var/log/httpd/ajp.error.log
[Wed May 16 09:30:32 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed May 16 09:30:32 2012] [notice] Digest: generating secret for digest authentication ...
[Wed May 16 09:30:32 2012] [notice] Digest: done
[Wed May 16 09:30:32 2012] [notice] Apache/2.2.22 (Unix) DAV/2 configured -- resuming normal operations
[Wed May 16 09:35:26 2012] [notice] caught SIGTERM, shutting down


acid_kewpie 05-16-2012 05:06 AM

that is clearly an apache server starting and then stopping after 5 minuets. This doesn't say anything at all about it not starting "automatically". Does this mean on boot? If so does chkconfig show that apache is listed to start on boot? "chkconfig httpd on" for systems that support it. If this is not what you mean, please take the tie to actually define your issues in more useful amounts of detail.

Doc CPU 05-16-2012 05:09 AM

Quote:

Originally Posted by fachhoch@gmail.com (Post 4679738)
apache httpd does not start automatically

oh, it does start: According to your log it starts and runs for about five minutes, until it is terminated by another process.

Code:

[root@ip-10-140-5-209 ec2-user]# cat /var/log/httpd/ajp.error.log
[Wed May 16 09:30:32 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed May 16 09:30:32 2012] [notice] Digest: generating secret for digest authentication ...
[Wed May 16 09:30:32 2012] [notice] Digest: done
[Wed May 16 09:30:32 2012] [notice] Apache/2.2.22 (Unix) DAV/2 configured -- resuming normal operations
[Wed May 16 09:35:26 2012] [notice] caught SIGTERM, shutting down

Find out "who" shoots the Apache five minutes after it started. I'm not saying that's easy to find out, though ...

[X] Doc CPU

fachhoch@gmail.com 05-16-2012 05:20 AM

how to enable logging debug for httpd may be that will tel more ?

Quote:

Originally Posted by Doc CPU (Post 4679755)
oh, it does start: According to your log it starts and runs for about five minutes, until it is terminated by another process.

Code:

[root@ip-10-140-5-209 ec2-user]# cat /var/log/httpd/ajp.error.log
[Wed May 16 09:30:32 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed May 16 09:30:32 2012] [notice] Digest: generating secret for digest authentication ...
[Wed May 16 09:30:32 2012] [notice] Digest: done
[Wed May 16 09:30:32 2012] [notice] Apache/2.2.22 (Unix) DAV/2 configured -- resuming normal operations
[Wed May 16 09:35:26 2012] [notice] caught SIGTERM, shutting down

Find out "who" shoots the Apache five minutes after it started. I'm not saying that's easy to find out, though ...

[X] Doc CPU



All times are GMT -5. The time now is 10:01 PM.