RE: [squid-dev] logfileWrite: c:/squid/log/store.log: (13 ) Permission denied after storeDirWriteCleanLogs (Squid 2.5 on Windows 2000)

From: Wagner Markus <WagnerMarkus@dont-contact.us>
Date: Fri, 22 Aug 2003 11:27:04 +0200

> Attached you can find a squid.exe with full log files
> debugging enabled, so
> we can see what happens.
>
> Please note: this build is highly revised in the socked code.
> It seems to work fine and it should give better performance
>

It happened agin. I removed all ssl client lines and cachemanager
lines from the cache.log. It starts at midnight where I rotate
the logfiles. The failure occurs at 20:34

2003/08/20 23:55:01| storeDirWriteCleanLogs: Starting...
2003/08/20 23:55:03| 65536 entries written so far.
2003/08/20 23:55:04| 131072 entries written so far.
2003/08/20 23:55:06| 196608 entries written so far.
2003/08/20 23:55:08| 262144 entries written so far.
2003/08/20 23:55:10| 327680 entries written so far.
2003/08/20 23:55:11| 393216 entries written so far.
2003/08/20 23:55:13| 458752 entries written so far.
2003/08/20 23:55:15| 524288 entries written so far.
2003/08/20 23:55:29| Finished. Wrote 574695 entries.
2003/08/20 23:55:29| Took 28.0 seconds (20524.8 entries/sec).
2003/08/20 23:55:29| logfileRotate: FD:9 c:/squid/log/store.log
2003/08/20 23:55:29| logfileRotate: FD 9 reopened for c:/squid/log/store.log
2003/08/20 23:55:29| logfileRotate: FD:5 c:/squid/log/access.log
2003/08/20 23:55:29| logfileRotate: FD 5 reopened for c:/squid/log/access.log
2003/08/20 23:55:29| Pinger disabled
2003/08/21 00:18:05| logfileOpen: FD 12 opened for e:/cache/netdb_state
2003/08/21 00:18:05| logfileClose: FD 12 clsed for e:/cache/netdb_state
2003/08/21 00:18:05| NETDB state saved; 43 entries, 16 msec
2003/08/21 02:36:36| logfileOpen: FD 12 opened for e:/cache/netdb_state
2003/08/21 02:36:36| logfileClose: FD 12 clsed for e:/cache/netdb_state
2003/08/21 02:36:36| NETDB state saved; 43 entries, 31 msec
.
.
.
2003/08/21 18:00:58| logfileOpen: FD 12 opened for e:/cache/netdb_state
2003/08/21 18:00:58| logfileClose: FD 12 clsed for e:/cache/netdb_state
2003/08/21 18:00:58| NETDB state saved; 43 entries, 31 msec
2003/08/21 18:50:37| logfileOpen: FD 24 opened for e:/cache/netdb_state
2003/08/21 18:50:37| logfileClose: FD 24 clsed for e:/cache/netdb_state
2003/08/21 18:50:37| NETDB state saved; 43 entries, 31 msec
2003/08/21 20:33:57| storeDirWriteCleanLogs: Starting...
2003/08/21 20:33:57| WARNING: Closing open FD 13
2003/08/21 20:33:58| 65536 entries written so far.
2003/08/21 20:33:58| 131072 entries written so far.
2003/08/21 20:33:58| 196608 entries written so far.
2003/08/21 20:33:58| 262144 entries written so far.
2003/08/21 20:33:58| 327680 entries written so far.
2003/08/21 20:33:58| 393216 entries written so far.
2003/08/21 20:33:58| 458752 entries written so far.
2003/08/21 20:33:58| 524288 entries written so far.
2003/08/21 20:33:58| 589824 entries written so far.
2003/08/21 20:34:00| Finished. Wrote 591302 entries.
2003/08/21 20:34:00| Took 2.6 seconds (223893.2 entries/sec).
FATAL: logfileWrite: FD 5: c:/squid/log/access.log: (13) Permission denied

Squid Cache (Version 2.5.STABLE3-NT-CVS): Terminated abnormally.
2003/08/21 20:36:02| Starting Squid Cache version 2.5.STABLE3-NT-CVS for i686-pc-winnt...
2003/08/21 20:36:02| Running as Squid_Proxy Windows System Service on Windows 2000

Regarding the warning "2003/08/21 20:33:57| WARNING: Closing open FD 13":

I looked into the cache.log before the rotation:

2003/08/20 12:06:21| Accepting HTTP connections at 0.0.0.0, port 80, FD 13.

What could cause this error?

thanks,

Markus Wagner
Received on Fri Aug 22 2003 - 03:27:18 MDT

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