Re: cache_effective_user

From: Richard van Drimmelen <rdri@dont-contact.us>
Date: Wed, 06 Jan 1999 14:01:23 +0100

Thanks for the quick response.

OK that must have the problem.

effective_user and effective_group are set to proxy.
The complete squid directory structure is owned by user proxy and the
group is also set to proxy.

Starting squid now:

1999/01/06 13:10:05| /usr/local/squid/cache/swap.state: (13) Permission
denied
FATAL: storeDirOpenSwapLogs: Failed to open swap log.
Squid Cache (Version 2.1.PATCH2): Terminated abnormally.

Remove /usr/local/squid/cache/swap.state

/etc/rc3.d/S40squid start : Whoopie it works.

What I understand from the FAQ is that swap.state is kind of index of
all locally cached documents.
Right ?

Oskar Pearson wrote:
>
> Hi
>
> > At boot time I want to start /etc/rc3.d/S40squid (on a Solaris 7
> > machine). I gives me a message:
> >
> > Don't run Squid as root, set 'cache_effective_user'!
> >
> > But that's what I've defined in squid.conf:
> >
> > $grep cache_effective_user squid.conf
> > # TAG: cache_effective_user
> > #cache_effective_user nobody
> > cache_effective_user squid
>
> The message could occur too when cache_effective_group is set incorrectly -
> make sure that that is set too, otherwise you could get this message.
>
> I suppose the message should be changed.
>
> Oskar
> ---
> "Haven't slept at all. I don't see why people insist on sleeping. You feel
> so much better if you don't. And how can anyone want to lose a minute -
> a single minute of being alive?" -- Think Twice

--
Richard van Drimmelen                       | email: rdri@nki.nl
System Management Research                  | phone: +31 20 5121899
The Netherlands Cancer Institute, Amsterdam | fax:   +31 20 5121893
Received on Wed Jan 06 1999 - 06:04:37 MST

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