Was it a symbolic link?
-----Original Message-----
From: ads squid [mailto:adssquid@yahoo.com]
Sent: Wednesday, November 26, 2003 8:01 AM
To: squid-users@squid-cache.org
Subject: [squid-users] Error due to access.log
Hi,
Following is error in /var/log/messages file
Nov 26 20:11:22 xyz squid[20230]: Squid Parent: child
process 20574 started
Nov 26 20:11:28 xyz (squid): Cannot open
'/usr/local/squid/var/logs/access.log' for writing. ^IThe parent directory
must be writeable by the ^Iuser 'adssquid', which is the
cache_effective_user ^Iset in squid.conf.
By mistake I deleted /var/log/squid/access.log file.
Then recreated it in same directory and changed mode
of directory as required to by command "chmod 770 /var/log/squid/"
I do not know how come it is asking for access.log
file in directory '/usr/local/squid/var/logs/'.
There no such directory.
Follwoing are cache log messages.
"
2003/11/26 20:11:22| Adding nameserver 202.63.164.18
from /etc/resolv.conf
FATAL: Cannot open
'/usr/local/squid/var/logs/access.log' for writing.
The parent directory must be writeable by the
user 'adssquid', which is the
cache_effective_user
set in squid.conf.
Squid Cache (Version 2.5.STABLE4): Terminated
abnormally.
CPU Usage: 0.006 seconds = 0.004 user + 0.002 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 301
"
I can not resolve this problem.
Help appreciated.
Thanks
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
Received on Wed Nov 26 2003 - 08:03:50 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:37 MST