Re: [squid-users] New cache

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Wed, 9 Aug 2006 14:10:06 +0200

On 09.08.06 10:18, George Dominguez wrote:
> I added a new disk to squid (all configured and mounted).
> Created a directory in /usr/local/cache
> chown squid:squid
> chmod 755 cache
> Added a new "cache_dir" in squid.conf
> "Cache_dir ufs /usr/local/cache 20000 16 256"
> Then squid -k shutdown
> Squid -z
>
> The new cache directory was sucessfully created. But when I try to start
> squid it Fails.
>
> I'm running Squid v 2.5.STABLE6 for i386-redhat-linux-gnu

I strongly recommend you to upgrade, alghouth this is probably not the
problem.

> 2006/08/09 04:52:26| /usr/local/cache/swap.state: (13) Permission denied
> FATAL: storeUfsDirOpenSwapLog: Failed to open swap log.
> Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
> CPU Usage: 0.012 seconds = 0.005 user + 0.007 sys Maximum Resident Size:
> 0 KB Page faults with physical i/o: 0
>
> The swap.state is not in the new directory, I never had this issue
> before, any ideas?

does squid run under "squid" user? doesn't redhat use user like 'proxy' for
running squid under? what user/group/perm do your logfiles have? and other
cache dirs? (isn't the partition monter read-only?)

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -- Benjamin Franklin, 1759
Received on Wed Aug 09 2006 - 06:10:10 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT