DB connection reestablished

andreiv andrei20blond at yahoo.com
Fri Oct 17 17:01:06 CEST 2008



Alan DeKok-2 wrote:
> 
> andreiv wrote:
>> Does freeradius sense when a connetion to a DB ,previously lost is
>> reestablished ?
> 
>   Yes.  If you run the server in debugging mode you will see this happen.
> 
>> Which files i have to modify to tell the radius server to execute a
>> stored
>> procedure when that happens ?
> 
>   Uh... FreeRADIUS isn't a database.  You should be able to configure
> the database to do this.
> 
>   If not... asking "which file do I need to edit" pretty much means that
> you don't have the experience to do the correct edits.  Sorry.  This
> isn't a "how to program" forum, so guiding you in C programming can't be
> done here.
> 
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/devel.html
> 
> 
The DBs do the sync through a stored procedure, but I need to tell them when
to do this.
i already tested the connectivity issues:
rlm_sql (sql): Trying to (re)connect unconnected handle 0..
rlm_sql (sql): Attempting to connect rlm_sql_oracle #0
rlm_sql (sql): Connected new DB handle, #0
rlm_sql (sql): Reserving sql socket id: 0
rlm_sql (sql): got socket 0 after skipping 0 unconnected handles, tried to
reconnect 1 though

I asked which files because I didn't have much time to browse the code and
also I don't have much programming experience. I'll browse the code this
weekend and I'll come back with more specific questions. OK ? :-)
Thanks
-- 
View this message in context: http://www.nabble.com/DB-connection-reestablished-tp20032247p20035038.html
Sent from the FreeRadius - Dev mailing list archive at Nabble.com.




More information about the Freeradius-Devel mailing list