Re: [squid-users] RockStore "Fatal Error"

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 12 Jul 2014 13:57:44 +1200

On 12/07/2014 1:23 p.m., Nyamul Hassan wrote:
> Hi,
>
> We just installed a new Squid 3.4.6 on another machine, and to the
> best of our knowledge, we followed every step that we did in our other
> machine.
>
> When we run Squid with the "-N" option, everything works perfectly.
> The Store Directory Stats are here:
>
> http://pastebin.com/Bcu97ah4
>
> However, whenever we start without the "-N", we get the same error:
> FATAL: Rock cache_dir at /cachestore/cache1/rock/rock failed to open
> db file: (11) Resource temporarily unavailable
>
> We are also seeing these lines:
> commBind: Cannot bind socket FD 17 to [::]: (13) Permission denied
>
> Full cache.log is here:
> http://pastebin.com/SCwSCa8B
>
> SHM is added:
> shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
>
> IPv6 is also disabled in sysctl.conf:
> net.ipv6.conf.all.disable_ipv6 = 1
> net.ipv6.conf.default.disable_ipv6 = 1

IPv6 in unrelated. The "[::]" mention is an artifact of UDS sockets
using bind() with our debug message about bind() failures.

>
> What else could be causing this?

The usual ones are:
 Socket access permissions to SHM.
 File access permissions to /dev/shm.
 File permissions to /cachestore/cache1/rock/rock.
 Selinux restrictions simulating any of the above.
 AppArmour restrictions simulating any of the above (though less common).

Amos
Received on Sat Jul 12 2014 - 01:58:04 MDT

This archive was generated by hypermail 2.2.0 : Sat Jul 12 2014 - 12:00:05 MDT