On 9/26/2012 9:49 PM, George Tepnadze wrote:
root@squid3:~# ls -ld /cache
drwxrwxrwx 5 proxy root 4096 Sep 26 15:33 /cache
George Tepnadze
EC> On 9/26/2012 1:42 PM, George Tepnadze wrote:
ls -l /cache
-rw------- 1 proxy proxy 3145728000 Sep 26 15:34 rock
EC> try ls -ld /cache
EC> to see what is the directory permissions.
EC> Eliezer
Well I am getting the same result.
I tried this settings:
cache_dir rock /var/spool/squidrock 400 max-size=30000
and I got this:
2012/09/26 22:45:43 kid1| commBind: Cannot bind socket FD 25 to [::]:
(13) Permission denied
####this one ^^ is weird that it appears now because i disabled ipv6 in
squid configure options.
2012/09/26 22:45:56 kid1| DiskIO/IpcIo/IpcIoFile.cc(138) openCompleted:
error: timeout
2012/09/26 22:45:56 kid1| Closing HTTP port 0.0.0.0:3127
2012/09/26 22:45:56 kid1| Closing HTTP port 0.0.0.0:3128
2012/09/26 22:45:56 kid1| Closing HTTP port 0.0.0.0:3129
FATAL: Rock cache_dir at /var/spool/squidrock/rock failed to open db
file: (0) No error.
Squid Cache (Version 3.2.1): Terminated abnormally.
CPU Usage: 0.175 seconds = 0.100 user + 0.075 sys
Maximum Resident Size: 97024 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 5336 KB
Ordinary blocks: 5309 KB 3 blks
Small blocks: 0 KB 1 blks
Holding blocks: 39576 KB 9 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 26 KB
Total in use: 44885 KB 841%
Total free: 26 KB 0%
Squid Cache: Version 3.2.1
configure options: '--prefix=/opt/squid321' '--enable-delay-pools'
'--enable-icap-client' '--disable-wccp' '--disable-wccpv2'
'--enable-ssl' '--enable-linux-netfilter' '--disable-ipv6'
'--disable-translation' '--disable-auto-locale'
'--with-default-user=proxy' '--with-large-files' '--with-dl
Are there any specific things that should be configured for rockstore?
it seems in the docs there is nothing special then other cache_dirs.
Eliezer
--
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer <at> ngtech.co.il