Re: cannot create cache directory

From: Michael J. Maravillo <[email protected]>
Date: Fri, 14 Nov 1997 01:21:06 +0800 (GMT+0800)

On Thu, 13 Nov 1997, P. Paprok wrote:
[...]
>FATAL: Failed to make swap directory /usr/local/squid/cache:
>(13) Permission denied
>Squid Cache (Version 1.1.18): Terminated abnormally.
>CPU Usage: user 0 sys 0
>Maximum Resident Size: 6640 KB
>Page faults with physical i/o: 0
[...]
>Some next info:
>cache_effective_user are set to existing "nobody nobody" and
>permissions in squid directory set make install itself:
># ls -ld /usr/local/squid
>drwxr-xr-x 5 root system 512 Nov 13 11:37 /usr/local/squid
># ls -l /usr/local/squid
>total 24
>drwxr-xr-x 2 root system 512 Nov 13 11:37 bin
>drwxr-xr-x 2 root system 512 Nov 13 11:37 etc
>drwxr-xr-x 2 root system 512 Nov 13 11:37 logs

Try "chown nobody.nobody /usr/local/squid", then run squid to create
the cache directory. After that, revert it back to "root.system".

Also, make sure /usr/local/squid/logs is owned by "nobody.nobody" or
else squid can't write its logs.

Regards,
Mike
[ Michael J. Maravillo Philippines Online ]
[ System Administrator PGP KeyID: 470AED9D InfoDyne, Incorporated ]
[ http://www.philonline.com/~mmj/ (632) 890-0204 ]
Received on Thu Nov 13 1997 - 09:21:08 MST

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