rsx
(Roland Sommer)
May 27, 2021, 1:25pm
1
This is my first try to install icinga2 on RHEL (8.4) following Installation - Icinga 2 .
Running subscription-manager repos --enable rhel-8-server-optional-rpms
fails with this error:
Error: ‘rhel-8-server-optional-rpms’ does not match a valid repository ID. Use “subscription-manager repos --list” to see valid repositories.
Obviously not an icinga2 error. Is this an error in my environment or in the documentation?
dokon
(David Okon)
May 27, 2021, 7:27pm
2
Hi !
I guess it fails because you don’t have a valid RHEL subscription.
What does the output of the following Command say:
subscription-manager status
Does it look like this ?
+-------------------------------------------+
System Status Details
+-------------------------------------------+
Overall Status: Unknown
System Purpose Status: Unknown
Then there is no subscription attached.
More information on how to activate a rhel subscription is found here .
Even with a Developer License it is needed to activate the subscription to use the only then available repos.
Regards
David
rsx
(Roland Sommer)
May 28, 2021, 7:31am
3
I have registered the server:
# subscription-manager status
+-------------------------------------------+
System Status Details
+-------------------------------------------+
Overall Status: Current
System Purpose Status: Not Specified
dokon
(David Okon)
May 28, 2021, 7:42am
4
And does then the enabling of the server optional repo work with the command ?
subscription-manager repos --enable rhel-8-server-optional-rpms
You can see if it worked with
sudo subscription-manager repos --list-enabled
Which are active !
Regards
David
dokon
(David Okon)
May 28, 2021, 8:01am
5
Oh, My Bad … i investigated a little bit in the Red Hat forums i’ve blanked out that there was a change in the Red Hat Repo Structure. I think there is no server-optional-rpms anymore.
According to the following Post:
There is still the EPEL Part
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm"
And then the missing stuff might be included in
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
I think this also might be helpful for the Service level and attachment
https://computingforgeeks.com/enable-codeready-builder-repo-on-rhel/#:~:text=CodeReady%20Linux%20Builder%20Repository%20can%20be%20enabled%20on%20RHEL%208,is%20enabled%20for%20this%20system .
Regards
David
rsx
(Roland Sommer)
May 28, 2021, 9:24am
6
Ok, the documentation will then need an update? Will you open an issue? (I could do it as well, however, I’m a RHEL novice)
dokon
(David Okon)
May 28, 2021, 11:37am
7
No Problem, Thanks making that aware to us. i will raise in internal request for a change.
This might be the shortest way to resolve this in the Documentation.
Regards
David
1 Like
dokon
(David Okon)
May 28, 2021, 1:58pm
8
Seems to be already corrected. But isn’t updated in the actual Website.
You could take a look here.
# Installation <a id="installation"></a>
This tutorial is a step-by-step introduction to installing [Icinga 2](02-installation.md#setting-up-icinga2)
and [Icinga Web 2](02-installation.md#setting-up-icingaweb2).
It assumes that you are familiar with the operating system you're using to install Icinga 2.
In case you are upgrading an existing setup, please ensure to
follow the [upgrade documentation](16-upgrading-icinga-2.md#upgrading-icinga-2).
## Setting up Icinga 2 <a id="setting-up-icinga2"></a>
First off you have to install Icinga 2. The preferred way of doing this
is to use the official package repositories depending on which operating system
and distribution you are running.
Official repositories ([support matrix](https://icinga.com/subscription/support-details/)):
Distribution | Repository
------------------------|---------------------------
Debian | [Icinga Repository](https://packages.icinga.com/debian/)
This file has been truncated. show original