Squid wont start after update?
Bob Goodwin
bobgoodwin at wildblue.net
Wed Dec 19 19:18:19 UTC 2007
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 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)
>
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]....
More information about the users
mailing list