Hello,

I'm having problems with running helper modules for Squid.
I'm getting these errors in my cache.log:

2004/07/13 13:52:30| helperOpenServers: Starting 5 'squid_ldap_auth' processes
2004/07/13 13:52:30| WARNING: Cannot run '/usr/local/squid/libexec/squid_ldap_auth' process.
2004/07/13 13:52:33| WARNING: Cannot run '/usr/local/squid/libexec/squid_ldap_auth' process.
2004/07/13 13:52:36| WARNING: Cannot run '/usr/local/squid/libexec/squid_ldap_auth' process.
2004/07/13 13:52:39| WARNING: Cannot run '/usr/local/squid/libexec/squid_ldap_auth' process.
2004/07/13 13:52:42| WARNING: Cannot run '/usr/local/squid/libexec/squid_ldap_auth' process.
2004/07/13 13:52:42| helperOpenServers: Starting 5 'squid_ldap_group' processes
2004/07/13 13:52:45| WARNING: Cannot run '/usr/local/squid/libexec/squid_ldap_group' process.
2004/07/13 13:52:48| WARNING: Cannot run '/usr/local/squid/libexec/squid_ldap_group' process.
2004/07/13 13:52:51| WARNING: Cannot run '/usr/local/squid/libexec/squid_ldap_group' process.


At first I thought it has something to do with squid_ldap, but Squid runs with exactly the same configuration on another machine, which is almost identical (Trustix 2.0, Trustix kernel 2.4.21-15trfirewall).

Then I created my own "helper":

#!/bin/bash
ls -l>/tmp/test

and started Squid again: to my surprise, I'm getting the same errors:

2004/07/13 14:07:55| helperOpenServers: Starting 5 'test' processes
2004/07/13 14:07:55| WARNING: Cannot run '/usr/local/squid/sbin/test' process.
2004/07/13 14:07:58| WARNING: Cannot run '/usr/local/squid/sbin/test' process.
2004/07/13 14:08:01| WARNING: Cannot run '/usr/local/squid/sbin/test' process.
2004/07/13 14:08:04| WARNING: Cannot run '/usr/local/squid/sbin/test' process.
2004/07/13 14:08:07| WARNING: Cannot run '/usr/local/squid/sbin/test' process.


I'm getting exactly the same log when I point Squid to a helper that doesn't exist (e.g. /some/nonexisting/location).


I run Squid as a user squid; this user has access to /usr/local/squid, can execute from there etc.


# ls -l /usr/local/squid/libexec/squid_ldap_group
-rwxr-xr-x 1 squid squid 40134 Jul 13 13:42 /usr/local/squid/libexec/squid_ldap_group*



I would like to repeat, I tested these on two machines, which are identical, except that the machine that fails to start helper modules has some firewall.


Any cluse?

Reagards,

Tomasz Chmielewski

Reply via email to