Nagios XI Installation Failure, Need your advise.
-
raamardhani7
- Posts: 459
- Joined: Tue Jun 02, 2015 12:36 am
Nagios XI Installation Failure, Need your advise.
Hi Team,
I am trying to install Nagios XI on client network and we have applied for licenses with Nagios and they said it will take 10 more days, this is for Infosys.
So we posting this in General section.
I gave 777 permissions to the entire folder.
# ./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...
package centos-release is not installed
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'
yum-config-manager --enable rhel-6-server-optional-rpms
Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
==================================
uname -a
Linux lussvpnagiosxi00 2.6.32-504.23.4.el6.x86_64 #1 SMP Fri May 29 10:16:43 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
Thanks & Regards,
Ram Ardhani.
I am trying to install Nagios XI on client network and we have applied for licenses with Nagios and they said it will take 10 more days, this is for Infosys.
So we posting this in General section.
I gave 777 permissions to the entire folder.
# ./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...
package centos-release is not installed
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'
yum-config-manager --enable rhel-6-server-optional-rpms
Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
==================================
uname -a
Linux lussvpnagiosxi00 2.6.32-504.23.4.el6.x86_64 #1 SMP Fri May 29 10:16:43 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
Thanks & Regards,
Ram Ardhani.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Nagios XI Installation Failure, Need your advise.
Sorry, it's not clear where your install log ends.
[/code]
That said - is this a RHEL machine? If so you'll need to subscribe to the RHN optional channel.
Code: Select all
It might be helpful in the future to wrap items like that in [code]That said - is this a RHEL machine? If so you'll need to subscribe to the RHN optional channel.
-
raamardhani7
- Posts: 459
- Joined: Tue Jun 02, 2015 12:36 am
Re: Nagios XI Installation Failure, Need your advise.
Hi,
[root@lussvpnagiosxi00 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...
package centos-release is not installed
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'
[root@lussvpnagiosxi00 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...
package centos-release is not installed
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'
Re: Nagios XI Installation Failure, Need your advise.
Run the command below and post the output: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
Code: Select all
rhn-channel -l-
raamardhani7
- Posts: 459
- Joined: Tue Jun 02, 2015 12:36 am
Re: Nagios XI Installation Failure, Need your advise.
Hi Ssax,
[root@lussvpnagiosxi00 nagiosxi]# rhn-channel -l
rhel-x86_64-server-6
rhel-x86_64-server-optional-6
rhn-tools-rhel-x86_64-server-6
Is the output.
[root@lussvpnagiosxi00 nagiosxi]# rhn-channel -l
rhel-x86_64-server-6
rhel-x86_64-server-optional-6
rhn-tools-rhel-x86_64-server-6
Is the output.
Re: Nagios XI Installation Failure, Need your advise.
You will need to enable the 'optional' channel. Try running:
then rerun the "fullinstall" script.
Code: Select all
yum install yum-utils
yum-config-manager --enable rhel-6-server-optional-rpmsBe sure to check out our Knowledgebase for helpful articles and solutions!
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Nagios XI Installation Failure, Need your advise.
Run these, post the output:
Code: Select all
grep distro /tmp/nagiosxi/xi-sys.cfg
yum repolist all-
raamardhani7
- Posts: 459
- Joined: Tue Jun 02, 2015 12:36 am
Re: Nagios XI Installation Failure, Need your advise.
Hi Jdalrymple,
Please find the output for the below commands.
[root@lussvpnagiosxi00 nagiosxi]# grep distro /tmp/nagiosxi/xi-sys.cfg
distro='RedHatEnterpriseServer'
[root@lussvpnagiosxi00 nagiosxi]# yum repolist all
Loaded plugins: changelog, product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
epel/metalink | 11 kB 00:00
http://mirrors.mit.edu/epel/6/x86_64/re ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401 authenticationrequired"
Trying other mirror.
http://ftp.linux.ncsu.edu/pub/epel/6/x8 ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401 authenticationrequired"
Trying other mirror.
http://mirror.sfo12.us.leaseweb.net/epe ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401 authenticationrequired"
Trying other mirror.
http://mirror.us.leaseweb.net/epel/6/x8 ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401 authenticationrequired"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
Please find the output for the below commands.
[root@lussvpnagiosxi00 nagiosxi]# grep distro /tmp/nagiosxi/xi-sys.cfg
distro='RedHatEnterpriseServer'
[root@lussvpnagiosxi00 nagiosxi]# yum repolist all
Loaded plugins: changelog, product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
epel/metalink | 11 kB 00:00
http://mirrors.mit.edu/epel/6/x86_64/re ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401 authenticationrequired"
Trying other mirror.
http://ftp.linux.ncsu.edu/pub/epel/6/x8 ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401 authenticationrequired"
Trying other mirror.
http://mirror.sfo12.us.leaseweb.net/epe ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401 authenticationrequired"
Trying other mirror.
http://mirror.us.leaseweb.net/epel/6/x8 ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401 authenticationrequired"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Nagios XI Installation Failure, Need your advise.
Are you behind an Internet proxy that requires authentication? That is what it looks like to me. That would no doubt be your problem.
These instructions are for CentOS, but should still fit your application fine:
https://www.centos.org/docs/5/html/yum/ ... erver.html
These instructions are for CentOS, but should still fit your application fine:
https://www.centos.org/docs/5/html/yum/ ... erver.html
-
raamardhani7
- Posts: 459
- Joined: Tue Jun 02, 2015 12:36 am
Re: Nagios XI Installation Failure, Need your advise.
Hi All,
Thank you all for your swift responses, finally the issue is sorted.
Thank you all for your swift responses, finally the issue is sorted.