Page 1 of 2

XI installation errors

Posted: Thu May 08, 2014 10:10 am
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?

Re: XI installation errors

Posted: Thu May 08, 2014 11:12 am
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.

Re: XI installation errors

Posted: Thu May 08, 2014 12:38 pm
by sreinhardt
Do you have the optional repo enabled?

Code: Select all

yum repolist all

Re: XI installation errors

Posted: Thu May 08, 2014 12:59 pm
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

Re: XI installation errors

Posted: Thu May 08, 2014 3:57 pm
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

Re: XI installation errors

Posted: Thu May 08, 2014 4:00 pm
by lmiltchev
What is the output of the following command?

Code: Select all

yum list installed | grep -i "perl-Net-SMTP-TLS"

Re: XI installation errors

Posted: Fri May 09, 2014 9:23 am
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

Re: XI installation errors

Posted: Fri May 09, 2014 9:42 am
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.

Re: XI installation errors

Posted: Fri May 09, 2014 9:49 am
by tmcdonald
Shall we keep this open for a bit or are you good?

Re: XI installation errors

Posted: Fri May 09, 2014 10:24 am
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.