Bug 105899 - httpd crashes by logrotate
Summary: httpd crashes by logrotate
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: httpd
Version: 8.0
Hardware: i686
OS: Linux
medium
high
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-29 07:41 UTC by Need Real Name
Modified: 2007-04-18 16:57 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-05-02 21:12:16 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.