Re: Squid wont start after update?

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

 



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@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]....

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?



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux