Page 1 of 1
CHECK_RADIUS
Posted: Thu Nov 06, 2014 11:42 am
by christudorache
I have a check_radius from nagios to our radius server. At first it could not find the libradiusclient-ng.so.2 file so I copied it to the /usr/lib64/ directory but now it's complaining about ./check_radius: symbol lookup error: ./check_radius: undefined symbol: rc_read_config. Where do I define the symbol rc_read_config?
Re: CHECK_RADIUS
Posted: Thu Nov 06, 2014 1:17 pm
by rhassing
Where did you copy it from?
What distro are you using?
If you are using CentOS you could use yum to install radiusclient-ng as a package. This contains the right libraries.
This only works if you have the right repositories installed.
radiusclient-ng is available on several repository servers.
If this does not find the package, you might want to add one of the following repositories:
Please search google for the installation of the repositories.
Re: CHECK_RADIUS
Posted: Thu Nov 06, 2014 3:08 pm
by christudorache
I copied it from another directory on the server /usr/lib/freeradius/libradiusclient-ng.so.2. I'm running SUSE Linux Enterprise Server 11 SP3 (SLES) I can't install libradiusclient-ng because it's not being found in zypper or yast2.
Re: CHECK_RADIUS
Posted: Thu Nov 06, 2014 3:14 pm
by rhassing
I'm not that familiar with SUSE, but I think rpms are availabe for SUSE as well
After a short search on Google, I found the following:
http://download.opensuse.org/repositori ... x86_64.rpm
Re: CHECK_RADIUS
Posted: Thu Nov 06, 2014 3:25 pm
by lmiltchev
christudorache, were you able to install the "libradiusclient-ng" package?
After downloading the rpm from the link, provided by rhassing, you can install it by running:
Code: Select all
rpm -ivh radiusclient-ng-0.5.6-3.1.x86_64.rpm
or
Code: Select all
yast2 -i radiusclient-ng-0.5.6-3.1.x86_64.rpm
Re: CHECK_RADIUS
Posted: Tue Nov 11, 2014 2:13 pm
by christudorache
I am trying to, however; the repository cannot be found
# rpm -ivh radiusclient-ng-0.5.6-3.1.x86_64.rpm
error: open of radiusclient-ng-0.5.6-3.1.x86_64.rpm failed: No such file or directory
zypper install radiusclient-ng-0.5.6-3.1.x86_64.rpm
Specified local path does not exist or is not accessible.
Problem retrieving the specified RPM file:
Malformed URI:
Please check whether the file is accessible.
Problem with the RPM file specified as 'radiusclient-ng-0.5.6-3.1.x86_64.rpm', skipping.
No valid arguments specified.
Re: CHECK_RADIUS
Posted: Tue Nov 11, 2014 2:34 pm
by lmiltchev
Where did you download it? You can run the above commands if you are in the same directory. Otherwise, you will need to provide the full path to the file:
Code: Select all
rpm -ivh /path/to/the/radiusclient-ng-0.5.6-3.1.x86_64.rpm
Re: CHECK_RADIUS
Posted: Tue Nov 11, 2014 2:53 pm
by christudorache
I tried another rpm file but this time it gave me another error.
warning: radiusclient-ng-0.5.6-3.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 11ac8ecc
error: Failed dependencies:
libradiusclient-ng.so.2()(64bit) is needed by radiusclient-ng-0.5.6-3.1.x86_64
I believe I need the librariusclient-ng.so.2 but I do not know where to get it from.
Re: CHECK_RADIUS
Posted: Wed Nov 12, 2014 5:21 pm
by lmiltchev
You can try downloading and installing some of the other RPMs from
this page in order to resolve dependencies. I think this may be the file you need but I am not 100% sure:
http://download.opensuse.org/repositori ... x86_64.rpm