rhn-channel command not found

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sensahin
Posts: 1
Joined: Mon May 08, 2017 2:49 am

rhn-channel command not found

Post by sensahin »

Hello,

We are receiving "rhn-channel command not found" error when we try to install Nagios on RHL.

Do you know how we can solve it?

Best regards
Senol
jforcier

Re: rhn-channel command not found

Post by jforcier »

Hello Senol, try adding the optional software channel so that Nagios XI can install the necessary prerequisites using one of the commands below:

RHEL 6.x

Code: Select all

yum install -y yum-utils
yum-config-manager --enable rhel-6-server-optional-rpms


RHEL 7.x

Code: Select all

yum install -y yum-utils
yum-config-manager --enable rhel-7-server-optional-rpms
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: rhn-channel command not found

Post by mcapra »

You might also try installing the rhn-setup package:

Code: Select all

[root@ahri ~]# yum whatprovides rhn-channel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftpmirror.your.org
 * extras: mirror.dal10.us.leaseweb.net
 * updates: mirror.compevo.com
base/7/x86_64/filelists_db                                                                                                                                                         | 6.9 MB  00:00:00
extras/7/x86_64/filelists_db                                                                                                                                                       | 595 kB  00:00:00
updates/7/x86_64/filelists_db                                                                                                                                                      | 2.9 MB  00:00:00
rhn-setup-2.0.2-21.el7.noarch : Configure and register an Red Hat Satellite client
Repo        : base
Matched from:
Filename    : /usr/sbin/rhn-channel
The package seems to be available in Base.
Former Nagios employee
https://www.mcapra.com/
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: rhn-channel command not found

Post by npolovenko »

Thanks, @jforcier and @mcapra!
@sensahin, Let us know if your problem has been resolved.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked