Squid wont start after update?
Bob Goodwin
bobgoodwin at wildblue.net
Wed Dec 19 19:39:28 UTC 2007
Rick Stevens wrote:
> 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 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]....
>>
>
> Is /var/spool/squid owned by squid? It must be.
>
This is what I see:
ls -al /var/spool/squid
total 12
drwxr-x--- 2 squid squid 4096 2007-12-19 14:01 .
drwxr-xr-x 14 root root 4096 2007-11-17 08:36
Is that ok?
More information about the fedora-list
mailing list