"Jose Orlando T. Ribeiro" wrote:
>
> Hi!
>
> I have a doubt...
>
> I'm using a LM7.2 machine to store log from some Cisco routers in my network. I
> observed that the logs weren't being rotated nor compressed. So I read the man
> pages and changed the /etc/logrotate.conf, so now the Cisco log files are
> rotated and compressed.
>
> The new problem: when the logs are rotated by logrotate the syslog service
> stops... or at least the part of syslog that should take care of my Cisco's
> logs. Then I have to manually start syslog using the "service syslog restart"
> command.
>
> Has anybody had the same problem? Knows how to solve???
Mine works fine... Note that my rotate instructions are not in
/etc/logrotate.conf...
/etc/logrotate.d/syslog contains:
/home/logs/RouterLog {
rotate 5
weekly
postrotate
/usr/bin/killall -HUP syslogd
endscript
HTH,
Pierre
Want to buy your Pack or Services from MandrakeSoft?
Go to http://wwww.mandrakestore.com