Hi all .. 

Radius         =  R1
MySql Prim  =  DB1
Mysql  Sec   =  DB2

i am unable to configure Radius to operate in fail over to DB2 incase
DB1 goes down .

The configuration details are as follows. 

1) In radiusd.conf  i am doing an include on sql1.conf and sql2.conf.  
     $INCLUDE  ${confdir}/sql1.conf
     $INCLUDE  ${confdir}/sql2.conf
   These two files exist in the correct location . 

2) In  Radiusd.conf  's  " authorize"   section i have replaced "sql"
entry with the following lines
 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
                }
        }
 On starting the server in debug mode i get the following errors .. 

    Module: Instantiated preprocess (preprocess) 
Module: Loaded realm 
 realm: format = "suffix"
 realm: delimiter = "@"
Module: Instantiated realm (suffix) 
ERROR: Cannot find a configuration entry for module "sql1". 

Can any one tell me if i am missing some thing in the configuration .
???   (~  ~ )
                                                                      
                                        o

FYI ... I was able to make single mysql server work with radius
successfully . And as a second step i was in the process of adding
mysql redundency . So basically all my tables , data etc etc works
fine in the same arrangemnet .

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

Reply via email to