Page 2 of 3

Re: Can't locate Nagios/Plugin.pm in @INC

Posted: Tue Oct 28, 2014 7:20 pm
by eloyd
For fun, and because I don't really want to think about it yet, try this:

Code: Select all

yum clean all
And then try the install again.

Re: Can't locate Nagios/Plugin.pm in @INC

Posted: Wed Oct 29, 2014 1:29 pm
by sreinhardt
Yep

yum clean all; yum update; yum install perl-Nagios-Plugin

You might also want to make sure you have epel enabled if you have not already, as that is where this particular package lives last I checked.

Re: Can't locate Nagios/Plugin.pm in @INC

Posted: Wed Oct 29, 2014 4:06 pm
by millisa
This caught my eye:
sir i'm running "CentOS release 5.6 (Final)"
combined with
One of those is a typo, right? That looks like you have centos5 but are trying to use the EPEL packages for centos6.

Other thoughts - the fedoraproject.org https setup was changed last week to not support SSLv3 in light of the 'poodle' vulnerability. I had to manually change some of the /etc/yum.repos.d/epel.repo files on my centos5 systems to use http:// instead of https:// to get them to work.

Re: Can't locate Nagios/Plugin.pm in @INC

Posted: Wed Oct 29, 2014 4:12 pm
by tmcdonald
millisa wrote:Other thoughts - the fedoraproject.org https setup was changed last week to not support SSLv3 in light of the 'poodle' vulnerability. I had to manually change some of the /etc/yum.repos.d/epel.repo files on my centos5 systems to use http:// instead of https:// to get them to work.
That would certainly explain a ticket I had the other day where yum was not working. Solution was just as you said, to change temporarily to http.

@braindope: Try doing as millisa said and change your repositories to use http and not https.

Re: Can't locate Nagios/Plugin.pm in @INC

Posted: Tue Nov 04, 2014 1:17 am
by braindope
tmcdonald wrote:
millisa wrote:Other thoughts - the fedoraproject.org https setup was changed last week to not support SSLv3 in light of the 'poodle' vulnerability. I had to manually change some of the /etc/yum.repos.d/epel.repo files on my centos5 systems to use http:// instead of https:// to get them to work.
That would certainly explain a ticket I had the other day where yum was not working. Solution was just as you said, to change temporarily to http.

@braindope: Try doing as millisa said and change your repositories to use http and not https.

Hi Sir / Ma'am,


Did you mean in changing my repositories to use http and not https, is to edit epel.repo in /etc/yum.repos.d.

Sorry i'm just newbie in this kind of stuff :)

Re: Can't locate Nagios/Plugin.pm in @INC

Posted: Tue Nov 04, 2014 10:19 am
by tmcdonald
Correct. My file looked like this:

Code: Select all

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

Re: Can't locate Nagios/Plugin.pm in @INC

Posted: Tue Nov 18, 2014 6:53 am
by braindope

Code: Select all

[epel]
name=Extra Packages for Enterprise Linux 5 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 5 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch/debug
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 5 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/5/SRPMS
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
gpgcheck=1
Hi Sir,

This is what my epel looks like, i've tried editing, but no luck .i'm still stuck at this point.

Re: Can't locate Nagios/Plugin.pm in @INC

Posted: Tue Nov 18, 2014 2:23 pm
by abrist
I have no problems with those repos. . .Are you sure this server is not firewalled? And can connect to these servers?

Re: Can't locate Nagios/Plugin.pm in @INC

Posted: Tue Nov 18, 2014 2:30 pm
by lmiltchev
Can you run the following commands and show us the output?

Code: Select all

cat /etc/*release
uname -a
yum repolist -v
Can you run "yum update" successfully?

What is the output of the following command?

Code: Select all

yum search perl-Nagios-Plugin

Re: Can't locate Nagios/Plugin.pm in @INC

Posted: Wed Nov 19, 2014 4:25 am
by braindope
Hi Everyone,

I've successfully run yum install perl-Nagios-Plugin commands with no error so far

I am now trying to proceed on my work, does anyone knows how to install e2fsprogs 1.38 or greater i need it for UUID (not sure what this means :lol: )

Thank you very much guys for patiently helping me :D