Bug 7074

Summary: /etc/logrotate.d/apache gives error if apache isn't running
Product: [Retired] Red Hat Linux Reporter: Mads Kiilerich <mads>
Component: apacheAssignee: Preston Brown <pbrown>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-12-06 18:45:09 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 Mads Kiilerich 1999-11-17 11:30:38 UTC
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 18:45:59 UTC
fixed in a forthcoming errata release of apache.  Thank you for the report.