Page 1 of 1
Nagios XI installation
Posted: Wed May 09, 2018 12:58 pm
by Johnsmit
I am trying to install nagiosxi on site2, an offline environment, i ran into this error.
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Math::Calc::Units)
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Math::Calc::Units)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, versionlock
I have installed all the pre-required packages and am getting this error.
Re: Nagios XI installation
Posted: Wed May 09, 2018 1:36 pm
by Johnsmit
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Class::Accessor::Fast)
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Class::Accessor)
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Math::Calc::Units)
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Class::Accessor::Fast)
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Class::Accessor)
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Math::Calc::Units)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, versionlock
Re: Nagios XI installation
Posted: Thu May 10, 2018 11:56 am
by cdienger
What OS is this being installed on? Do you see these on the filesystem:
/usr/share/perl5/Class/Accessor.pm
/usr/share/perl5/Class/Accessor/Fast.pm
/usr/share/perl5/vendor_perl/Math/Calc/Units.pm
? I believe these should be available on the local repo or mounted OS DVD.
Re: Nagios XI installation
Posted: Thu May 10, 2018 12:13 pm
by Johnsmit
Hi,
I am installing on RHEL 7.3. i didn't see any of the files you mentioned.
[root@server Class]# pwd
/usr/share/perl5/Class
[root@server perl5]# cd Class/
[root@server-01 Class]# ls
Struct.pm
[root@server Class]#yum list Accessor.pm
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager, versionlock
Error: No matching Packages to list
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, versionlock
i am not able to see any of the packages in the repo.
i have 2 linux servers of the same configuration and packages and all, installation went well on 1 server but the other is not doing well
Re: Nagios XI installation
Posted: Thu May 10, 2018 4:59 pm
by cdienger
My mistake - you can actually get the dependencies from
https://repo.nagios.com/nagiosxi-deps/7/. I'd also point out too that they should be in the offline install:
https://repo.nagios.com/?repo=offline#install
Re: Nagios XI installation
Posted: Mon May 14, 2018 8:32 am
by Johnsmit
Thanks, that helped me.
Re: Nagios XI installation
Posted: Mon May 14, 2018 10:10 am
by tmcdonald
Did you have further (related) questions or are we good to lock this up?
Re: Nagios XI installation
Posted: Wed May 16, 2018 2:22 pm
by Johnsmit
yes, you can lock up this thread.
Thanks