Re: Init script failure

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 12 Jan 2011 12:21:36 +1300

On 12/01/11 05:06, Alex Ray wrote:
> I'm running yesterday's build of squid, though I had the same problem
> on the 7th. On CentOS, I copied the contrib/squid.rc file to
> /etc/init.d and added
>
> # chkconfig: 2345 99 5
> # description: Squid proxy server
>
> Then I used chkconfig to register it. I can confirm in
> /var/log/messages that the script does run on boot, however it
> immediately crashes. The root cause seems to be that the ssl_crtd
> instances (I am using squid with ssl-bump, ssl-crtd, and icap) crash
> right after starting:
>
> squid[2335]: Squid Parent: child process xxxx exited with status 1
> (squid-1): The ssl_crtd helpers are crashing too rapidly, need help!
> squid[2335]: Exiting due to repeated, frequent failures
>
> The weird thing is that starting the service manually (service squid
> start) works fine.

Ah, that is usually a symptom of permissions failure in the helper. In
this case permission to use its cert storage is most likely.

You can run it in Squid with the parameter -d to see if anything else
useful shows up.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.10
   Beta testers wanted for 3.2.0.4
Received on Tue Jan 11 2011 - 23:21:54 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 12 2011 - 12:00:04 MST