[squid-users] squid rock storage error

Mohammad Shakir shakirgil at yahoo.com
Thu Oct 22 10:07:08 UTC 2015


We are using CentOS release 6.6 (Final) 64bit.


Squid Cache: Version 3.5.10
Service Name: squid
configure options:  '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/sbin' '--sbindir=/usr/sbin' '--sysconfdir=/etc/squid' '--datadir=/usr/share/squid' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/lib64/squid' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--x-includes=/usr/include' '--x-libraries=/usr/lib64' '--enable-storeio=aufs' '--enable-removal-policies=heap,lru' '--disable-icmp' '--disable-delay-pools' '--enable-useragent-log' '--enable-referer-log' '--disable-kill-parent-hack' '--enable-snmp' '--enable-cachemgr-hostname=localhost' '--enable-arp-acl' '--disable-htcp' '--disable-forw-via-db' '--enable-follow-x-forwarded-for' '--disable-cache-digests' '--disable-poll' '--enable-epoll' '--enable-linux-netfilter' '--disable-ident-lookups' '--enable-default-hostsfile=/etc/hosts' '--enable-http-violations' '--enable-gnuregex' '--enable-async-io=64' '--with-aufs-threads=64' '--with-pthreads' '--with-aio' '--enable-err-languages=English' '--disable-wccp' '--disable-wccpv2' '--disable-devpoll' '--with-large-files' '--enable-large-cache-files' '--with-maxfd=65536' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' --enable-ltdl-convenience



squid.conf
----------
cache_dir rock /cache01 500000 min-size=204801 max-size=404800000
workers  2


cache.log
---------
2015/10/22 14:43:37 kid2| Current Directory is /root
2015/10/22 14:43:37 kid2| Creating missing swap directories
2015/10/22 14:43:37 kid2| No cache_dir stores are configured.
2015/10/22 14:43:37 kid3| Current Directory is /root
2015/10/22 14:43:37 kid3| Creating missing swap directories
2015/10/22 14:43:37 kid3| No cache_dir stores are configured.
2015/10/22 14:43:37 kid1| Current Directory is /root
2015/10/22 14:43:37 kid1| Creating missing swap directories
2015/10/22 14:43:37 kid1| No cache_dir stores are configured.
2015/10/22 14:44:11 kid3| Current Directory is /root
2015/10/22 14:44:11 kid3| Creating missing swap directories
2015/10/22 14:44:11 kid3| No cache_dir stores are configured.


[root at cache ~]# ls -al / | grep cache
drwxr-xr-x    5 squid squid  4096 Oct 22 13:02 cache01
drwxr-xr-x    5 squid squid  4096 Oct 22 13:02 cache02


Error is showing that no cache_dir are configured whereas we cache configure it.

please help us to resolve this issue.


More information about the squid-users mailing list