XI installation errors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rickwilson7425
Posts: 125
Joined: Tue Mar 18, 2014 3:20 pm

XI installation errors

Post by rickwilson7425 »

We are running RedHat 6.5.

System has a valid rhn systemid.

We have configured our proxy access according to info on nagios FAQ's.

Getting this error when running "1-prereqs":

Error: Package: nagiosxi-deps-2012r2.9-1.noarch (/nagiosxi-deps-2012r2.9-1.noarch)
Requires: perl(Net::SMTP::TLS)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest



Looking at the perl installation it shows that the package is installed:

[root@dennagxis1 nagiosxi]# instmodsh
Available commands are:
l - List all installed modules
m <module> - Select a module
q - Quit the program
cmd? l
Installed modules are:
Archive::Tar
Archive::Zip
CPAN
CPAN::Meta::Requirements
CPAN::Meta::YAML
Compress::Raw::Bzip2

Compress::Raw::Zlib
Cwd
Data::Dumper
Digest::SHA
ExtUtils::CBuilder
ExtUtils::MakeMaker
File::HomeDir
File::Temp
File::Which
IO::Compress
IO::Zlib
IPC::Run3
Module::Build
Module::Metadata
Net

Net::SMTP::TLS
Parse::CPAN::Meta
Perl
Perl::OSType
Probe::Perl
Term::ReadKey
Term::ReadLine
Test::Harness
Test::Script
Test::Simple
Text::Glob
YAML
version
cmd? q


Any suggestions?
technick
Posts: 49
Joined: Tue Feb 04, 2014 10:30 am
Location: Denver, CO

Re: XI installation errors

Post by technick »

Possibly try removing the version you have and letting it get re-added?

You could ALSO modify the installation script and have it skip installing that package.
----------------------
Nagios Jedi in training.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: XI installation errors

Post by sreinhardt »

Do you have the optional repo enabled?

Code: Select all

yum repolist all
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
rickwilson7425
Posts: 125
Joined: Tue Mar 18, 2014 3:20 pm

Re: XI installation errors

Post by rickwilson7425 »

Yes, here it what it says;

[root@dennagxis1 nagiosxi]# yum repolist all
Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
repo id repo name status
epel Extra Packages for Enterprise Linux 6 - x86_64 enabled: 10,769
epel-debuginfo Extra Packages for Enterprise Linux 6 - x86_64 - Debug disabled
epel-source Extra Packages for Enterprise Linux 6 - x86_64 - Source disabled
epel-testing Extra Packages for Enterprise Linux 6 - Testing - x86_64 disabled
epel-testing-debuginfo Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Debug disabled
epel-testing-source Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Source disabled
rhel-source Red Hat Enterprise Linux 6Server - x86_64 - Source disabled
rhel-source-beta Red Hat Enterprise Linux 6Server Beta - x86_64 - Source disabled
rhel-x86_64-server-6 Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64) enabled: 12,494
rhel-x86_64-server-optional-6 RHEL Server Optional (v. 6 64-bit x86_64) enabled: 7,085
rpmforge RHEL 6Server - RPMforge.net - dag enabled: 4,682
rpmforge-extras RHEL 6Server - RPMforge.net - extras disabled
rpmforge-testing RHEL 6Server - RPMforge.net - testing disabled
repolist: 35,030
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: XI installation errors

Post by sreinhardt »

OK so you are definitely all set on repos, hopefully they all connect.. Anyway, lets check what version yum thinks you have installed. I should note here, that installing from cpan will not properly resolve the dependency for yum, it will need to be an rpm install.

Code: Select all

yum list installed perl-Net-SMTP-TLS
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: XI installation errors

Post by lmiltchev »

What is the output of the following command?

Code: Select all

yum list installed | grep -i "perl-Net-SMTP-TLS"
Be sure to check out our Knowledgebase for helpful articles and solutions!
rickwilson7425
Posts: 125
Joined: Tue Mar 18, 2014 3:20 pm

Re: XI installation errors

Post by rickwilson7425 »

Here is the output:

rwilson@dennagxis1:/remote/home/rwilson $ sudo yum list installed | grep -i "perl-Net-SMTP-TLS"

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

perl-Net-SMTP-TLS.noarch 0.12-1.el6.rf @rpmforge
rickwilson7425
Posts: 125
Joined: Tue Mar 18, 2014 3:20 pm

Re: XI installation errors

Post by rickwilson7425 »

The perl package was reninstalled with rpm and it is working now.

We are moving ahead with the install scripts at this point.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: XI installation errors

Post by tmcdonald »

Shall we keep this open for a bit or are you good?
Former Nagios employee
rickwilson7425
Posts: 125
Joined: Tue Mar 18, 2014 3:20 pm

Re: XI installation errors

Post by rickwilson7425 »

Let's keep it open for today at least.

We are having a problem getting updates but it is probably a proxy issue.

Will let you know.

Thanks.
Locked