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

Re: [cobalt-users] log files crash



Thank you for your contribution Florian.

I will try it very soon. Menawhile I will wait for other opinions about
it because I would like to know what happened exactely in order to avoid
this problem in the future.

Florian, did you miss your web.log, ftp.log, mail.log too.........?

Did you lost stats from webalizer (supossing you were using it)...?

Toni



Florian Effenberger wrote:

> Hi Toni,
>
> > I receive every day an e-mail message as this:
> > ---------------------------------------------------
> > From root  Sat Sep 23 01:00:40 2000
> > Date: Sat, 23 Sep 2000 01:00:40 +0200
> > From: Root <root@xxxxxxxxxxxxxxx>
> > To: root@xxxxxxxxxxxxxxx
> > Subject: errors rotating logs
>
> > errors occured while rotating /var/log/httpd/access
>
> > error running prerotate script --
> >                                 leaving old log in place
> > -----------------------------------------------
>
> I got exactly the same error. What I did was the following:
>
> log on via telnet as admin, then su to root
> cd /var/log/httpd
> rm access
> touch access
> /etc/rc.d/init.d/httpd restart
>
> Then the logs of one or two days are lost, but new logs will start.
>
> Let me know if it works and if you need any further help
>
> Good luck!!
> Florian