> > 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. > >
If your cache_effective_user and group is 'squid' then those directories must be owned by 'squid'. M.
