DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8154>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8154

logrotate script in RPM rotates non-existing file

           Summary: logrotate script in RPM rotates non-existing file
           Product: Tomcat 3
           Version: 3.3 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Config
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The /etc/logrotate.d/tomcat file installed by the RPM
refers to a non-existing file.  It 
doesn't have the
/var/log/tomcat directory in its path.  

So instead of the 
current:

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

it should contain something like this:

/var/log/tomcat/*.log 
{
    missingok
    postrotate
        /usr/bin/killall -HUP httpd
    endscript
}

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to