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

From: Wei Keong <chooweikeong@dont-contact.us>
Date: Mon, 11 Nov 2002 10:16:46 +0800 (Singapore Standard Time)

Hi Singh,

The problem was due to swap corruption. Managed to resolve the problem by
deleting the swap and let squid rebuild the swap.

Thanks,
Wei Keong

On Sat, 9 Nov 2002, T.Vimal P.Singh wrote:

>
> 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 Sun Nov 10 2002 - 19:18:07 MST

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