CHECK_RADIUS
-
christudorache
- Posts: 15
- Joined: Fri Sep 19, 2014 2:32 pm
CHECK_RADIUS
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
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:
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.
Code: Select all
yum search radiusclient-ng- EPEL
RPMForge
ATRpms
Rob Hassing


-
christudorache
- Posts: 15
- Joined: Fri Sep 19, 2014 2:32 pm
Re: CHECK_RADIUS
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
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
After a short search on Google, I found the following:
http://download.opensuse.org/repositori ... x86_64.rpm
Rob Hassing


Re: CHECK_RADIUS
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:
or
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.rpmCode: Select all
yast2 -i radiusclient-ng-0.5.6-3.1.x86_64.rpmBe sure to check out our Knowledgebase for helpful articles and solutions!
-
christudorache
- Posts: 15
- Joined: Fri Sep 19, 2014 2:32 pm
Re: CHECK_RADIUS
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.
# 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
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.rpmBe sure to check out our Knowledgebase for helpful articles and solutions!
-
christudorache
- Posts: 15
- Joined: Fri Sep 19, 2014 2:32 pm
Re: CHECK_RADIUS
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.
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
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
http://download.opensuse.org/repositori ... x86_64.rpm
Be sure to check out our Knowledgebase for helpful articles and solutions!