I am successfully using Radiator and the <Log SQL> functionality with mySQL
all running on NT, with Radiator as a NT service.

My config file:

# radius.cfg
#

AuthPort 1812
AcctPort 1813

Foreground
LogStdout
LogDir          D:\radiator
DbDir           D:\radiator

#LogFile %L/%Y%m%d.log
#Trace 5

#DictionaryFile C:\radiator\dictionary.acc

<Log SQL>
        # Adjust DBSource, DBUsername, DBAuth to suit your DB
        DBSource        dbi:mysql:database=wap_stats;host=127.0.0.1
        DBUsername      wap_radius
        DBAuth          <your password goes here>
        Table           nrd_radius_log
        Trace           1
</Log>  

etc...

I used the FireDaemon tool to create the NT service, which is basically
"c:\perl\bin\perl radiusd -config_file radius.cfg"

This appears to work just fine.

If you provide more details on where exactly your problems are (perhaps you
can check that you can talk to the SQL database, also check the SQL database
log to see that the connection is opened correctly etc) more help can be
provided.

> -----Original Message-----
> From: Cortney Thompson [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, December 09, 1999 7:41 PM
> To:   [EMAIL PROTECTED]
> Subject:      (RADIATOR) <Log SQL> problem
> 
> Hi all,
> 
> Well I am back once again.  In my never ending quest to tweak things I
> have 
> run into another problem.  I was setting up my installation of radiator to
> 
> use <log SQL>.  However I can only get it to log to SQL when I am running 
> radiator in the foreground and not as a demon. (NT service)  I am using
> the 
> same config file and everything remains the same.  The only thing I change
> 
> is how it runs.  Has anyone seen this before, or offer any assistance?  It
> 
> works great when I am running it in the foreground, but I need the high 
> availability that the NT service allows.
> 
> Any help is appreciated,
> 
> Thanks
> 
> If you any questions please contact me at:
> 
> Personal Address
> [EMAIL PROTECTED]   
> 
>    Opinions are mine and do not necessarily reflect
>                those of wyoming.com
> 
> 
> ===
> Archive at http://www.thesite.com.au/~radiator/
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to