Solved

Apache is Exiting!

Posted on 2009-05-20
3
522 Views
Last Modified: 2013-12-16
Around 2am today and yesterday, this message is in the Apache logs:
Child 3403 returned a Fatal error... \nApache is exiting!

A manual start of the httpd service brought it back up fine.  Any ideas to see what happened, and troubleshoot?

The server has 2gb of ram installed and [free] currently says:
-/+ buffers/cache:     used: 294k   free: 1771k
From the log file:

 

accept_mutex_on: Invalid argument

No log handling enabled - turning on stderr logging

read_config_store open failure on /var/net-snmp/snmpapp.conf

read_config_store open failure on /var/net-snmp/snmpapp.conf

read_config_store open failure on /var/net-snmp/snmpapp.conf

[Wed May 20 02:35:21 2009] [alert] Child 3403 returned a Fatal error... \nApache is exiting!

accept_mutex_off: Invalid argument

No log handling enabled - turning on stderr logging

read_config_store open failure on /var/net-snmp/snmpapp.conf

read_config_store open failure on /var/net-snmp/snmpapp.conf

read_config_store open failure on /var/net-snmp/snmpapp.conf

Open in new window

0
Comment
Question by:M256
3 Comments
 
LVL 10

Accepted Solution

by:
elf_bin earned 125 total points
Comment Utility
Often PHP or a PHP module is responsible for that.  Have you recompiled Apache recently?
Another cause is excessively large log files (rotate them if they are large).
I seem to remember a bug in Apache about version 1.3.34-4 that was very similar, is that the version of Apache you're using?
Basically the mutex thing is a semaphore - so a "lock".  That could really be anything unfortunately.  If you have support, phone the provider and let them sort it out.  If you don't have support, check all scripts used for any semaphore activity.  Recompile Apache.  Upgrade to the latest version of everything.
Also I note you've not configured logging, that would be a good idea to configure logging.  Plus your web server is trying to read a SNMP configuration file (/var/net-snmp/snmpapp.conf) but can't open the file.  That may or may not have something to do with it, depending on how the file is being opened.
0
 
LVL 5

Expert Comment

by:random_ru
Comment Utility
is it the same process id every time? use: pstree -p to find out what it is
0
 
LVL 5

Author Closing Comment

by:M256
Comment Utility
I cleaned up the log files, but still no joy.
I can't update 'cause of OS issues, so I'm switching to a clean install.  I think this will fix it.  Thanks!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now