hi, i'm new in the Nagios's world. I'm trying to install Nagios XI, but when i execute "./fullinstall" i get the next error:
ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions.
You can do so in the Redhat Network web interface or using the rhn-channel command.
or, install the yum-utils package and use the following command:
yum-config-manager --enable rhel-6-server-optional-rpms
So, i checked if yum was installed, and it yes installed. Paste a copy of the secuence i did to try install the Nagios XI.
[root@polvaredas nagiosxi]# yum install yum-utils
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Setting up Install Process
Package yum-utils-1.1.30-10.el6.noarch already installed and latest version
Nothing to do
[root@polvaredas nagiosxi]# yum-config-manager --enable rhel-6-server-optional-rpms
Loaded plugins: product-id
[root@polvaredas nagiosxi]# ./fullinstall
========================
Nagios XI Full Installer
========================
This script will do a complete install of Nagios XI by executing all necessary sub-scripts.
IMPORTANT: This script should only be used on a 'clean' install of CentOS or RedHat. Do NOT use this on a system that has been tasked with other
purposes or has an existing install of Nagios Core. To create such a clean install you should have selected ONLY the 'Base' package in the OS installer.
Do you want to continue? [Y/n] Y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-repos'...
Configuring Repos...
Passed New Subscription Check
package centos-release is not installed
Unable to locate SystemId file. Is this system registered?
ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions.
You can do so in the Redhat Network web interface or using the rhn-channel command.
or, install the yum-utils package and use the following command:
yum-config-manager --enable rhel-6-server-optional-rpms
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './0-repos'
Thanks experts!!
Error yum but yum is installed
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Error yum but yum is installed
@clarosystemmgm, Hi, Is your server connected to the internet? Please run the following command and provide me with the output:
Please run the following commands:
And let me know if you get any errors during the process.
Code: Select all
subscription-manager repos --list
Code: Select all
yum clean all
yum check-update
yum update
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 7
- Joined: Thu Apr 26, 2018 3:23 pm
Re: Error yum but yum is installed
Hi npolovenko, the result was:
[root@polvaredas ~]# subscription-manager repos --list
The system is not entitled to use any repositories.
just in case, I pasted the other commands too
[root@polvaredas ~]# yum clean all
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Cleaning repos: origen
Cleaning up Everything
[root@polvaredas ~]# yum check-update
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
origen | 4.0 kB 00:00
origen/primary_db | 3.1 MB 00:00
Obsoleting Packages
tigervnc-server.x86_64 1.0.90-0.17.20110314svn4359.el6 origen
vnc-server.x86_64 4.1.2-14.el5_3.1 installed
[root@polvaredas ~]# yum update
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package tigervnc-server.x86_64 0:1.0.90-0.17.20110314svn4359.el6 will be ob soleting
--> Processing Dependency: xorg-x11-xkb-utils for package: tigervnc-server-1.0.9 0-0.17.20110314svn4359.el6.x86_64
---> Package vnc-server.x86_64 0:4.1.2-14.el5_3.1 will be obsoleted
--> Running transaction check
---> Package xorg-x11-xkb-utils.x86_64 0:7.4-6.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
tigervnc-server x86_64 1.0.90-0.17.20110314svn4359.el6 origen 1.1 M
replacing vnc-server.x86_64 4.1.2-14.el5_3.1
Installing for dependencies:
xorg-x11-xkb-utils x86_64 7.4-6.el6 origen 85 k
Transaction Summary
================================================================================
Install 2 Package(s)
Total download size: 1.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x | 1.1 MB 00:00
(2/2): xorg-x11-xkb-utils-7.4-6.el6.x86_64.rpm | 85 kB 00:00
--------------------------------------------------------------------------------
Total 9.4 MB/s | 1.1 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
hpsim-C.07.01.00.00-1.i386 has missing requires of hpsim-db
Installing : xorg-x11-xkb-utils-7.4-6.el6.x86_64 1/3
Installing : tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x86_64 2/3
Erasing : vnc-server-4.1.2-14.el5_3.1.x86_64 3/3
Installed products updated.
Installed:
tigervnc-server.x86_64 0:1.0.90-0.17.20110314svn4359.el6
Dependency Installed:
xorg-x11-xkb-utils.x86_64 0:7.4-6.el6
Replaced:
vnc-server.x86_64 0:4.1.2-14.el5_3.1
Complete!
FInally, i run again ./fullinstall, but the error was the same.
Thanks!!
[root@polvaredas ~]# subscription-manager repos --list
The system is not entitled to use any repositories.
just in case, I pasted the other commands too
[root@polvaredas ~]# yum clean all
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Cleaning repos: origen
Cleaning up Everything
[root@polvaredas ~]# yum check-update
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
origen | 4.0 kB 00:00
origen/primary_db | 3.1 MB 00:00
Obsoleting Packages
tigervnc-server.x86_64 1.0.90-0.17.20110314svn4359.el6 origen
vnc-server.x86_64 4.1.2-14.el5_3.1 installed
[root@polvaredas ~]# yum update
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package tigervnc-server.x86_64 0:1.0.90-0.17.20110314svn4359.el6 will be ob soleting
--> Processing Dependency: xorg-x11-xkb-utils for package: tigervnc-server-1.0.9 0-0.17.20110314svn4359.el6.x86_64
---> Package vnc-server.x86_64 0:4.1.2-14.el5_3.1 will be obsoleted
--> Running transaction check
---> Package xorg-x11-xkb-utils.x86_64 0:7.4-6.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
tigervnc-server x86_64 1.0.90-0.17.20110314svn4359.el6 origen 1.1 M
replacing vnc-server.x86_64 4.1.2-14.el5_3.1
Installing for dependencies:
xorg-x11-xkb-utils x86_64 7.4-6.el6 origen 85 k
Transaction Summary
================================================================================
Install 2 Package(s)
Total download size: 1.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x | 1.1 MB 00:00
(2/2): xorg-x11-xkb-utils-7.4-6.el6.x86_64.rpm | 85 kB 00:00
--------------------------------------------------------------------------------
Total 9.4 MB/s | 1.1 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
hpsim-C.07.01.00.00-1.i386 has missing requires of hpsim-db
Installing : xorg-x11-xkb-utils-7.4-6.el6.x86_64 1/3
Installing : tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x86_64 2/3
Erasing : vnc-server-4.1.2-14.el5_3.1.x86_64 3/3
Installed products updated.
Installed:
tigervnc-server.x86_64 0:1.0.90-0.17.20110314svn4359.el6
Dependency Installed:
xorg-x11-xkb-utils.x86_64 0:7.4-6.el6
Replaced:
vnc-server.x86_64 0:4.1.2-14.el5_3.1
Complete!
FInally, i run again ./fullinstall, but the error was the same.
Thanks!!
-
- Posts: 7
- Joined: Thu Apr 26, 2018 3:23 pm
Re: Error yum but yum is installed
thanks all,but finally i've decided to install Nagios Core
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Error yum but yum is installed
@clarosystemmgm, This article should help with your original problem:
https://access.redhat.com/solutions/1981673
If you have any questions related to Nagios Core installation you'd need to make a post in the Core section of the forum.
Let me know if it's ok to close this thread.
https://access.redhat.com/solutions/1981673
If you have any questions related to Nagios Core installation you'd need to make a post in the Core section of the forum.
Let me know if it's ok to close this thread.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 7
- Joined: Thu Apr 26, 2018 3:23 pm
Re: Error yum but yum is installed
Yes, close this publication. Thanks for your help and apology for the time