[squid-users] Problems with Squid and squid_ldapauth

From: Harald Falk <hf@dont-contact.us>
Date: Mon, 30 Oct 2006 13:08:24 +0100

Please can someone help me with my problem with SQUID 2.5.STABLE12 and using
squid_ldapauth as authenticator.

The configuration-file for squid is really simple and I've got from one
an old system thats running under SQUID 2.5.STABLE1.

----------------------------------------------------------------------------------------
http_port 4480
hierarchy_stoplist cgi-bin ?
cache_mem 8 MB
cache_dir ufs /var/cache/squid 100 16 256
cache_access_log /var/log/squid/access.log
cache_log none
cache_store_log none
emulate_httpd_log off
ftp_user any@one.com
ftp_passive on
auth_param basic program /usr/sbin/squid_ldapauth
auth_param basic realm Proxy
auth_param basic children 3
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl password proxy_auth REQUIRED
acl all src 0.0.0.0/0.0.0.0
http_access allow password
http_access deny all
http_reply_access allow all
icp_access deny all
miss_access allow all
coredump_dir /var/cache/squid
visible_hostname intranet
----------------------------------------------------------------------------------------

The system was installed completely from SuSE Linux 10.1 (over YAST).
When I try to start squid (over 'rcsquid start') the following messages
I've got in my log:

----------------------------------------------------------------------------------------
Oct 27 10:48:45 intranet squid[24061]: Squid Parent: child process 24063 started
Oct 27 10:48:49 intranet squid[24063]: Starting Squid Cache version 2.5.STABLE12 for x86_64-unknown-linux-gnu...
Oct 27 10:48:49 intranet squid[24063]: Process ID 24063
Oct 27 10:48:49 intranet squid[24063]: With 4096 file descriptors available
Oct 27 10:48:49 intranet squid[24063]: DNS Socket created at 0.0.0.0, port 1037, FD 6
Oct 27 10:48:49 intranet squid[24063]: Adding nameserver 166.82.1.3 from /etc/resolv.conf
Oct 27 10:48:49 intranet squid[24063]: Adding nameserver 194.25.2.129 from /etc/resolv.conf
Oct 27 10:48:49 intranet squid[24063]: Adding nameserver 192.168.7.7 from /etc/resolv.conf
Oct 27 10:48:49 intranet squid[24063]: helperOpenServers: Starting 3 'squid_ldapauth' processes
Oct 27 10:48:49 intranet squid[24064]: ipcCreate: /usr/sbin/squid_ldapauth: (25) Inappropriate ioctl for device
Oct 27 10:48:49 intranet squid[24065]: ipcCreate: /usr/sbin/squid_ldapauth: (25) Inappropriate ioctl for device
Oct 27 10:48:49 intranet squid[24063]: User-Agent logging is disabled.
Oct 27 10:48:49 intranet squid[24063]: Referer logging is disabled.
Oct 27 10:48:49 intranet squid[24066]: ipcCreate: /usr/sbin/squid_ldapauth: (25) Inappropriate ioctl for device
Oct 27 10:48:49 intranet squid[24063]: Unlinkd pipe opened on FD 15
Oct 27 10:48:49 intranet squid[24063]: Swap maxSize 102400 KB, estimated 7876 objects
Oct 27 10:48:49 intranet squid[24063]: Target number of buckets: 393
Oct 27 10:48:49 intranet squid[24063]: Using 8192 Store buckets
Oct 27 10:48:49 intranet squid[24063]: Max Mem size: 8192 KB
Oct 27 10:48:49 intranet squid[24063]: Max Swap size: 102400 KB
Oct 27 10:48:49 intranet squid[24063]: Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
Oct 27 10:48:49 intranet squid[24063]: Store logging disabled
Oct 27 10:48:49 intranet squid[24063]: Rebuilding storage in /var/cache/squid (DIRTY)
Oct 27 10:48:49 intranet squid[24063]: Using Least Load store dir selection
Oct 27 10:48:49 intranet squid[24063]: Set Current Directory to /var/cache/squid
Oct 27 10:48:49 intranet squid[24063]: Loaded Icons.
Oct 27 10:48:49 intranet squid[24063]: Accepting HTTP connections at 0.0.0.0, port 4480, FD 14.
Oct 27 10:48:49 intranet squid[24063]: Accepting ICP messages at 0.0.0.0, port 3130, FD 16.
Oct 27 10:48:49 intranet squid[24063]: HTCP Disabled.
Oct 27 10:48:49 intranet squid[24063]: Accepting SNMP messages on port 3401, FD 17.
Oct 27 10:48:49 intranet squid[24063]: WCCP Disabled.
Oct 27 10:48:49 intranet squid[24063]: Ready to serve requests.
Oct 27 10:48:49 intranet squid[24063]: WARNING: basicauthenticator #1 (FD 9) exited
Oct 27 10:48:49 intranet squid[24063]: WARNING: basicauthenticator #2 (FD 10) exited
Oct 27 10:48:49 intranet squid[24063]: Too few basicauthenticator processes are running
Oct 27 10:48:49 intranet squid[24063]: The basicauthenticator helpers are crashing too rapidly, need help!
Oct 27 10:48:49 intranet squid[24061]: Squid Parent: child process 24063 exited due to signal 6
----------------------------------------------------------------------------------------

What I've done yet:

1. the file squid_authldap is owned by user squid and group root. the filemode is 100750.
2. I've tryed to start squid_authldap as user squid --> success
3. I've started squid_authldap with -v -l to see the results --> all is Ok.
4. I've tested the program with data's --> works fine.
5. Used squid_ldap_auth instead of squid_lapdauth --> same result.
5. I've looked at squid homepage (faq, wiki, doc) and in the internet (with google), if somebody else got this problem --> found nobody

What can I do else? Please help me.

-- 
Mit freundlichen Grüßen / Best regards
Döllken-Weimar GmbH
http://www.sockelleisten.de
- Profile für den Fachmann - / - Profiles for Professionals -
Harald Falk
Phone: +49-3643-417017
Fax: +49-3643-417033
Received on Mon Oct 30 2006 - 05:10:43 MST

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:05 MST