This is a discussion on [squid-users] permission denied cache within the Squid Users forums, part of the Web Server and Related Forums category; I downloaded the 2.5 Stable source and compiled and installed=20 as per the usual method. This was all ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I downloaded the 2.5 Stable source and compiled and installed=20
as per the usual method. This was all done as a new user called squid=20 which was created before install. when i run squid -z I get the classical error: 2004/01/28 10:15:30| Creating Swap Directories FATAL: Failed to make swap directory /usr/local/squid/cache: (13) Permission denied Squid Cache (Version 2.5.STABLE4): Terminated abnormally. CPU Usage: 0.000 seconds =3D 0.000 user + 0.000 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 13 I lookt it up and i found some solutios: change the owner of the cache and logs directory. i.e. # chown -R nobody.nogroup /usr/local/squid/cache # chown -R nobody.nogroup /usr/local/squid/logs did not work. i had : lionking:# ls -ld /usr/local/squid/cache/ drwxr-xr-x 2 squid squid 4096 Jan 28 11:07 /usr/local/squid/cache/ then i tried : lionking:# ls -ld /usr/local/squid/cache/ drwxr-xr-x 2 nobody nogroup 4096 Jan 28 11:07/usr/local/squid/cache/till does not work. note: I changd in squid.conf : cache_effective_user squid cache_effective_group squid my local: lionking:# ls -ld /usr/local/ drwxrwxrwx 14 root root 4096 Jan 28 11:14 /usr/local/ and squid: lionking# ls -ld /usr/local/squid/ drwxrwxrwx 11 root root 4096 Jan 28 11:07 /usr/local/squid/ What is going failt. I work with debian as OS. mgv kenneth __________________________________________________ _______________ Je horoscoop al gelezen? http://www.msn.be/horoscoop |