[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Message files not rotating



On Sun, Aug 06, 2006 at 02:31:40PM +0000, Elmer E. Dow wrote:
> I discovered that /var/log/messages is 428.6 MB on my IBM R40 laptop 
> running Sarge. I see /var/log/messages.1.gz, to messages.6.gz. None 
> of those are more than 302 KB and they're a year old. Syslog is in 
> a similar situation. Other log files aren't so big, but they 
> haven't been rotated in a year either. Why did rotation stop? How 
> do I start it again? Logrotate was installed. I just got rid of it. 
> Could it have been interfering?

umm... logrotate rotates the logs. removing it will prevent the logs
from being rotated. check man logrotate to get the output from
logrotate emailed to you so you can see what it happening. you should
confirm that there is still a cron job for log rotate. When I've had
problems with logrotate in the past is has been a permissions issue,
so maybe you have changed some permissons inadvertantly causing this
problem.

A

Attachment: signature.asc
Description: Digital signature


Reply to: