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