Solved

Apache is Exiting!

Posted on 2009-05-20
3
530 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Accepted Solution

by:
elf_bin earned 125 total points
ID: 24439806
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
ID: 24487544
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
ID: 31583632
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

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