Langa Kentane wrote:
>
> While tryiung to start squid. I get the ff error message. How do I sort
> this out.
>
> WARNING: Cannot write log file: /usr/local/squid/logs/cache.log
> /usr/local/squid/logs/cache.log: Permission denied
> messages will be sent to 'stderr'.
> 1997/05/02 10:21:38| WARNING: Closing open FD 2
> 1997/05/02 10:21:38| Starting Squid Cache version 2.1.PATCH2 for
> i386--freebsd3.
> 2...
> 1997/05/02 10:21:38| Process ID 2322
> 1997/05/02 10:21:38| With 1064 file descriptors available
> 1997/05/02 10:21:38| Performing DNS Tests...
> 1997/05/02 10:21:38| Successful DNS name lookup tests...
> 1997/05/02 10:21:38| helperOpenServers: Starting 5 'dnsserver' processes
> 1997/05/02 10:21:39| /usr/local/squid/logs/access.log: (13) Permission
> denied
There are two basic possibilities, and you will have to figure out which
it is: either /usr/local/squid/logs does not exist (installation problem,
accidental deletion, whatever), or Squid is running without permission to
write to those directories (like, for example, if you installed as root
and then ran Squid as yourself).
If the latter case, you probably want
to create some new userid and groupid 'cache' and 'cache' to run Squid.
Edit /usr/local/squid/etc/squid.conf, search for the string cache_effective_user,
and uncomment and set cache_effective_user and cache_effective_group, reading
the comments there. Then run
chown -R /usr/local/squid cache
Then run Squid as root.
-- Jon Kay pushcache.com jkay@pushcache.com http://www.pushcache.com/ (512) 420-9025 'push done right' Squid consultantsReceived on Mon Sep 20 1999 - 03:01:54 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:28 MST