On 23/11/2011 9:12 p.m., FredB wrote:
Maybe a problem with /var/cache/RockStore-0 directory ? Permission ?


----- Mail original -----
De: "David Touzeau"<da...@touzeau.eu>
À: squid-users@squid-cache.org
Envoyé: Mardi 22 Novembre 2011 17:35:37
Objet: [squid-users] [3.2.0.13]: DiskIO/IpcIo/IpcIoFile.cc for RockStore / No 
such file or directory

Dear

I have enabled RockStore on my squid 3.2.0.13-20111027-r11388

has this

workers 2
cache_dir rock /var/cache/RockStore-0 256 max-size=32768
cache_dir rock /var/cache/RockStore-1 256 max-size=32768
cache_dir       ufs /var/cache/squid 2000 16 256

squid claim

2011/11/22 17:25:31 kid2| DiskIO/IpcIo/IpcIoFile.cc(132) openCompleted:
error: timeout
FATAL: Rock cache_dir at /var/cache/RockStore-0/rock failed to open db
file: (2) No such file or directory

but the rock file exists:

  stat /var/cache/RockStore-0/rock
   File: «/var/cache/RockStore-0/rock»
   Size: 268435456      Blocks: 32         IO Block: 4096   fichier
Device: 801h/2049d      Inode: 262542      Links: 1
Access: (0755/-rwxr-xr-x)  Uid: ( 1001/   squid)   Gid: ( 1001/   squid)
Access: 2011-11-22 17:16:32.401809206 +0100
Modify: 2011-11-22 17:23:17.601809860 +0100
Change: 2011-11-22 17:25:17.601309064 +0100


Hmm, yes. I'm a little suspicious about the 755 permission and "cannot open" message. We have an unresolved bug about Squid reporting its UID wrongly (as "squid" when its still running as whatever UID started the app) which could be biting you here.

Amos

Reply via email to