Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-16-2012, 05:40 AM
|
#1
|
Member
Registered: Apr 2010
Posts: 82
Rep:
|
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
|
|
|
05-16-2012, 06:06 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
05-16-2012, 06:09 AM
|
#3
|
Senior Member
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099
|
Quote:
Originally Posted by fachhoch@gmail.com
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
|
|
|
05-16-2012, 06:20 AM
|
#4
|
Member
Registered: Apr 2010
Posts: 82
Original Poster
Rep:
|
how to enable logging debug for httpd may be that will tel more ?
Quote:
Originally Posted by Doc CPU
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 08:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|