Search squid archive

Re: New cache

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

 



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@xxxxxxxxxxx ; 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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux