Re: 7.1 with mysql support

2002-10-23 Thread CheongMeng
try to add the path to your mysql/include into /etc/ld.so.conf then exec ldconfig On Tue, 22 Oct 2002, Daniel Monjar wrote: > I can't seem to mumble the right thing to get freeradius 7.1 to build with > mysql support. I trying this on RH 7.3 with gcc 3.2 before I implment it > on my production s

Re: users file "Huntgroup-Name !=" not working

2002-10-17 Thread CheongMeng
ot;Client-IP-Address"... available in request. As long as one of the attr match, the huntgroup_cmp func shall declare as match. Since paircmp will only declare success if all check item match, therefore, we can't reuse paircmp in huntgroup_cmp directly. correct me if I am wrong. On Thu, 17 Oct

Re: users file "Huntgroup-Name !=" not working

2002-10-16 Thread CheongMeng
16 Oct 2002 10:06:31 -0500 > From: Chris Parker <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: users file "Huntgroup-Name !=" not working > > At 11:56 AM 10/16/2002 +0800, CheongMeng wrote: > >Hi, > > > &g

users file "Huntgroup-Name !=" not working

2002-10-15 Thread CheongMeng
Hi, can't get "Huntgroup-Name !=" working in the users file. tried to run in debug mode, I see it match the huntgroup line, but when come to "users", the "Huntgroup-Name" didn't take effect at all. I am using freeradius cvs dated 31 Aug. found that this bug did not exist at freeradius-0.5 a che

Re: Error: rlm_sql: All sockets are being used! Stupid?

2002-08-11 Thread CheongMeng
I think the error msg mean, there are too many acct request that can be served by your server at that instance of time. if the sql socket is gone or disconnect, you shall see other error msg. eg: "Ignoring unconnected handle" or if it happen to rotate to the end of socket list and fail to get a

Re: segmentation fault when calling inst->module->sql_error

2002-08-01 Thread CheongMeng
l sock null"); + return NULL; + } + return mysql_error(mysql_sock->sock); } On Thu, 25 Jul 2002, CheongMeng wrote: > Date: Thu, 25 Jul 2002 18:00:21 +0800 (SGT) > From: CheongMeng <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] >

Re: Accounting request

2002-07-25 Thread CheongMeng
U might want to try configuring your share secret at raddb/clients.conf On Thu, 25 Jul 2002, Shauli Lehavi wrote: > Date: Thu, 25 Jul 2002 13:09:42 +0200 > From: Shauli Lehavi <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: "'[EMAIL PROTECTED]'" > <[EMAIL PROTECTED]> > Subject: Accou

segmentation fault when calling inst->module->sql_error

2002-07-25 Thread CheongMeng
Hi, I am using freeradius CVS (25 July) & mysql for accounting. noticed that radiusd always get segmentation fault when it call the function (sql_error()) at the rlm_sql.c, eg: if (rlm_sql_query(sqlsocket, inst, querystr)) { radlog(L_ERR, "rlm_sql: Couldn

Re: rotating sockets in sql.c

2002-07-11 Thread CheongMeng
Hi, I configured the mysql with num_sql_sock = 10 then I run 4 instances of radclient keep sending accounting data to the freeradius server. Found at radius.log, server say "There are no DB handles to use!". But mytop showed that there are still a number of sql socket sleeping! This does not hap

Re: freeradius and mysql replication question

2002-07-10 Thread CheongMeng
Hi, another way is to write a script to pull all acct stored at the slave/frontend sql server, then insert into the master/backend sql server. In that case, the master sql server will always hv all the acct. If still feel insecure, try replicating the master sql server to another backup server e

Re: radius & mysql

2002-06-18 Thread CheongMeng
U can try to add /usr/lib/mysql/lib to /etc/ld.so.conf and run ldconfig > > Date: Mon, 17 Jun 2002 17:51:16 -0400 (EDT) > From: Hayden Myers <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: radius & mysql > Reply-To: [EMAIL PROTECTED] > > I'm having problems with freeradius and mysql. It

Re: Checkrad script not being properly run...

2002-06-06 Thread CheongMeng
Hi, is there a patch for this bug? thx "Chris A. Kalin" <[EMAIL PROTECTED]> wrote: > OK, well, thanks to Randy and others, the Simultaneous-Use in MySQL is > working like a charm - except for one thing. If that works, then it should be committed, so others can test it, too. > Under no circum

Re: problem encounter when configure auto-failover for mysql (ChrisParker)

2002-05-19 Thread CheongMeng
Hi Chris, I check out the latest CVS and tried, however the auto-failover still not working. I changed the part of the code to make it work, explicitly release a sql socket when a query fail, and get a new socket b4 every query execution. I wonder will this cause any performance issues, need your

problem encounter when configure auto-failover for mysql

2002-05-16 Thread CheongMeng
Hi, I am using freeradius-0.5 and mysql 3.23.49. I tried to setup 2 accounting server for a radius server, ie: radius server A will always write accounting to mysql server B. when mysql server B down, radius server A should send accounting to its local mysql server. In my radiusd.conf : accounti