package centos-release is not installed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: package centos-release is not installed

Post by scottwilkerson »

It is possible we don't have curl...

Try

Code: Select all

yum install curl -y
cd /tmp/nagiosxi
./fullinstall
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rsanclim
Posts: 17
Joined: Fri Apr 13, 2012 2:15 pm

Re: package centos-release is not installed

Post by rsanclim »

I ran that, it downloaded the package....I rebooted, but still got the same error:

Running './0-yum'...
Configuring Yum...
package centos-release is not installed
Enabling RPMForge repo...
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: package centos-release is not installed

Post by scottwilkerson »

I'm not sure why this is happening, but I want to help you get past it, lets run the following

Code: Select all

cd /tmp
curl -L -O http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rm rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
cd /tmp/nagiosxi
./fullinstall
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rsanclim
Posts: 17
Joined: Fri Apr 13, 2012 2:15 pm

Re: package centos-release is not installed

Post by rsanclim »

I got a little further this time.

Configuring Yum...
Could not retrieve mirrorlist http://apt.sw.be/redhat/el6/en/mirrors-rpmforge error was
14: PYCURL ERROR 22 - "The requested URL returned error: 404"
package centos-release is not installed
rpmforge-release RPM installed OK
Enabling EPEL repo...
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-yum'
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: package centos-release is not installed

Post by scottwilkerson »

Sorry about that, there is one more of these,

Code: Select all

cd /tmp
curl -L -O http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
rpm -Uvh epel-release-6-5.noarch.rpm
rm epel-release-6-5.noarch.rpm
cd /tmp/nagiosxi
./fullinstall
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rsanclim
Posts: 17
Joined: Fri Apr 13, 2012 2:15 pm

Re: package centos-release is not installed

Post by rsanclim »

Thanks for your help, we are getting further.........still an error:

Running './0-yum'...
Configuring Yum...
Could not retrieve mirrorlist http://apt.sw.be/redhat/el6/en/mirrors-rpmforge error was
14: PYCURL ERROR 22 - "The requested URL returned error: 404"
package centos-release is not installed
rpmforge-release RPM installed OK
epel-release RPM installed OK
Yum configured OK
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
Loaded plugins: product-id, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
Setting up Local Package Process
Examining /tmp/nagiosxi/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
Marking /tmp/nagiosxi/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
http://apt.sw.be/redhat/el6/en/x86_64/r ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again
Could not retrieve mirrorlist http://apt.sw.be/redhat/el6/en/mirrors-rpmforge error was
14: PYCURL ERROR 22 - "The requested URL returned error: 404"
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: './1-prereqs'
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: package centos-release is not installed

Post by scottwilkerson »

I am really at a loss why your system cannot reach these URL's, I can click the links in your last post and get the URLS..

Is this a proxy setup?

If so, did you edit your yum setup as outlined here?
http://support.nagios.com/wiki/index.ph ... th_Proxies
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rsanclim
Posts: 17
Joined: Fri Apr 13, 2012 2:15 pm

Re: package centos-release is not installed

Post by rsanclim »

I did set the proxy, but still no luck. I am now reinstalling the OS.
rsanclim
Posts: 17
Joined: Fri Apr 13, 2012 2:15 pm

Re: package centos-release is not installed

Post by rsanclim »

I reinstalled OS. Registered the server. Set the proxies. Installed php-pear. Installed curl and the other 2 packages. Ran the fullinstall and got this far:

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-yum'...
Configuring Yum...
package centos-release is not installed
rpmforge-release RPM installed OK
epel-release RPM installed OK
Yum configured OK
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
Loaded plugins: product-id, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
Setting up Local Package Process
Examining /tmp/nagiosxi/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
Marking /tmp/nagiosxi/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
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: './1-prereqs'
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: package centos-release is not installed

Post by scottwilkerson »

For whatever reason, it seems that the Yum proxy setup is what is failing. When we worked on it yesterday, you could download through the proxy fine using wget, but Yum was failing to load the repo data..
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked