Search squid archive

upgrade to squid 3.0 breaking existing authentication module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,
I use squid on my personal computer to provide HTTP proxy service to myfriends at college. I'm not a sysadmin --- just using squid occasionallywhen necessary. I use a basic authenticator module written in Perl byThomas Börnert "squidauth.pl" <http://www.tbits.org/html/squidauth.html>.
The problem was like this. I recently upgraded my squid version from 2.6to 3.0 after an OS upgrade. Back in the 2.6 days the module worked fine.After I ported the authentication part of my squid.conf to the 3.0version, it stopped working. After the squid service was started, theauthenticator processes got terminated unexpectedly. I looked at my logsand found the suspicious lines (from /var/log/squid/cache.log):
[ omitted: squid initializing ]2008/05/18 03:21:49| helperOpenServers: Starting 5 'squidauth.pl' processes2008/05/18 03:21:49| ipcCreate: /usr/lib/squid/squidauth.pl: (13)Permission denied2008/05/18 03:21:49| ipcCreate: /usr/lib/squid/squidauth.pl: (13)Permission denied2008/05/18 03:21:49| ipcCreate: /usr/lib/squid/squidauth.pl: (13)Permission denied2008/05/18 03:21:49| ipcCreate: /usr/lib/squid/squidauth.pl: (13)Permission denied2008/05/18 03:21:49| ipcCreate: /usr/lib/squid/squidauth.pl: (13)Permission denied[ ... stuff omitted ...]2008/05/18 03:21:49| Accepting  HTTP connections at 0.0.0.0, port 3128,FD 19.2008/05/18 03:21:49| Accepting ICP messages at 0.0.0.0, port 3130, FD 20.2008/05/18 03:21:49| HTCP Disabled.2008/05/18 03:21:49| Ready to serve requests.2008/05/18 03:21:49| WARNING: basicauthenticator #1 (FD 8) exited2008/05/18 03:21:49| WARNING: basicauthenticator #2 (FD 9) exited2008/05/18 03:21:49| WARNING: basicauthenticator #3 (FD 10) exited2008/05/18 03:21:49| WARNING: basicauthenticator #4 (FD 11) exited2008/05/18 03:21:49| Too few basicauthenticator processes are runningFATAL: The basicauthenticator helpers are crashing too rapidly, need help!
Squid Cache (Version 3.0.STABLE2): Terminated abnormally.CPU Usage: 0.059 seconds = 0.041 user + 0.018 sysMaximum Resident Size: 0 KBPage faults with physical i/o: 0Memory usage for squid via mallinfo():    total space in arena:    3380 KB    Ordinary blocks:         3329 KB      3 blks    Small blocks:               0 KB      0 blks    Holding blocks:          1972 KB      9 blks    Free Small blocks:          0 KB    Free Ordinary blocks:      51 KB    Total in use:            5301 KB 157%    Total free:                51 KB 2%[end of log]
This strange behavior was not encountered with the 2.6 version. I haveno idea about the ipcCreate failures. I have offline-tested theauthenticator which turned out to be working properly.
I'd be glad to hear your suggestions.
Thanks in advance.
Cong.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux