Re: ACCESS.LOG:13

From: Reuben Farrelly <reuben-squid@dont-contact.us>
Date: Mon, 21 Jun 1999 00:34:50 +1000

Hi,

At Sunday 20/06/99 03:44 PM +0200, Frank Altpeter wrote:
>Hello ahmed bezeid ould el hadramy !
>
>You wrote on 20.06.1999 12:42:33 +0100:
> > it returns that chown: squid:squid: invalid user.
>Well...
>check your installation.
>Do a 'ls -la /usr/local/squid/bin/squid'
>check the permissions of the binary.
>Do a 'ls -la /usr/local/squid'
>Check the permissions of every directory in there. Check which
>permissions /usr/local/squid/logs/ has.
>Try to 'touch /usr/local/squid/logs/access.log'
>
>If impossible, become root and set the permissions of /usr/local/squid
>to the same as /usr/local/squid/bin/squid.

You will also need to look in your squid.conf file for the entries for
cache_effective_user and cache_effective_group and ensure that these
settings, your cache, and the binary are all the same. I think but I'm not
certain, that the default squid runs under the "nobody" user and groups.

I personally set up a user (useradd) and group (groupadd) called "squid"
and run the whole thing including cache directories with these but that's
_not_ a requirement for squid to work...

Reuben

-------------------------------------------------------------
Reuben Farrelly Sunbury, VIC 3429, Australia
Received on Sun Jun 20 1999 - 08:23:33 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:56 MST