Dave,
this is how I start squid at startup.
/usr/local/squid/bin/squid -s
This is the error output in /var/log/messages
Feb 9 08:15:19 linux squid[2320]: Cannot open '/var/squid/logs/access.log' for writing. ^IThe parent directory must be writeable by the ^Iuser 'nobody', which is the cache_effective_user ^Iset in squid.conf.
I hope this helps
Jim
On Sat, 2002-02-16 at 16:09, Dave Raven wrote:
> Can you not email us the actuall error you get,
> aswell as how you start squid at bootup; and how you normally
> would?
>
> thanks,
> Dave Raven.
> OpteqSec.
>
> ----- Original Message -----
> From: "Jim George" <jim.george@blueyonder.co.uk>
> To: "Squid Proxy" <squid-users@squid-cache.org>
> Sent: Saturday, February 16, 2002 3:21 PM
> Subject: Re: [squid-users] Logdir changes ownership
>
>
> > Dave,
> >
> > I selected to have it run as nobody when I installed it.
> >
> > Also doing chown is what I've had to put in the startup script I now
> > use to start squid.
> >
> > Have you any other suggestions?
> >
> > Jim
> > On Sat, 2002-02-16 at 12:02, Dave Raven wrote:
> > > I suspect you have set squid to run as user nobody.nobody and it checks
> > > the rights on the log dir's before dropping privilages.
> > >
> > > try chown -R -v nobody.nobody /logdirectory
> > >
> > > Dave Raven.
> > > OpteqSec.
> > >
> > > ----- Original Message -----
> > > From: "Jim George" <jim.george@blueyonder.co.uk>
> > > To: "Squid Proxy" <squid-users@squid-cache.org>
> > > Sent: Saturday, February 16, 2002 2:04 PM
> > > Subject: [squid-users] Logdir changes ownership
> > >
> > >
> > > > I'm sure this will prove to be really stoopid but.....When I start
> squid
> > > > on boot up, obviously it starts under user root, however it then exits
> > > > because it wants the loggind directories to be owned by
> nobody.nogroup.
> > > >
> > > > What do I need to do to retain ownership as nobody.nogroup 'cause
> there
> > > > is obviously something screwy going on?
> > > >
> > > > Jim
> > > >
> > > >
> > > >
> > >
> >
> >
> >
>
Received on Sun Feb 17 2002 - 02:04:43 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:23 MST