I just upgraded my squid from version 2.5 Stable 1 to Stable 5.
Now while i am starting squid it is giving the following error.
What i am surprised is that though my squid.conf has some other directory
mentioned as its log directory then why is it pointing to the highlighted.
Where is it picking up /var/logs
My squid conf file is present in /etc/squid as it was before the upgrade.
It is referring to the same conf file as some of the lines below are
present in that conf file.
Please help as i am jacked owing to this.
thanks ..
Ashish
[root@noida2-proxy var]# squid -NCd1
WARNING: Cannot write log file: /var/logs/cache.log
/var/logs/cache.log: Permission denied
messages will be sent to 'stderr'.
2004/05/31 15:25:51| WARNING: Closing open FD 2
2004/05/31 15:25:51| Starting Squid Cache version 2.5.STABLE5 for
i386-redhat-linux-gnu...
2004/05/31 15:25:51| Process ID 14709
2004/05/31 15:25:51| With 1024 file descriptors available
2004/05/31 15:25:51| Performing DNS Tests...
2004/05/31 15:25:51| Successful DNS name lookup tests...
2004/05/31 15:25:51| DNS Socket created at 0.0.0.0, port 32958, FD 3
2004/05/31 15:25:51| Adding nameserver 157.227.246.20 from squid.conf
2004/05/31 15:25:51| Adding nameserver 202.54.15.1 from squid.conf
2004/05/31 15:25:51| Adding nameserver 202.54.30.1 from squid.conf
2004/05/31 15:25:51| helperOpenServers: Starting 5 'all.pl' processes
2004/05/31 15:25:56| helperOpenServers: Starting 5 'squid_ldap_group'
processes
2004/05/31 15:25:56| helperOpenServers: Starting 5 'squid_ldap_group'
processes
FATAL: Cannot open '/var/logs/access.log' for writing.
The parent directory must be writeable by the
user 'nobody', which is the cache_effective_user
set in squid.conf.
Squid Cache (Version 2.5.STABLE5): Terminated abnormally.
CPU Usage: 0.040 seconds = 0.020 user + 0.020 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 456
Aborted
This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:02 MDT