Hi Chris,

> Let's see... I have a Sonicwall firewall that is sending it's data to my linux
> box via local0.
> 
> Here is the pertinent line in /etc/syslog.conf:
> 
> local0.*              /var/log/sonicwall/log
> 
> Here is /etc/logrotate.conf (I removed all unnecessary lines):

> /var/log/sonicwall/log {
>     daily
>     rotate 7
>     create
>     compress
> }

> -rw-r-----    1 root     root            0 Jul 11 04:02 log
> -rw-r-----    1 root     root           26 Jul 10 04:02 log.1.gz
> -rw-r-----    1 root     root       864967 Jul 10 04:02 log.2.gz

 Maybe you should add a postrotate section that hups syslog (or the program 
that is receiving the firewall's data if there is one). It is probably still 
trying to write to a filehandle that doesn't exist anymore (actually the file 
handle is still used but the file has been unlinked).

 To verify this you could use delaycompress instead of compress, to delay 
compression one stage. In this case it is quite likely log.1 keeps growing 
bigger because it uses the handle of the original file.

Bye,
Leonard.

--
How clean is a war when you shoot around nukelar waste?
Stop the use of depleted uranium ammo!
End all weapons of mass destruction.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to