On Nov 27 09:02:04, [email protected] wrote:
> Hi folks,
> 
> I got a bazillion of error messages in /var/log/daemon
> 
> :
> Nov 27 08:33:25 gate6a pflogd[26893]: Corrupted log file.
> Nov 27 08:33:25 gate6a pflogd[26893]: Invalid/incompatible log file, move it 
> away

Last time I had this, it was a missing B in the rotation flag,
slapping a "logfile turned over" text message into a binary log file.

> Nov 27 08:33:25 gate6a pflogd[26893]: Logging suspended: open error
> Nov 27 08:33:32 gate6a pflogd[2985]: Corrupted log file.
> Nov 27 08:33:32 gate6a pflogd[2985]: Invalid/incompatible log file, move it 
> away
> Nov 27 08:33:32 gate6a pflogd[2985]: Logging suspended: open error
> :
> 
> Problem is, pflogd doesn't tell which one. I am logging to /var/log/\
> pflog{0..3}. Nothing else but pflogd is writing these files. They are
> rotated every hour, using the default
> 
> /var/log/pflog   600  3     250  *     ZB "pkill -HUP -u root -U root -t - -x 
> pflogd"

Does that mean you only keep the last 4 x 250 kilobytes of logs
(or whatever it accumulates to during the hour)?
Is that your intentiton?

> in /etc/newsyslog.conf. crontab entry:
> 
> 0 * * * * /usr/bin/newsyslog


Reply via email to