Boniforti Flavio wrote:
> 2001/09/27 16:24:52| idnsCheckQueue: ID 34bd: giving up after 20 tries and
> 16.9 seconds
Expected.
> 2001/09/27 16:50:46| ftpReadControlReply: read error: (104) Connection reset
> by peer
Also expected.
> 2001/09/28 17:23:13| storeDirClean: /var/spool/squid/1C/A7: (13) Permission
> denied
Not good. Permissions in your cache directory have been screwed up.
Needs manual fixup using chown/chmod, and I'd recommend a cache rebuild
after fixing the permissions.
To figure out how badly the permissions have been screwed up, please run
ls -ld /
ls -ld /var
ls -ld /var/spool
ls -ld /var/spool/squid
ls -ld /var/spool/squid/1C
ls -ld /var/spool/squid/1C/A7
To fix it up, sssuming cache_effective_user is set to "nobody" (the
default) then try the following (if your cache_effective_user is
something else, like "squid", then replace nobody with your value):
1. Make sure Squid is not running
2. Reset the permissions
chown -R nobody /var/spool/squid
chmod -R u+rw,o=,g= /var/spool/squid
find /var/spool/squid -type d -print0 | xargs -0 chmod 700
3. Reset the permissions on any directories leading up to the Squid
cache just to be sure...
chmod a+rx / /var /var/spool
4. Remove swap.state to force a cache rebuild
rm /var/spool/squid/swap.state
5. Start Squid again.
Regards
Henrik Nordström
Squid Hacker
Received on Sat Sep 29 2001 - 08:52:53 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:31 MST