Search squid archive

auth_program perl script using mysql dont work?

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

 



Dear Squid users, 

I am trying to write an proxy authentication perl
script authenticate2.pl that simple uses a mysql table
to verify user and password, this is the part of the
squid.conf

auth_param basic program
/usr/lib/squid/authenticate2.pl
auth_param basic realm Proxy Server
auth_param basic credentialsttl 4 hour
acl users proxy_auth REQUIRED
acl all src 0.0.0.0/0.0.0.0


There is an error that I notice from cache.log, 
it seems that the file authenticate2.pl does not 
exist, but it does and is in the directory indicated
and it has 777 permissions,
/usr/lib/squid/authenticate2.pl

Would you please tell me what is wrong? or is it a
bug?  

I would really appreciate any help, 


Here is part of the cache.log where I see the error, 


Squid Cache (Version 2.5.STABLE1): Exiting normally.
2005/07/14 06:32:43| Starting Squid Cache version
2.5.STABLE1 for i386-redhat-linux-gnu...
2005/07/14 06:32:43| Process ID 4697
2005/07/14 06:32:43| With 1024 file descriptors
available
2005/07/14 06:32:43| DNS Socket created at 0.0.0.0,
port 32818, FD 5
2005/07/14 06:32:43| Adding nameserver 168.234.224.4
from /etc/resolv.conf
2005/07/14 06:32:43| helperOpenServers: Starting 5
'authenticate2.pl' processes
2005/07/14 06:32:43| ipcCreate:
/usr/lib/squid/authenticate2.pl: (2) No such file or
directory
2005/07/14 06:32:43| ipcCreate:
/usr/lib/squid/authenticate2.pl: (2) No such file or
directory
2005/07/14 06:32:43| ipcCreate:
/usr/lib/squid/authenticate2.pl: (2) No such file or
directory
2005/07/14 06:32:43| ipcCreate:
/usr/lib/squid/authenticate2.pl: (2) No such file or
directory
2005/07/14 06:32:43| ipcCreate:
/usr/lib/squid/authenticate2.pl: (2) No such file or
directory

Best regards, 

Richard

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

  Powered by Linux