Make sure the /usr/local/squid/cache and /usr/local/squid/logs directories
exist and then give the user that squid runs as ownership of the directories
by default it is owner=nobody, group=nogroup in 2.4.STABLE7
ex.
chown -R nobody.nogroup /usr/local/squid/cache
chown -R nobody.nogroup /usr/local/squid/logs
If you run squid logged in as root than it will run as the user specified in
squid.conf. if you run squid as non-root then it will run as that user and
that user will need to be able to right to those directories.
P.S. I don't think this was in the install instructions when I setup squid so
whomever maintains that may want to add it to the instructions.
Billy
--- Ola Abraham <abraham_ola@yahoo.com> wrote:
> I'm configuring a squid server and got stuck at a
> point of running the /usr/local/squid/bin/squid -z
> command.
> It responds with the following comments:
> 2002/08/27 03:40:07 Creating Swap Directories
> FATAL: Failed to make swap directory
> /usr/local/squid/cache1:00 (13) Permission denied.
> Squid cache (Version 2.4.STABLE7) terminated
> abnormally
>
> Thanks
> Ola Abraham
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
Received on Mon Aug 26 2002 - 21:45:18 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:50 MST