Error while installing 2012

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kotterbein
Posts: 87
Joined: Fri Aug 10, 2012 8:15 am

Error while installing 2012

Post by kotterbein »

I am recieving the following error while attempting to install Nagios 2012 on a new build RHEL 6 server:
package centos-release is not installed
./0-yum: line 27: rhn-channel: command not found
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.
we do not use RHN at all- can this be circumvented in the installation?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error while installing 2012

Post by lmiltchev »

You need to add the Optional software channel so that Nagios XI can install the necessary prerequisites. Please, read our wiki post on the topic:

http://support.nagios.com/wiki/index.ph ... ptions..22
Be sure to check out our Knowledgebase for helpful articles and solutions!
kotterbein
Posts: 87
Joined: Fri Aug 10, 2012 8:15 am

Re: Error while installing 2012

Post by kotterbein »

we do not use RHN here. is there a work-around?
User avatar
CGraham
Posts: 115
Joined: Tue Aug 16, 2011 2:43 pm

Re: Error while installing 2012

Post by CGraham »

If you're not going to use RHN, you should probably consider using CentOS for the OS instead. CentOS is a rebranded copy of Redhat (effectively).

CentOS is also the what the Nagios appliance uses, so it's what many of your cohorts are using.
kotterbein
Posts: 87
Joined: Fri Aug 10, 2012 8:15 am

Re: Error while installing 2012

Post by kotterbein »

but this is not an issue using RHEL 5?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error while installing 2012

Post by lmiltchev »

Are you running a "./fullinstall" or you are trying to run all scripts individually?

What is the output of the following command?

Code: Select all

rhn_check -v; echo $?
Be sure to check out our Knowledgebase for helpful articles and solutions!
kotterbein
Posts: 87
Joined: Fri Aug 10, 2012 8:15 am

Re: Error while installing 2012

Post by kotterbein »

[root@id-nag02 ~]# rhn_check -v; echo $?
-bash: rhn_check: command not found
127
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error while installing 2012

Post by lmiltchev »

Are you running a "./fullinstall" or you are trying to run all scripts individually?
[root@id-nag02 ~]# rhn_check -v; echo $?
-bash: rhn_check: command not found
127
Is this a RHEL 6 system?! Run the following command and show us the output:

Code: Select all

cat /etc/redhat-release
Be sure to check out our Knowledgebase for helpful articles and solutions!
kotterbein
Posts: 87
Joined: Fri Aug 10, 2012 8:15 am

Re: Error while installing 2012

Post by kotterbein »

yes, it is.

I just downgraded another instance to RHEL 5 and was able to cluge the install to work.

in our enterprise, we do not use RHN, since our servers are segregated out and in production they do not have any external links- all yum repos are mirrored or internal.

output :
Red Hat Enterprise Linux Server release 6.3 (Santiago)
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error while installing 2012

Post by lmiltchev »

You can try commenting out lines 25 and 30 in "/tmp/nagiosxi/0-yum", so that the installer script won't choke after "registration/optional channel" checks fail.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked