RHEL 6 Yum Update

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dancormack
Posts: 22
Joined: Tue Mar 25, 2014 2:00 pm

RHEL 6 Yum Update

Post by dancormack »

Hello,
I am running into an issue trying to update my RHEL 6 install which has Nagios running on it. I am fully subscribed to Red Hat for updates. It looks like I am missing a repository which I suspect is related to Nagios (as I do not have this issue anywhere else).I have attached the relevant error messages in the update attempt. Please assist by identifying what I need to do to successfully update this server.. Thanks!
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: RHEL 6 Yum Update

Post by npolovenko »

Hello, @dancormack. Please show us the list of your repositories:

Code: Select all

yum repolist
Also, please run the following command:

Code: Select all

yum install -y gcc glibc glibc-common openssl openssl-devel perl wget
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
dancormack
Posts: 22
Joined: Tue Mar 25, 2014 2:00 pm

Re: RHEL 6 Yum Update

Post by dancormack »

yum repolist
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security, subscription-manager
epel/metalink | 19 kB 00:00
nagios-base | 1.5 kB 00:00
nagiosxi-deps | 1.5 kB 00:00
rhel-6-server-rpms | 3.5 kB 00:00
rhel-server-dts-6-rpms | 3.4 kB 00:00
rhel-server-dts2-6-rpms | 3.2 kB 00:00
repo id repo name status
epel Extra Packages for Enterprise Linux 6 - x86_64 12,506
nagios-base Nagios 161
nagiosxi-deps Nagios XI Dependencies 35
rhel-6-server-rpms Red Hat Enterprise Linux 6 Server (RPMs) 20,091
rhel-server-dts-6-rpms Red Hat Developer Toolset RPMs for Red Hat Enterprise Linux 6 Server 84
rhel-server-dts2-6-rpms Red Hat Developer Toolset 2 RPMs for Red Hat Enterprise Linux 6 Server 469
repolist: 33,346


When I run the yum install, I get similar errors. I attached the output .. Errors2.txt) It looks like I am missing some repo however I do not know what one(s).
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: RHEL 6 Yum Update

Post by npolovenko »

@dancormack, It's likely the rhel-6-server-optional-rpms.

Code: Select all

subscription-manager repos --enable=rhel-6-server-optional-rpms

Code: Select all

yum clean all
yum update
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
I haven't tried it but maybe worth giving a shot. If you follow this instruction run these two commands after you modify the config.

Code: Select all

yum clean all
yum update
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
dancormack
Posts: 22
Joined: Tue Mar 25, 2014 2:00 pm

Re: RHEL 6 Yum Update

Post by dancormack »

@npolovenko,

Adding the optional rpms repo did the trick. Thank you for your help! This issue has been resolved.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: RHEL 6 Yum Update

Post by npolovenko »

@dancormack, Great! I will close this thread as resolved.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked