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

Re: errors rotating logs (fwd)



On Sun, 17 Aug 1997, Erez Doron wrote:

> Hi
> 
> i've got this mail:
> 
> 
> > From root  Fri Aug 15 01:02:38 1997
> > Date: Fri, 15 Aug 1997 01:02:37 +0300
> > From: Operator <root@prod1.it.usr.com>
> > Message-Id: <199708142202.BAA03968@prod1.it.usr.com>
> > To: root@prod1.it.usr.com
> > Subject: errors rotating logs
> >
> > errors occured while rotating /var/log/mars_nwe.log
> >
> > stat of /var/log/mars_nwe.log failed: No such file or directory
> 
> who sent this to me ( what daemon ) ?

logrotate is run by cron, which in turn runs of course as uid 0 if you
don't have mars (Netware emulator) running or not creating logs, it is
fairly possible that just removing the mars logfile from the logrotate
config will be the easyest way. check out /etc/logrotate.conf, then
/etc/logrotate.d/ finally /etc/cron.(hourly|daily|monthly|yearly)/

   -------------------------------------------------------------
   Ira Abramov          <ira@scso.com>        Scalable Solutions
   POBox 3600, Jerusalem 91035, Israel       Tel (972)2-642-6822
   http://www.scso.com/~ira   Check out: http://www.linux.org.il