Re: [squid-users] Rotate log fails...

From: T.Vimal P.Singh <tvp@dont-contact.us>
Date: Sat, 9 Nov 2002 19:29:56 +0530 (IST)

Hi Keong
 Please see message log before you do anything. Or let me know that
message. Also look at secure log

Singh

On Tue, 5 Nov 2002, Wei Keong wrote:

> Had encountered a strange problem today. Squid fails to rotate it's logs.
>
> 2002/11/05 10:53:50| storeDirWriteCleanLogs: Starting...
> 2002/11/05 10:53:50| storeDirWriteCleanLogs:
> /usr/local/squid/swap/swap.state.00.clean: write: (9) Bad file des
> criptor
> 2002/11/05 10:53:50| storeDirWriteCleanLogs: Current swap logfile not
> replaced.
> FATAL: Received Segment Violation...dying.
> 2002/11/05 10:53:50| storeDirWriteCleanLogs: Starting...
> 2002/11/05 10:53:50| storeDirWriteCleanLogs:
> /usr/local/squid/swap/swap.state.00.clean: write: (9) Bad file des
> criptor
> 2002/11/05 10:53:50| storeDirWriteCleanLogs: Current swap logfile not
> replaced.
> 2002/11/05 10:53:50| assertion failed: disk.c:89: "F->flags.open"
> 2002/11/05 10:54:01| Starting Squid Cache version 2.4.STABLE6 for
> i686-pc-linux-gnu...
> 2002/11/05 10:54:01| Process ID 13236
> 2002/11/05 10:54:01| With 8192 file descriptors available
>
> We use cronjob 'squid -k rotate' to rotate the loge daily and this has
> been running all this while. Stopping & starting squid does not help and I
> suspect is file corruption.
>
> Is there any way to solve this without rebooting & running fsck?
>
> Thanks,
> Wei Keong
>

-- 
Received on Sat Nov 09 2002 - 21:34:23 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:16 MST