[RADIATOR] Undefined subroutine &Radius::Util::seed_random
Heikki Vatiainen
hvn at open.com.au
Thu Aug 23 03:45:37 CDT 2012
On 08/23/2012 11:20 AM, Safonov Roman wrote:
> I try to install Radiator 4.9.1/4.9.2/4.10.1 on RHEL v6.3x64 from RPM
> (rpm –Uvh Radiator.rpm; earlier I had on this PC Radiator v.4.7).
> Install done well but when I try to /etc/init.d/radiator start I get
> “Starting Radiator: Undefined subroutine &Radius::Util::seed_random
> called at /usr/bin/radiusd line 115.” Message.
Hello Roman,
it looks like you have files from Radiator 4.8 or earlier in your system
and the perl path is set so that it will try to load those files.
Radiator 4.9 and later have Radius/Util.pm with seed_random() function.
When radiusd starts up, it will call this function. radiusd in 4.8 and
earlier did random number seeding directly.
> I tried with all three RPMs but result is the same.
One possibility is files in RPMs get installed in a directory that is
search after the directory containing old files with no seed_random()
function.
> I’ve installed Radiator 4.9-1 from tgz and it works.
>
> What it can be? Please, help.
Try running perl -V and see what is in @INC. Then check the directories
for Radius/ subdirectory. Alternatively, try running 'locate Util.pm' if
you have up-to-date database for files in your system.
Thanks,
Heikki
--
Heikki Vatiainen <hvn 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