[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Wierd Apache Error

Posted on 2007-07-30
16
Medium Priority
?
697 Views
Last Modified: 2012-05-05
One of my web servers went down and I was only able to find the following error:

[Fri Jul 27 08:43:22 2007] [notice] mod_security/1.9.4 configured
[Fri Jul 27 08:43:27 2007] [notice] Apache/1.3.33 configured -- resuming normal operations
[Fri Jul 27 08:43:27 2007] [notice] Accept mutex: fcntl (Default: fcntl)
[Fri Jul 27 08:43:27 2007] [notice] child pid 14827 exit signal Bus Error (10)

I restarted it and it worked fine... But the error was unusual and is making me curios... Should I be concened?
0
Comment
Question by:kalmen
  • 9
  • 7
16 Comments
 
LVL 16

Expert Comment

by:ellandrd
ID: 19590784
these are only notices - if they where warming or errors, then i would be concerned...
0
 
LVL 1

Author Comment

by:kalmen
ID: 19590802
Oh okay. Thanks for that. Does this mean that someone shut it down manually? or could it mean anything?:
[Fri Jul 27 08:43:21 2007] [notice] caught SIGTERM, shutting down
0
 
LVL 16

Expert Comment

by:ellandrd
ID: 19590839
SIGTERM is a command to shut down a process.  

Its very hard to say what caused it to shut down by the notice - do you have any other warmings or errors?  

what log are you getting this from - access.log or error.log ??

My first though was that this process crashed and apache tired to shut it down and restart it..??
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 1

Author Comment

by:kalmen
ID: 19590908
Actually, I'm getting all these other messages:
[Mon Jul 30 09:27:11 2007] [notice] caught SIGTERM, shutting down
[Mon Jul 30 09:27:11 2007] [notice] mod_security/1.9.4 configured
[Mon Jul 30 09:27:16 2007] [notice] Apache/1.3.33 configured -- resuming normal operations
[Mon Jul 30 09:27:16 2007] [notice] Accept mutex: fcntl (Default: fcntl)
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
[Mon Jul 30 09:46:24 2007] [notice] caught SIGTERM, shutting down
[Mon Jul 30 09:46:24 2007] [notice] mod_security/1.9.4 configured
[Mon Jul 30 09:46:30 2007] [notice] Apache/1.3.33 configured -- resuming normal operations
[Mon Jul 30 09:46:30 2007] [notice] Accept mutex: fcntl (Default: fcntl)
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
[Mon Jul 30 11:21:41 2007] [notice] caught SIGTERM, shutting down
[Mon Jul 30 11:21:41 2007] [notice] mod_security/1.9.4 configured
[Mon Jul 30 11:21:47 2007] [notice] Apache/1.3.33 configured -- resuming normal operations
[Mon Jul 30 11:21:47 2007] [notice] Accept mutex: fcntl (Default: fcntl)
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated


I think it is Apache which is shutting it down. This is from the error_log. How can I troubleshoot?

0
 
LVL 16

Expert Comment

by:ellandrd
ID: 19590929
- ok stop all apache services.
- clear out the log file.
- restart apache services.
- test a webpage to make sure apache is working ok again.  
- check the log file again.

I want to see what is causing this...
0
 
LVL 1

Author Comment

by:kalmen
ID: 19590967
Hi,

I did so, and here is the error_log output:
# more error_log
[Mon Jul 30 12:46:01 2007] [notice] mod_security/1.9.4 configured
[Mon Jul 30 12:46:07 2007] [notice] Apache/1.3.33 configured -- resuming normal operations
[Mon Jul 30 12:46:07 2007] [notice] Accept mutex: fcntl (Default: fcntl)
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
Terminated
[Mon Jul 30 12:46:58 2007] [notice] caught SIGTERM, shutting down
[Mon Jul 30 12:46:58 2007] [notice] mod_security/1.9.4 configured
[Mon Jul 30 12:47:04 2007] [notice] Apache/1.3.33 configured -- resuming normal operations
[Mon Jul 30 12:47:04 2007] [notice] Accept mutex: fcntl (Default: fcntl)


Does it matter that I use mod_security?

0
 
LVL 16

Accepted Solution

by:
ellandrd earned 2000 total points
ID: 19590984
Have you just reconfigured apache to use mod_security or any other modules like openSSL or mod_SSL?

Has apache worked fine up to now (today) ?

0
 
LVL 1

Author Comment

by:kalmen
ID: 19591002
I have reconfigured it to use mod_security, but maybe a month back and never bothered to check because it is working fine. Just went down once last friday.
0
 
LVL 16

Expert Comment

by:ellandrd
ID: 19591040
ok - the obvious troubleshooter:

- disabled mod_security,
- restart apache (clearing out logs before hand)
- test apache again.  

If the notices come back, then we both know its your mod_security and it isnt configurated correctly....

what platform are you using?  Windows or *nix?
0
 
LVL 16

Expert Comment

by:ellandrd
ID: 19591122
Maybe this will help you with the configuration:

http://www.onlamp.com/pub/a/apache/2003/11/26/mod_security.html

Ellandrd
0
 
LVL 1

Author Comment

by:kalmen
ID: 19591175
Disabled and restarted. Looks stable so far... So it must be the mod_sec...
# svcadm enable apache
# tail -f error_log
[Mon Jul 30 13:38:59 2007] [notice] Apache/1.3.33 configured -- resuming normal operations
[Mon Jul 30 13:38:59 2007] [notice] Accept mutex: fcntl (Default: fcntl)

I'm using solaris10... unix... really nice.
0
 
LVL 16

Expert Comment

by:ellandrd
ID: 19591184
Ok, im on Windows, but the link i provided above should help you reconfigure it proper??
0
 
LVL 1

Author Comment

by:kalmen
ID: 19591231
Yes. I was using the default.

Thanks alot.. I think I can take it from here... I'll start a new request if I have trouble.
0
 
LVL 16

Expert Comment

by:ellandrd
ID: 19591238
OK no problem.  I'm on hand to help if you are...

Ellandrd
0
 
LVL 16

Expert Comment

by:ellandrd
ID: 19591725
Thanks for the grade

Ellandrd
0
 
LVL 1

Author Comment

by:kalmen
ID: 19591766
You're welcome... it's working now... no errors.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Some of the SEO trends we might expect in 2017.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Suggested Courses
Course of the Month18 days, 12 hours left to enroll

834 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