[RADIATOR] err while running radpwtst
Hugh Irvine
hugh at open.com.au
Wed May 29 17:25:59 CDT 2013
Hello Kavitha -
We will need to see your configuration file as well as the log file.
The simplest and best way to manage and test Radiator is to use the source tarball.
You can download and unpack the source distribution in a suitable directory on your machine, then use two command line windows:
in the first
cd /your/Radiator/source/directory
perl radiusd -foreground -log_stdout -trace 4 -config_file /your/Radiator/configuration/file
in the second
cd /your/Radiator/source/directory
perl radpwtst -user xxxx -password yyyyy
Of course you may need to alter the port numbers with radpwtst if your Radiator configuration file is using different port numbers.
Here is the help for radpwtst:
Radiator-4.11 hugh$ perl radpwtst -h
usage: radpwtst [-h] [-time] [-iterations n]
[-trace [level]] [-s server] [-secret secret] [-retries n]
[-noauth] [-noacct][-nostart] [-nostop] [-alive] [-status]
[-chap] [-chap_nc] [-mschap] [-mschapv2] [-eapmd5] [-eapotp] [-eapgtc] [-sip] [-leap]
[-motp_secret xxxxxxxxxxxxxxxx] [-eaphex xxxxxxxxxxxxx]
[-accton] [-acctoff] [-framed_ip_address address]
[-auth_port port] [-acct_port port] [-identifier n]
[-user username] [-password password]
[-nas_ip_address address] [-nas_identifier string]
[-nas_port port] [-nas_port_type type] [-service_type service]
[-calling_station_id string] [-called_station_id string]
[-session_id string] [-interactive]
[-delay_time n] [-session_time n] [-input_octets n]
[-output_octets n] [-timeout n] [-dictionary file,file]
[-gui] [-class string] [-useoldascendpasswords]
[-code requestcode] [-raw data] [-rawfile filename]
[-rawfileseq filename]
[-outport port] [-bind_address dotted-ip-address]
[-options optionfile]
[attribute=value]…
hope that helps
regards
Hugh
On 30 May 2013, at 06:25, Kavitha Kamarthy <kkamarthy at arubanetworks.com> wrote:
> I have installed radiator on my linux using the Linux RPM installation steps.
> When I run radpwtst, all the requests are timing out
> [root at kkamarthy-linux:/etc/radiator]$radpwtst
> sending Access-Request...
> No reply
> sending Accounting-Request Start...
> No reply
> sending Accounting-Request Stop...
> No reply
>
> This is what I see in the logfile. Any suggestions as to how to fix this issue ?
>
> [-linux:/var/log/radius]$tail -f logfile
> Compilation failed in require at /usr/lib/perl5/site_perl/Radius/Realm.pm line 17, <CONFIG> line 36.
> BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/Radius/Realm.pm line 17, <CONFIG> line 36.
> Compilation failed in require at (eval 40) line 3, <CONFIG> line 36.
>
> Wed May 29 13:18:46 2013: ERR: Unknown object 'Realm' in /etc/radiator/radius.cfg line 36
> Wed May 29 13:18:46 2013: DEBUG: Finished reading configuration file '/etc/radiator/radius.cfg'
> Wed May 29 13:18:46 2013: DEBUG: Reading dictionary file '/etc/radiator/dictionary'
> Wed May 29 13:18:46 2013: DEBUG: Creating authentication port 0.0.0.0:1812
> Wed May 29 13:18:46 2013: DEBUG: Creating accounting port 0.0.0.0:1813
> Wed May 29 13:18:46 2013: NOTICE: Server started: Radiator 4.11 on kkamarthy-linux (LOCKED)
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator
--
Hugh Irvine
hugh at 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.
More information about the radiator
mailing list