we do not use RHN at all- can this be circumvented in the installation?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.
Error while installing 2012
-
kotterbein
- Posts: 87
- Joined: Fri Aug 10, 2012 8:15 am
Error while installing 2012
I am recieving the following error while attempting to install Nagios 2012 on a new build RHEL 6 server:
Re: Error while installing 2012
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
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
we do not use RHN here. is there a work-around?
Re: Error while installing 2012
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.
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
but this is not an issue using RHEL 5?
Re: Error while installing 2012
Are you running a "./fullinstall" or you are trying to run all scripts individually?
What is the output of the following command?
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
[root@id-nag02 ~]# rhn_check -v; echo $?
-bash: rhn_check: command not found
127
-bash: rhn_check: command not found
127
Re: Error while installing 2012
Are you running a "./fullinstall" or you are trying to run all scripts individually?
Is this a RHEL 6 system?! Run the following command and show us the output:[root@id-nag02 ~]# rhn_check -v; echo $?
-bash: rhn_check: command not found
127
Code: Select all
cat /etc/redhat-releaseBe 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
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 :
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)
Re: Error while installing 2012
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!