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

Re: [cobalt-users] log files crash



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