Let us know how it works for you.
I did find this link for "How to access Red Hat Subscription Manager (RHSM) through a firewall/proxy"
https://access.redhat.com/solutions/65300
I included it just in case you need to change those settings.
Nagios XI Updates fail
Re: Nagios XI Updates fail
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI Updates fail
Ok, updated both yum.config & wgetrc with proxy info.
Auto updates still failed. attached output below
Auto updates still failed. attached output below
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI Updates fail
It looks like the epel repository isn't installed on your server and one of the packages didn't get installed because of that.
Follow this to install epel on your server.
Login as root and run the following.
Then run this to install the missing package.
If the above works for you, rerun the upgrade and let us know if it works for you.
Follow this to install epel on your server.
Login as root and run the following.
Code: Select all
cd /tmp
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
sudo rpm -Uvh epel-release-6*.rpmCode: Select all
yum install perl-Math-Calc-Units -yBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI Updates fail
File is downloaded, but received error when I run :
Below is the output:
Then I tried running the following cmd instead and received the output below :
Code: Select all
sudo rpm -Uvh epel-release-6*.rpmCode: Select all
[awang@lltcnagios-sed02 tmp]$ wget https://dl.fedoraproject.org/pub/epel/epel-r elease-latest-6.noarch.rpm
--2016-01-15 09:51:06-- https://dl.fedoraproject.org/pub/epel/epel-release-late st-6.noarch.rpm
Resolving dl.fedoraproject.org... 209.132.181.26, 209.132.181.27, 209.132.181.23 , ...
Connecting to dl.fedoraproject.org|209.132.181.26|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14540 (14K) [application/x-rpm]
Saving to: “epel-release-latest-6.noarch.rpm”
100%[======================================>] 14,540 --.-K/s in 0.06s
2016-01-15 09:51:06 (228 KB/s) - “epel-release-latest-6.noarch.rpm” saved [14540 /14540]
[awang@lltcnagios-sed02 tmp]$ sudo rpm -Uvh epel-release-6*.rpm
Enter PASSCODE:
error: File not found by glob: epel-release-6*.rpmCode: Select all
[awang@lltcnagios-sed02 tmp]$ sudo rpm -Uvh epel-release-latest-6.noarch.rpm
Preparing... ########################################### [100%]
package epel-release-6-8.noarch is already installed
[awang@lltcnagios-sed02 tmp]$ yum install perl-Math-Calc-Units -y
Loaded plugins: product-id, rhnplugin, security, subscription-manager
*Note* Red Hat Network repositories are not listed below. You must run this command as root to access RHN repositories.
You need to be root to perform this command.
[awang@lltcnagios-sed02 tmp]$ sudo yum install perl-Math-Calc-Units -y
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
nagios-base | 1.5 kB 00:00
nagiosxi-deps | 1.5 kB 00:00
rhel-x86_64-server-6 | 1.8 kB 00:00
rhel-x86_64-server-6/primary | 24 MB 00:05
rhel-x86_64-server-6 16486/16486
rhel-x86_64-server-optional-6 | 1.8 kB 00:00
rpmforge | 1.9 kB 00:00
No package perl-Math-Calc-Units available.
Error: Nothing to do
[awang@lltcnagios-sed02 tmp]$
Re: Nagios XI Updates fail
You downloaded epel-release-latest-6.noarch.rpm
Then you tried to install epel-release-6*.rpm
This didn't work because the filename is wrong. it needs the word latest.
Then you tried to install epel-release-6*.rpm
This didn't work because the filename is wrong. it needs the word latest.
Former Nagios Employee.
me.
me.
Re: Nagios XI Updates fail
Yes,you are right and I got that part. So I tried running the following cmd instead, and received this output
Code: Select all
[awang@lltcnagios-sed02 tmp]$ sudo rpm -Uvh epel-release-latest-6.noarch.rpm
Preparing... ########################################### [100%]
package epel-release-6-8.noarch is already installed
[awang@lltcnagios-sed02 tmp]$ yum install perl-Math-Calc-Units -y
Loaded plugins: product-id, rhnplugin, security, subscription-manager
*Note* Red Hat Network repositories are not listed below. You must run this command as root to access RHN repositories.
You need to be root to perform this command.
[awang@lltcnagios-sed02 tmp]$ sudo yum install perl-Math-Calc-Units -y
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
nagios-base | 1.5 kB 00:00
nagiosxi-deps | 1.5 kB 00:00
rhel-x86_64-server-6 | 1.8 kB 00:00
rhel-x86_64-server-6/primary | 24 MB 00:05
rhel-x86_64-server-6 16486/16486
rhel-x86_64-server-optional-6 | 1.8 kB 00:00
rpmforge | 1.9 kB 00:00
No package perl-Math-Calc-Units available.
Error: Nothing to do
[awang@lltcnagios-sed02 tmp]$Re: Nagios XI Updates fail
Let's try to install it directly from the perl CPAN:
perl -MCPAN -e "install Math::Calc::Units"
You may need to hit Enter to continue if it asks about configuring anything.
perl -MCPAN -e "install Math::Calc::Units"
You may need to hit Enter to continue if it asks about configuring anything.
Former Nagios employee