[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Logrotate Broken?
- Subject: RE: [cobalt-users] Logrotate Broken?
- From: "Phil Beynon" <phil@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun Nov 9 10:35:02 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> I have asked this question a number of times in the previous months but I
> haven't gotten too much help. This is what is going on with our Qube3
> Professional. For some reason after a week 1/2 or 2 weeks of being up
> logrotate does not rotate the /var/log/maillog file properly and
> instead of
> starting a new day with maillog it continues writing the log file to
> maillog.1. This is a problem since I run SMA and SMA runs its reports by
> looking at /var/log/maillog but the file is empty and so the SMA report is
> also empty. I tried to fix it by logging in as root and then runnning
> ./logrotate and it runs but I see no output, no errors no nothing and
> Sendmail is still logging to /var/log/maillog.1 instead of the
> maillog file.
> The only solution I have is to actually reboot the machine... The funny
> thing is that this has been happening mostly on Sundays... Any
> ideas? I am
> lost!
>
> Thanks,
>
> Santiago.
I thought logrotate only happened when logs got over a certain size (a
percentage of the users allocation) - so maybe on a sunday you get less
emails and they don't rotate as they don't think they need to.
Phil
** http://www.diygear.com THE Online DIY Toolstore For DIY & Business
** Infolink Electronic Systems Ltd. http://www.infolinkelectronics.co.uk
** Professional Web Design & Cobalt Hosting Solutions
** Sun Cobalt iForce Reseller - Canon Silver Reseller
** Contact: Sales@xxxxxxxxxxxxxxxxxxxxxxxxx
** Tel / Fax 0121 458 4894 (office) 0121 441 3558 (home)