Bug 105899

Summary: httpd crashes by logrotate
Product: [Retired] Red Hat Linux Reporter: Need Real Name <stanislav.voroniy>
Component: httpdAssignee: Joe Orton <jorton>
Status: CLOSED WORKSFORME QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-02 21:12:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2003-09-29 07:41:41 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
Logrotate crashes httpd by sending SIGHUP (normaly should do reconfiguration).

Some extracts from the log - self explanatory:
# tail -1 /var/log/httpd/error_log.1
[Sun Sep 28 04:02:15 2003] [notice] SIGHUP received.  Attempting to restart

# tail -1 /var/log/httpd/error_log
[Sun Sep 28 04:02:17 2003] [notice] seg fault or similar nasty error detected in
the parent process

#fgrep 04:02 /var/log/cron
Sep 29 04:02:00 dev CROND[6697]: (root) CMD (run-parts /etc/cron.daily)

 Of course cron.daily has logrotate, and logrotate has http in logrotate.d and
it sends SIGHUP

Version-Release number of selected component (if applicable):
httpd-2.0.40-11.7

How reproducible:
Sometimes

Steps to Reproduce:
1. Just wait several days till logrotate will cras it. :-)
2.
3.
    

Actual Results:  Happens periodically approx. once a month 

Expected Results:  It should just continue working :-)

Additional info:

Apache is running with SSL and php.

Comment 1 Joe Orton 2004-05-02 21:12:16 UTC
Please re-open if this is reproducible against a supported release;
there have been various fixes in RHEL and Fedora Core httpd packages
for issues which could have caused crashes in the parent.