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
[EMAIL PROTECTED] 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
DISCLAIMER: The information contained in this message is intended only and solely for
the addressed individual or entity indicated in this message and for the exclusive use
of the said addressed individual or entity indicated in this message (or responsible
for delivery
of the message to such person) and may contain legally privileged and confidential
information belonging to Tata Consultancy Services. It must not be printed, read,
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person
other than the
addressee. Unauthorized use, disclosure or copying is strictly prohibited and may
constitute unlawful act and can possibly attract legal action, civil and/or criminal.
The contents of this message need not necessarily reflect or endorse the views of Tata
Consultancy Services
on any subject matter. Any action taken or omitted to be taken based on this message
is entirely at your risk and neither the originator of this message nor Tata
Consultancy Services takes any responsibility or liability towards the same. Opinions,
conclusions and any other
information contained in this message that do not relate to the official business of
Tata Consultancy Services shall be understood as neither given nor endorsed by Tata
Consultancy Services or any affiliate of Tata Consultancy Services. If you have
received this message in error,
you should destroy this message and may please notify the sender by e-mail. Thank you.