I had the same problem... I cured it by recompiling freeradius. the
Make.inc file I added -lpthread to LIBS  and recompiled ... it worked



George L. Carden III
Office 706-823-2115
Fax 706-823-2019
Home 706-798-2245

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Yu Zhang
Sent: Monday, September 02, 2002 10:40 PM
To: [EMAIL PROTECTED]
Subject: Re: freeradius+mysql questions please

Thanks for your answers anyway.I dont know whether you
have succeeded with ur methods,but I failed.Now I will
explain my modifications and results.
Above all,i declare,that in /etc/my.cnf,I have set
socket=/tmp/mysql.sock in both client and mysqld
modules.

First,I deleted the sql in authenticate.Then I
uncomment sth like this,u can c:
 pap {
         encryption_scheme = crypt
 }
authenticate{
        authtype PAP {
               pap
          }
}
the others are the same.
This time,I can run radiusd -X,
but it still comes:"Can't connect to local MYSQL
server through socket
'/var/lib/mysql/mysql.sock' "in instantiation.and
another error,"Can't connect to SNMP agent with SMUX:
connection refused".

I want to ask,you did succeed by your way?And did you
meet such problems?I really want you to help me
because my boss ordered me to finish this in this
week:(
regards.




__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to