Page 1 of 1

Error Upon installing Monitoring::Plugin

Posted: Wed Apr 24, 2019 8:43 am
by acvillaester
Hi,

I have this error upon installing Monitoring::Plugin

[root@nagios-net objects]# perl -MCPAN -e 'install Monitoring::Plugin'
Reading '/root/.cpan/Metadata'
Database was generated on Tue, 04 Dec 2018 14:17:03 GMT
Fetching with LWP:
http://cpan.cpantesters.org/authors/01mailrc.txt.gz
perl: symbol lookup error: /usr/lib64/perl5/auto/Socket6/Socket6.so: undefined symbol: Perl_Gthr_key_ptr


===========
[root@nagios-net objects]# curl -L http://cpanmin.us | perl - --sudo App::cpanminus
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 295k 100 295k 0 0 517k 0 --:--:-- --:--:-- --:--:-- 518k
-: symbol lookup error: /usr/lib64/perl5/auto/Socket6/Socket6.so: undefined symbol: Perl_Gthr_key_ptr


Anyone, please help.

Thanks.

Re: Error Upon installing Monitoring::Plugin

Posted: Wed Apr 24, 2019 4:56 pm
by ssax
Install it this way:

Code: Select all

yum install perl-Nagios-Plugin
Actually, what Distro/Version are you running?

Re: Error Upon installing Monitoring::Plugin

Posted: Thu Apr 25, 2019 2:52 am
by acvillaester
Hi,

Distro used:
Red Hat Enterprise Linux Server release 7.5 (Maipo)

Upon Installing:
[root@xxxx xxxxx]# yum install perl-Nagios-Plugin
Loaded plugins: product-id, search-disabled-repos, subscription-manager
rhel-7-server-extras-rpms | 3.4 kB 00:00:00
rhel-7-server-optional-rpms | 3.2 kB 00:00:00
rhel-7-server-rpms | 3.5 kB 00:00:00
(1/6): rhel-7-server-extras-rpms/x86_64/updateinfo | 172 kB 00:00:01
(2/6): rhel-7-server-extras-rpms/x86_64/primary_db | 530 kB 00:00:01
(3/6): rhel-7-server-optional-rpms/7Server/x86_64/updateinfo | 2.1 MB 00:00:01
(4/6): rhel-7-server-rpms/7Server/x86_64/updateinfo | 3.0 MB 00:00:01
(5/6): rhel-7-server-optional-rpms/7Server/x86_64/primary_db | 7.6 MB 00:00:01
(6/6): rhel-7-server-rpms/7Server/x86_64/primary_db | 55 MB 00:00:02
No package perl-Nagios-Plugin available.
Error: Nothing to do

Please help.

Thanks.

Re: Error Upon installing Monitoring::Plugin

Posted: Thu Apr 25, 2019 5:11 pm
by scottwilkerson
This is in the epel repo, you would need to add that