[squid-users] permission denied on error files

From: Cressatti, Dominique <[email protected]>
Date: Wed, 23 Oct 2002 18:21:42 +0100

Hi folks,

I just can't squid, it complains about not being able to find or read the error files.
exact log below.
=====================================================================
2002/10/23 17:49:53| Starting Squid Cache version 2.4.STABLE4 for i586-mandrake-linux-gnu...
2002/10/23 17:49:53| Process ID 2620
2002/10/23 17:49:53| With 1024 file descriptors available
2002/10/23 17:49:53| Performing DNS Tests...
2002/10/23 17:49:53| Successful DNS name lookup tests...
2002/10/23 17:49:53| DNS Socket created on FD 4
2002/10/23 17:49:53| Adding nameserver 194.112.32.1 from /etc/resolv.conf
2002/10/23 17:49:53| User-Agent logging is disabled.
2002/10/23 17:49:53| errorTryLoadText: '/etc/squid/errors/ERR_READ_TIMEOUT': (13) Permission denied
FATAL: failed to find or read error text file.
Squid Cache (Version 2.4.STABLE4): Terminated abnormally.
CPU Usage: 0.040 seconds = 0.020 user + 0.020 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 355
=====================================================================
Frankly I know this is a load BF because I've installed the same version on same version (even
same security setup) of Mandrake.
Here is few things I tried.
I copied the error files into a world RWX directory, changed the mod so that even lam user can
RW the files and tested it successfully.
I tried as well to run squid in effective_user/group root.
Tried also to run squid as root.

Despite all of this I still get that same error.
Given that I think this a tough cookie crack, I don't expect a solution straight away but
at least if anyone could give some clues on how to debug it further, that would be a start.
I tried to "strace /usr/sbin/squid" but this only give me the starting part, missing the part
where it falls over and "strace -p <PID of squid>" seemed to short after.

Dom
Received on Wed Oct 23 2002 - 11:21:19 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:53 MST