[squid-users] Squid multiple instances log problem

From: John S <uhimatoti_at_hotmail.com>
Date: Thu, 1 Jan 2009 11:22:55 -0500

I'm trying to run multiple instances of squid and I've followed the available directions.

The second instance of squid throws an error when it tries to open it's access log file.

Jan 1 10:32:12 desktop squid[15527]: Squid Parent: child process 15529 started
Jan 1 10:32:12 desktop (squid): Cannot open '/var/log/squid3/accessSquid3HTTPProxy.log' for writing. ^IThe parent directory must be writeable by the ^Iuser 'proxy', which is the cache_effective_user ^Iset in squid.conf.
Jan 1 10:32:12 desktop squid[15527]: Squid Parent: child process 15529 exited with status 1
Jan 1 10:32:42 desktop squid[15540]: Exiting due to repeated, frequent failures

An "ls -l /var/log/squid3/" shows,

-rw-r----- 1 proxy proxy 0 2009-01-01 07:56 access.log
-rw-r----- 1 proxy proxy 118302 2008-12-31 20:46 access.log.1
-rw-r----- 1 proxy proxy 0 2009-01-01 10:29 accessSquid3HTTPProxy.log
-rw-r--r-- 1 proxy proxy 6773 2009-01-01 10:11 cache.log
-rw-r--r-- 1 proxy proxy 112239 2008-12-31 19:58 cache.log.1
-rw-r--r-- 1 proxy proxy 7005 2009-01-01 10:32 cacheSquid3HTTPProxy.log
-rw-r----- 1 proxy proxy 603 2009-01-01 09:58 store.log
-rw-r----- 1 proxy proxy 154882 2009-01-01 06:58 store.log.1

Why can't it write to it's log file when the first instance can write to it's log file and starts up properly?
Received on Thu Jan 01 2009 - 16:23:03 MST

This archive was generated by hypermail 2.2.0 : Mon Jan 05 2009 - 12:00:02 MST