Search squid archive

Re: COSS problem on Squid 2.6.Stable19

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

 



da duy wrote:
Dear Squid-Users, I'm currently having problem installing squid on Ubuntu 7.10, i;ve compiled them with this option: sudo ./configure --enable-storeio=coss,ufs,aufs,diskd -with-large-files --enable-delay-pools --enable-snmp --enable-removal-policies=heap,lru --enable-auth=ntlm,basic --enable-external-acl-helpers=ip_user,ldap_group i create the cache file first with these command: sudo dd if=/dev/sda bs=1048576 count=5000 of=/usr/local/squid/var/cache

So this file is owned by root. Likely it's not group or world writable (it shouldn't be), so Squid can't modify it.

and i add these line to squid.conf: cache_dir coss /usr/local/squid/var/cache 5000 block-size=512 max-size=524288 cache_swap_log /usr/local/squid/%s when i run sudo squid -k parse everything is fine, but when i run sudo squid -z i get this: 2008/04/04 21:46:04| Creating Swap Directories FATAL: Failed to create COSS stripe /usr/local/squid/var/cache

Yup.  Give the cache_effective_user ownership of this file and try again.

Squid Cache (Version 2.6.STABLE19): Terminated abnormally. CPU Usage: 0.010 seconds = 0.000 user + 0.010 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 i've tried googling but could not get an explanation of the case, any help would really be appreciated, thank and regards, Yudi

Chris

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

  Powered by Linux