I see the problem, when both mysql servers started i can switch sql1 and sql2 files and it works.
When i stop one db the first or the second. Freeradius get slow


I check a again the mysql connections, i change the radiusd.conf server working on one db, both mysql server working good.
So mysql connections work good. But my fail_over config in radiusd.conf do not working i think.


In my radiusd.conf
       $INCLUDE  ${confdir}/sql1.conf
       $INCLUDE  ${confdir}/sql2.conf

           always handled {
     rcode = handled
   }

accounting {
group {
   sql1 {
     fail  = 1
     notfound = return
     noop  = 2
     ok  = return
     updated = 3
     reject = return
     userlock = 4
     invalid = 5
     handled = 6
   }
   sql2 {
     fail  = 1
     notfound = return
     noop  = 2
     ok  = return
     updated = 3
     reject = return
     userlock = 4
     invalid = 5
     handled = 6
   }
 }
}


authorize { group { sql1 { fail = 1 notfound = return noop = 2 ok = return updated = 3 reject = return userlock = 4 invalid = 5 handled = 6 } sql2 { fail = 1 notfound = return noop = 2 ok = return updated = 3 reject = return userlock = 4 invalid = 5 handled = 6 } } }




----- Original Message ----- From: "Alan DeKok" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, January 27, 2005 8:04 PM
Subject: Re: Slow second db on freeradius



"Michel van Dop" <[EMAIL PROTECTED]> wrote:
I think this is not a dns problem but i am not a exper. When i change
sql1.conf to sql2.conf it works.

Then the problem is in the SQL databases, not in FreeRADIUS.

 Alan DeKok.

-
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