Squid wont start after update?
Rick Stevens
rstevens at internap.com
Wed Dec 19 17:54:03 UTC 2007
On Tue, 2007-12-18 at 20:37 -0500, Bob Goodwin wrote:
> Cameron Simpson wrote:
> > On 18Dec2007 16:25, Bob Goodwin <bobgoodwin at wildblue.net> wrote:
> >
> >> I just ran todays F7 updates and squid immediately quit running and
> >> wont start.
> >>
> >> service squid restart
> >> Stopping squid:
> >> [FAILED]
> >> Starting squid: ....................
> >> [FAILED]
> >>
> >> What do I need to look for?
> >>
> >
> > Look at /var/log/squid/cache.log.
> >
> The first line after the PUP update:
>
> 2007/12/18 15:14:20| storeDirClean: /var/spool/squid/0D/31: (13)
> Permission denied
>
> Whatever that file is that it wants is not there?
>
> It had been working normally until this time.
>
> ll /var/spool/squid/0D/31
> total 0
Well, hmmm. Squid needs to own the entire cache tree, so you should, as
root:
chown -R squid:squid /var/spool/squid
to make sure of that. If that still doesn't work, you could delete the
entire cache and recreate it via:
rm -rf /var/spool/squid/* (delete the cache)
squid -z (recreate the directories)
----------------------------------------------------------------------
- Rick Stevens, Principal Engineer rstevens at internap.com -
- CDN Systems, Internap, Inc. http://www.internap.com -
- -
- If this is the first day of the rest of my life... -
- I'm in BIG trouble! -
----------------------------------------------------------------------
More information about the users
mailing list