LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-16-2012, 05:40 AM   #1
fachhoch@gmail.com
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 1
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
 
Old 05-16-2012, 06:06 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 05-16-2012, 06:09 AM   #3
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Quote:
Originally Posted by fachhoch@gmail.com View Post
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
 
Old 05-16-2012, 06:20 AM   #4
fachhoch@gmail.com
Member
 
Registered: Apr 2010
Posts: 82

Original Poster
Rep: Reputation: 1
how to enable logging debug for httpd may be that will tel more ?

Quote:
Originally Posted by Doc CPU View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically Generated Includes In Httpd.conf bar338 Linux - Server 0 12-19-2009 11:56 AM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 08:24 AM
How to run httpd service automatically during startup jojojo Fedora 3 06-21-2006 05:21 AM
Start services automatically (httpd & SMB) krazyglue Linux - Newbie 8 07-11-2004 04:48 AM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration