New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

logrotate issue...

Got problems with your B2 or B3? Share and get helped!
Post Reply
Xet
Posts: 53
Joined: 12 May 2008, 02:40

logrotate issue...

Post by Xet »

After checking root's mail I noticed that there was dialy mail from cron telling me that logrotate fails.

It seems that "horde" has duplicate entries.
After looking in /etc/logrotate.d/ I found that both the "bubba-horde" and "horde3" tries to rotate the same log-files. I guess that this is no big issue, removing one of the entries should do the suffice.
Worse is, however, that the horde log doesn't want to be rotated.
Forcing a rotate, executing "logrotate -d -f bubba-horde", prints:
...
copying /var/log/horde/horde3.log to /var/log/horde/horde3.log.1
truncating /var/log/horde/horde3.log
error: unable to open /var/log/horde/horde3.log.1 for compression"
Post Reply