On 07/17/2013 07:35 AM, Travel Factory S.r.l. wrote: > I tried to setup rock file: > cache_dir rock /u02/rock 30000 max-size=20000 > > but when squid starts it has permission problems... > > FATAL: Rock cache_dir at /u02/rock/rock failed to open db file: (2) No > such file or directory > Squid Cache (Version 3.3.8): Terminated abnormally. > > Of course the file is present and created by squid -z > ll /u02/rock/rock > -rw------- 1 nobody nobody 31457280000 Jul 17 15:17 /u02/rock/rock Most likely your Squid SMP processes (coordinator, workers, and diskers) cannot talk to each other, creating various problems. The specific error seems to be wrong, but I am not sure Squid computes error codes reliably when SMP connectivity is disrupted. You may want to fix the problem discussed below first. If the above problem persists after the problem below is fixed, the following questions may guide you: Any other warnings or errors in cache.log before the above FATAL message? How many workers are you using with the above? Just one (the default)? Does it work if you start Squid in no-daemon mode (squid -N ...)? > Tried to enable SMP with workers 8 but when squid starts I get errors: > 2013/07/17 15:31:36 kid5| commBind: Cannot bind socket FD 10 to [::]: > (13) Permission denied http://wiki.squid-cache.org/Features/SmpScale#Cannot_bind_socket_FD_NN_to_.5B::.5D:_.2813.29_Permission_denied HTH, Alex.