Can't subscribe rhel 8.5 VM to subscription manager - subscription

All. I recently built a RHEL 8.5 (Ootpa) VM with all the bells and whistles in my home lab. II want to run yum update -y to see if there's a link between 8.6 and 8.5 not subscribing. Below is a copy of the output on my server:
[~]$ sudo subscription-manager attach --auto
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux for x86_64
Status: Not Subscribed
Unable to find available subscriptions for all your installed products.
[erik#RHEL85-1 ~]$ sudo subscription-manager list
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: Red Hat Enterprise Linux for x86_64
Product ID: 479
Version: 8.5
Arch: x86_64
Status: Not Subscribed
Status Details: Not supported by a valid subscription.
Starts:
Ends:
[~]$ sudo yum repolist
Updating Subscription Management repositories.
repo id repo name
packages-microsoft-com-prod packages-microsoft-com-prod
[~]$

Related

NRPE: Remote does not support Version 3 Packets

We are using Nagios XI with Nagios Core 4.4.5. We have updated clients to nrpe 4.0.3 agent. We get "Remote does not support Version 3 Packets" messages in the server log. How to solve this, shouldn't nrpe 4.0.3 support version 3 packets by default. Is there something missing in the configuration? We know that requests can be configured to use version 2, only, but using the newest version is better, isn't it?
EDIT:
nagios-server:~$ /usr/local/nagios/bin/nagios -h
Nagios Core 4.4.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-08-20
License: GPL
nagios-server:~$ cat /usr/local/nagiosxi/var/xiversion
full=5.6.7
major=5
minor=6.7
releasedate=2019-09-26
release=5607
Most likely you updated the NRPE client but did not update the plugins in the agent machine
Run these commands to check some plugins versions (nrpe, http, ping):
/usr/lib/nagios/plugins/check_nrpe --version
/usr/lib/nagios/plugins/check_http --version
/usr/lib/nagios/plugins/check_ping --version
Also run this command to check the nrpe daemon version:
/usr/sbin/nrpe-ng --version
Most likely you would get reported version below 3 so you will need to update the plugins.

What is the package name of Gnome Web / Epiphany?

I want to install Gnome web using command line on Ubuntu Deskop 1804. I cannot use software center. Using apt not snap.
Unfortunately Ubuntu software center does not display package names. Only version information.
I tried apt install epiphany, gnome-web-browser without result.
What is the package name of Gnome Web / Epiphany? This seems to be a carefully guarded secret.
The package name is epiphany-browser.
[onknows:~/git/tpelcm/ansible] master(+12/-7)* ± sudo apt-cache madison epiphany-browser
epiphany-browser | 3.28.6-0ubuntu1 | http://nl.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
epiphany-browser | 3.28.1-1ubuntu1 | http://nl.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

Cannot renew RHEL 7.6 Developer account subscription

I'm having problems renewing an RHEL Developer account subscription, which expired a few days ago.
I performed the following steps, but still, subscription-manager notifies me that: Unable to find available subscriptions for all your installed products.
[qa#brendan ~]$ sudo subscription-manager remove --all
0 subscriptions removed at the server.
[qa#brendan ~]$ sudo subscription-manager unregister
Unregistering from: subscription.rhsm.redhat.com:443/subscription
System has been unregistered.
[qa#brendan ~]$ sudo subscription-manager clean
All local data removed
[qa#brendan ~]$ sudo subscription-manager register
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: brendanjsonar
Password:
The system has been registered with ID: 7fe89b83-6ec2-423c-9476-062ab20d286a
The registered system name is: brendan.local
[qa#brendan ~]$ sudo subscription-manager refresh
All local data refreshed
[qa#brendan ~]$ sudo subscription-manager attach --auto
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status: Not Subscribed
Unable to find available subscriptions for all your installed products.
[qa#brendan ~]$
I also unregistered the system manually in https://access.redhat.com/management/systems, but the registration (with sudo subscription-manager register --username brendanjsonar --auto-attach) still complains Unable to find available subscriptions for all your installed products.
Any idea of how to renew my RHEL 7.6 system's registration?
Log into developers.redhat.com and re-up on the T&Cs.
Seems the problem was at RedHat.
I described the issue on https://access.redhat.com/discussions, and magically, after a few hours, I was able to renew my RHEL 7.6 Developer account subscription.
I would suggest you to first check with customer care of redhat or register for a new rhel developer account by using another email address .
Today my developer account subscription also ended .
So i registered with another email address & the issue is fixed .

Can't install sql server on amazon linux instance - Requires: systemd-units systemd and numactl-libs

I tried to install sql-serven on a medium Ec2 with amazon linux and I get errors with a few packages.
I was using following command: sudo yum install mssql-server
And I get this error:
Error: Package: mssql-server-14.0.3076.1-2.x86_64 (packages-microsoft-com-mssql-server-2017)
Requires: systemd-units
Error: Package: mssql-server-14.0.3076.1-2.x86_64 (packages-microsoft-com-mssql-server-2017)
Requires: systemd
Error: Package: mssql-server-14.0.3076.1-2.x86_64 (packages-microsoft-com-mssql-server-2017)
Requires: numactl-libs
When I tried to install the systemd-units package I got another error:
sudo yum install systemd-units
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main | 2.1 kB 00:00:00
amzn-updates | 2.5 kB 00:00:00
2 packages excluded due to repository priority protections
No package systemd-units available.
Error: Nothing to do
How can I solve this error?
Thanks in advance.
Sql-Server is not compatible with Amazon Linux 1, the only soltion for me was create an RDS.
SQL Server does install successfully on Amazon Linux 2, so if you make sure you're using an Amazon Linux 2 AMI to launch your instance you won't get those errors.
For example, in US N. Virginia the current Amazon Linux AMI is ami-035b3c7efe6d061d5, that will not work, but the current Amazon Linux 2 AMI is ami-0cc96feef8c6bbff3 and it does work - I have used it myself.

Amazon linux: No package pgbouncer available

trying to install pgbouncer on amazon met this:
[root#somehost ~]# uname -a
Linux somehost 4.4.35-33.55.amzn1.x86_64 #1 SMP Tue Dec 6 20:30:04 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root#somehost ~]# yum install pgbouncer
Loaded plugins: priorities, update-motd, upgrade-helper
No package pgbouncer available.
Error: Nothing to do
Went to github - found only compilable version. Googled and decided to post solution below
at The PostgreSQL Global Development Group repo copy link to your linux release (in my case Amazon Linux AMI 2015.03 - x86_64) and run:
rpm -Uvh https://download.postgresql.org/pub/repos/yum/9.3/redhat/rhel-6-x86_64/pgdg-ami201503-93-9.3-3.noarch.rpm
yum install pgbouncer
as result:
Installed:
pgbouncer.x86_64 0:1.7.2-6.rhel6

Resources