Re[3]: [squid-users] Unable to open configuration file

From: Colin Campbell <[email protected]>
Date: Wed, 9 Jan 2002 08:55:53 +1000 (EST)

Hi,

On Tue, 8 Jan 2002, Alexander Galitski wrote:

> Hello Colin,
>
> Monday, January 07, 2002, 1:25:46 AM, you wrote:
>
> CC> Hi,
>
> CC> Have you checked the entire path to squid.conf; ie
>
> CC> ls -ld /usr
> CC> ls -ld /usr/local
> CC> ls -ld /usr/local/squid
> CC> ls -ld /usr/local/squid/etc
> root@ns:~# ls -ld /usr/
> drwxr-xr-x 17 root root 4096 Aug 25 2000 /usr//
> root@ns:~# ls -ld /usr/local/
> drwxr-xr-x 13 root root 4096 Dec 26 14:03 /usr/local//
> root@ns:~# ls -ld /usr/local/squid/
> drwxr-xr-x 8 root root 4096 Nov 29 13:09 /usr/local/squid//
> root@ns:~# ls -ld /usr/local/squid/etc/
> drwxr-sr-x 5 root squidadm 4096 Jan 4 14:08 /usr/local/squid/etc//
>
> squid is running as squid:squid and squid is member of squid and squidadm
>
> is this alrite?

Given that squid can descend all the directories, yes. However. going back
over previous emails, there's something that doesn't make sense. You say
that when given a "-k reconfigure" your squid gets the open error and
dies. Squid then restarts and works fine. Squid uses the same code to
access the config file whether reconfiguring or starting up. It can't fail
in one instance and then work immediately after, or at least it shouldn't.

What happens if squid.conf is owner, group = squid, squid?

Colin
Received on Tue Jan 08 2002 - 15:56:44 MST

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