Bug 7074 - /etc/logrotate.d/apache gives error if apache isn't running
Summary: /etc/logrotate.d/apache gives error if apache isn't running
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: apache   
(Show other bugs)
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Preston Brown
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-11-17 11:30 UTC by Mads Kiilerich
Modified: 2008-05-01 15:37 UTC (History)
0 users

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: ---


Attachments (Terms of Use)

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.


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