Search squid archive

Re: New cache

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

 



Matus UHLAR - fantomas wrote:
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.
FWIW, I second that suggestion...
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?
This is, of course defined by the squid.conf. RedHat's default squid.conf uses squid.
what user/group/perm do your logfiles have? and other
cache dirs? (isn't the partition monter read-only?
To the original poster: One nice thing about RedHat's init script is that it will create the cache directories defined in squid.conf automatically. Run...

rm -rf /usr/local/cache/* && service squid start

...and see if that fixes it. But be careful. Make sure you don't rm -rf some other directory...

Chris

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

  Powered by Linux