Hi Markus,

At 16.45 13/08/2003, Wagner Markus wrote:

> >I installed the test build but unfortunately I still get
> Permission denied
> >errors :(
> >
> >2003/08/12 20:34:27| storeDirWriteCleanLogs: Starting...
> >2003/08/12 20:34:27| WARNING: Closing open FD   13
> >2003/08/12 20:34:27|     65536 entries written so far.
> >2003/08/12 20:34:27|    131072 entries written so far.
> >2003/08/12 20:34:27|    196608 entries written so far.
> >2003/08/12 20:34:28|    262144 entries written so far.
> >2003/08/12 20:34:28|    327680 entries written so far.
> >2003/08/12 20:34:28|    393216 entries written so far.
> >2003/08/12 20:34:28|    458752 entries written so far.
> >2003/08/12 20:34:30|   Finished.  Wrote 498146 entries.
> >2003/08/12 20:34:30|   Took 3.3 seconds (151090.7 entries/sec).
> >FATAL: logfileWrite: c:/squid/log/store.log: (13) Permission denied
> >
> >Squid Cache (Version 2.5.STABLE3-NT-CVS): Terminated abnormally.
> >2003/08/12 20:36:31| Starting Squid Cache version
> 2.5.STABLE3-NT-CVS for
> >i686-pc-winnt...
> >
>
> Very strange, on my system only squid.exe has open handles to
> store.log.
>
> Please, using Process Explorer from Sysinternals
> (http://www.sysinternals.com/ntw2k/freeware/procexp.shtml),
> do you can
> check the handles status of squid.exe and its childs, and if there is
> any  "orphan" pinger.exe still running on your system ?
>
> If yes, you can kill it with Process Explorer.
>
> Regards
>
> Guido

No - actually there are no pinger.exe running at all (I added the
"pinger_program none" line). Well - there is squid.exe running and it has
file handles to the 3 log files and swap.state and there is one child:
unlinkd.exe but is has no handles to the log files or swap.state
(at this moment)

Hmmmm...the last time the error occurred was yesterday about one hour after
I installed the test build. Today everything is running fine - so far ;)

What cache fs do you use ? ufs or awin32 ?


Do you have cachemgr.cgi running ? If yes, please check the FD number of store.log: on all your logs there is always a sequence like the following:

2003/08/12 20:34:27| storeDirWriteCleanLogs: Starting...
2003/08/12 20:34:27| WARNING: Closing open FD   13
2003/08/12 20:34:27|     65536 entries written so far.
.....
2003/08/12 20:34:30|   Finished.  Wrote 498146 entries.
2003/08/12 20:34:30|   Took 3.3 seconds (151090.7 entries/sec).
FATAL: logfileWrite: c:/squid/log/store.log: (13) Permission denied

I have a doubt: the open FD closed is the FD of store.log ?

At Squid start time store.log should always get the same FD number if you don't change anything in squid.conf, after a rotate it changes.

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l.
Via Gorizia, 69             10136 - Torino - ITALY
Tel. : +39.011.3249426      Fax. : +39.011.3293665
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/

Reply via email to