Re: Squid wont start after update?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2007-12-19 at 14:18 -0500, Bob Goodwin wrote:
> Rick Stevens wrote:
> > On Tue, 2007-12-18 at 20:37 -0500, Bob Goodwin wrote:
> >   
> >> Cameron Simpson wrote:
> >>     
> >>> On 18Dec2007 16:25, Bob Goodwin <bobgoodwin@xxxxxxxxxxxx> 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)
> >   
> 
> 
> I tried all three commands suggested above:
> 
>     squid -z
> 
>     2007/12/19 14:01:19| Creating Swap Directories
>     FATAL: Failed to make swap directory /var/spool/squid/00: (13)
>     Permission denied   "where?"
>     Squid Cache (Version 2.6.STABLE16): Terminated abnormally.
>     CPU Usage: 0.001 seconds = 0.000 user + 0.001 sys
>     Maximum Resident Size: 0 KB
>     Page faults with physical i/o: 0
> 
> 
> 
>     ll /var/spool/squid/00
> 
>     ls: cannot access /var/spool/squid/00: No such file or directory  
> 
> 
> 
>     service squid start
> 
>     init_cache_dir /var/spool/squid... Starting squid: ........[FAILED]....

Let me also add that it /var/spool/squid should be owner:squid,
group:squid and have rwxr-xr-x permissions.

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens@xxxxxxxxxxxx -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
-   Whoever said "Money can't buy friends" obviously never brought   -
-                        donuts to the office.                       -
----------------------------------------------------------------------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux