Bug 7074 - /etc/logrotate.d/apache gives error if apache isn't running
/etc/logrotate.d/apache gives error if apache isn't running
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: apache (Show other bugs)
6.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-11-17 06:30 EST by Mads Kiilerich
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-12-06 13:45:09 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mads Kiilerich 1999-11-17 06:30:38 EST
eg:

/var/log/httpd/access_log {
    missingok
    postrotate
        /usr/bin/killall -HUP httpd
    endscript
}

while missing is ok, the killall will give an error which will be mailed to
root.

Solution: 2>/dev/null

Regards, Kiilerich
Comment 1 Preston Brown 1999-12-06 13:45:59 EST
fixed in a forthcoming errata release of apache.  Thank you for the report.

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