Hello Michael.


Before Radiator can be run as a service, you should test that the command line
entered into the registry will run Radiator properly. You should test this by
changing to, say the root directory, then issuing the complete command line and
seeing if it works, eg:

c:
cd \
c:\perl\bin\perl.exe c:\radiator\radiusd -config_file whatever .....

ONly if Radiator starts and runs properly like that, can you expect it to run
as a service.

Looking at your config file, I suspect that these lines will cause you
problems:

DbDir
DictionaryFile  dictionary.nt

Since an NT service has no concept of a current drive or current directory, I
suspect that Radiator cannot find the dictionary file with that configuration.
You should probably have something like:

DbDir     c:\radiator
DictionaryFile  %D\dictionary.nt

Hope that helps.

Cheers.

On Jul 5, 10:16am, Michael Gatti wrote:
> Subject: (RADIATOR) Radiator as a NT Service
>
> Dear Gentilmen:
>
> We are starting the tests with radiator here at our ISP. The software was
installed on a Windows NT 4 Server (SP5, IIS4, RRAS - not active) 128 Mb RAM
following the install instruction that are in the "Installation and Reference
Manual for Radiator v. 2.13.1". The software worked very well when I tested it
with "RADPWTST",  "Ascend MAX 6000" and "NT - RRAS" connections. The only
problem I have encountered is making radiator start as a system service. I have
already downloaded SRVANY and INSTSRV and installed them in the "c:\reskit"
folder. My radiator path is ->> c:\radiator\radiusd , and my perl path is ->>
c:\perl\bin\perl.exe , following is my .cfg file and the regedt entrence I have
created:
>
> CONFIG FILE:
> ###############################
>
> Foreground
> LogStdout
> Trace            4
> AuthPort       1645
> AcctPort       1646
> LogDir         c:\radiator\malbanet\log
> LogFile        \%Y%m%d.log
> DbDir
> DictionaryFile  dictionary.nt
>
> # You will probably want to change this to suit your site.
>
> <Client localhost>
>
>  Secret  mysecret
>  DupInterval 0
>
> </Client>
>
> <Client XXX.YYY.ZZZ.x>
>
>  Secret  mysecret
>  DupInterval 0
>
> </Client>
>
> <Client XXX.YYY.ZZZ.x>
>
>  Secret  mysecret
>  DupInterval 0
>
> </Client>
>
> <Client XXX.YYY.ZZZ.x>
>
>  Secret  mysecret
>  DupInterval 0
>
> </Client>
>
> <Realm DEFAULT>
>
> # Limit all users in this realm to max of 1 session
>  MaxSessions     1
>
>  <AuthBy NT>
>  </AuthBy>
>
> # Log all accounting into daily log files in LogDir
>  AcctLogFileName %L\%Y%m%d.act
>
> </Realm>
>
>
> ###############################
>
> Here I have exported the radiator key from the registry
>
>
> ################################
>
> REGEDIT4
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\radiator]
> "Type"=dword:00000010
> "Start"=dword:00000002
> "ErrorControl"=dword:00000001
> "ImagePath"=hex(2):63,3a,5c,72,65,73,6b,69,74,5c,73,72,76,61,6e,79,2e,65,78,65,\
>   00
> "DisplayName"="radiator"
> "ObjectName"="LocalSystem"
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\radiator\Parameters]
> "Application"="c:\\perl\\bin\\perl.exe c:\\radiator\\radiusd -config_file
c:\\radiator\\maxnt.cfg"
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\radiator\Security]
> "Security"=hex:01,00,14,80,c0,00,00,00,cc,00,00,00,14,00,00,00,34,00,00,00,02,\
>   00,20,00,01,00,00,00,02,80,18,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
>   00,00,20,02,00,00,02,00,8c,00,05,00,00,00,00,00,18,00,8d,01,02,00,01,01,00,\
>   00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,1c,00,fd,01,02,00,01,02,00,00,\
>   00,00,00,05,20,00,00,00,23,02,00,00,00,00,00,00,00,00,1c,00,ff,01,0f,00,01,\
>   02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,00,00,00,00,00,00,1c,00,ff,01,\
>   0f,00,01,02,00,00,00,00,00,05,20,00,00,00,25,02,00,00,00,00,00,00,00,00,18,\
>   00,fd,01,02,00,01,01,00,00,00,00,00,05,12,00,00,00,25,02,00,00,01,01,00,00,\
>   00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\radiator\Enum]
> "0"="Root\\LEGACY_RADIATOR\\0000"
> "Count"=dword:00000001
> "NextInstance"=dword:00000001
>
> ################################
>
> I hope these info help, cause I have read all the manual and didn't figure it
out.
>
> Best Reagrds
> Michael Gatti
> Malbanet Servišos Online
> Caxias do Sul - RS - Brazil
>
> [ Attachment (text/x-html): ".prt748Btdbbbb" 8641 bytes
>   Character set: iso-8859-1
>   Encoded with "quoted-printable" ]
>-- End of excerpt from Michael Gatti



-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8, 
NT, Rhapsody
 
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