Page 1 of 1

rhn-channel command not found

Posted: Mon Sep 10, 2018 1:33 am
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

Re: rhn-channel command not found

Posted: Mon Sep 10, 2018 10:29 am
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

Re: rhn-channel command not found

Posted: Mon Sep 10, 2018 11:03 am
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.

Re: rhn-channel command not found

Posted: Mon Sep 10, 2018 2:57 pm
by npolovenko
Thanks, @jforcier and @mcapra!
@sensahin, Let us know if your problem has been resolved.