On 07/29/2014 01:15 PM, Hadlow, Tim wrote: > I have Radiator 4.13 using an Authby URL config running fine at the > Windows command line on a 2008 R2 server with ActivePerl 5. 18.2 but > when I run it as a Windows service it does not respond.
Hello Tim, try clearing the log file and then starting Radiator as Windows service with url.cfg that has Trace set to 4 (debug). Then try sending a request to it. The log file should show what happens. It might be there is, for example, problem finding some of the modules Radiator needs which causes the request to be ignored. If there is such a problem, the debug log should show at least that the request is received even if handling it fails. > I can see the > service listed as running and the port 1812 is being listened to but > just get no reponse. If I switch to using the goodies/simple.cfg as a > test then it does respond Ok as a service. When running with the > URL.cfg the web server is on the same box so the URL is > http://127.0.0.1/ etc., and as I said it work fine when Radiator is > running at the command line. One reason might be the Radius/* modules are found when radiusd is started from the distribution directory. When it runs as a Windows service, and the modules have not been installed yet, perl can not find them anymore and this causes the request to be ignored. > Has anyone else had problems using Authby URL when running as a Windows > service or have any suggestions as to how to debug or fix this? I'm not aware there should be anything special with AuthBy URL or running as Windows service as long as the modules are found by perl. You can check the module search path with 'perl -V'. The current directory '.' is part of the default search path so that's why it works when radiusd is started from the distribution directory. Thanks, Heikki -- Heikki Vatiainen <h...@open.com.au> Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc. _______________________________________________ radiator mailing list radiator@open.com.au http://www.open.com.au/mailman/listinfo/radiator