LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   logrotate in SLES 8 (https://www.linuxquestions.org/questions/linux-software-2/logrotate-in-sles-8-a-230538/)

jce23 09-14-2004 12:52 PM

logrotate in SLES 8
 
I am logging messages from my PIX to a SLES 8 server. No matter what I do, I cannot get logrotate to actually rotate the logs. Below is my entry in /etc/logrotate.conf. This took about two minutes to get working in RH9, so I don't know what's up with SLES. Please advise.


daily
rotate 30
create

/var/log/pix/pixfirewall {
#sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || t
rue
endscript
}


All times are GMT -5. The time now is 06:07 AM.