[squid-users] using (ldap_auth) ERR "because no authentication schemes arefully configured"

From: Mohammad Halawah <mhalawah@dont-contact.us>
Date: Mon, 25 Apr 2005 13:59:50 +0200

Hello all,

I get the following error message on the console when trying to start squid:

#################################################
Starting proxy server: FATAL: Invalid Proxy Auth ACL 'acl ldapusers proxy_auth
REQUIRED' because no authentication schemes arefully configured.

Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
/etc/init.d/squid: line 184: 13647 Aborted start-stop-daemon
--quiet --start --pidfile $PIDFILE --chuid $CHUID--exec $DAEMON --
$SQUID_ARGS </dev/null
squid.
#################################################

When I checked the access.log file I found the following

################################################
2005/04/25 11:34:26| Unlinkd pipe opened on FD 15
2005/04/25 11:34:26| Swap maxSize 102400 KB, estimated 7876 objects
2005/04/25 11:34:26| Target number of buckets: 393
2005/04/25 11:34:26| Using 8192 Store buckets
2005/04/25 11:34:26| Max Mem size: 8192 KB
2005/04/25 11:34:26| Max Swap size: 102400 KB
2005/04/25 11:34:26| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2005/04/25 11:34:26| Rebuilding storage in /var/spool/squid (DIRTY)
2005/04/25 11:34:26| Using Least Load store dir selection
2005/04/25 11:34:26| Current Directory is /
2005/04/25 11:34:26| Loaded Icons.
2005/04/25 11:34:26| Accepting HTTP connections at 0.0.0.0, port 3128, FD 17.
2005/04/25 11:34:26| Accepting HTTP connections at 0.0.0.0, port 8080, FD 18.
2005/04/25 11:34:26| Accepting ICP messages at 0.0.0.0, port 3130, FD 19.
2005/04/25 11:34:26| HTCP Disabled.
2005/04/25 11:34:26| WCCP Disabled.
2005/04/25 11:34:26| Ready to serve requests.
2005/04/25 11:34:26| WARNING: basicauthenticator #1 (FD 7) exited
2005/04/25 11:34:26| WARNING: basicauthenticator #2 (FD 8) exited
2005/04/25 11:34:26| WARNING: basicauthenticator #3 (FD 9) exited
2005/04/25 11:34:26| Too few basicauthenticator processes are running
FATAL: The basicauthenticator helpers are crashing too rapidly, need help!

Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
CPU Usage: 0.035 seconds = 0.026 user + 0.009 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena: 2112 KB
        Ordinary blocks: 2045 KB 3 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 204 KB 1 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 66 KB
        Total in use: 2249 KB 107%
        Total free: 66 KB 3%
#####################################################

Please notice the following lines
2005/04/25 11:34:26| WARNING: basicauthenticator #1 (FD 7) exited
2005/04/25 11:34:26| WARNING: basicauthenticator #2 (FD 8) exited
2005/04/25 11:34:26| WARNING: basicauthenticator #3 (FD 9) exited
2005/04/25 11:34:26| Too few basicauthenticator processes are running
FATAL: The basicauthenticator helpers are crashing too rapidly, need help!

When I googled for that I found 4 answers
Russian
Japanies
and tow non-relevant

My squid.conf simply is:

######################################################
visible_hostname 127.0.0.1
http_port 3128 8080
###defining ACL's####
acl manager proto HTTP FTP cache_object
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl localIPs src 192.168.132.0/255.255.255.0
acl ldapusers proxy_auth REQUIRED

### which to access and which to not ###
http_access allow manager localhost
http_access allow ldapusers

### Authintication part ####
auth_param basic program /usr/lib/squid/ldap_auth -b dc=example,dc=com -f
cn=%s rat
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
#####################################################

I have been trying for 3 days without success :-(
I am running Debian/Sarge.
Any hints is appreciated.

Mohammad
Received on Mon Apr 25 2005 - 05:58:01 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT