如何注册Red Hat 5.9系统

如何注册Red Hat 5.9系统

我想知道是否有人有解决以下问题的方法:

我正在为基于 i386_64 的系统重新建立 Red Hat 订阅。

订阅已购买,而且我已经拥有红帽帐户十多年了,所以一切都很好。

我收到了一封确认电子邮件,其中提供了有关订阅的信息,并且权利显示在红帽网站上。

但是,我在电子邮件中发送的激活信息不是基于 Web 的激活所期望的形式,并且由于缺少依赖项,尝试安装订阅管理器失败。我无法获取这些依赖项,因为我无法在服务器或网站上注册。

这是尝试解压并安装订阅管理器的输出

[root@h2oamr subscription-manager]# tar xvf registration_update-rhel-5-rhsm.tar.gz && rpm -Uvh *.rpm --replacefiles
python-dateutil-1.2-3.el5.noarch.rpm
python-rhsm-1.11.3-5.el5.x86_64.rpm
subscription-manager-1.11.3-10.el5.x86_64.rpm
subscription-manager-firstboot-1.11.3-10.el5.x86_64.rpm
subscription-manager-gui-1.11.3-10.el5.x86_64.rpm
error: Failed dependencies:
        python-simplejson is needed by python-rhsm-1.11.3-5.el5.x86_64
        python-ethtool is needed by subscription-manager-1.11.3-10.el5.x86_64
        virt-what is needed by subscription-manager-1.11.3-10.el5.x86_64

任何建议,将不胜感激。是的,我确实有一张包含所有这些更新和 sosreport 的支持票。

编辑以回答答案。

yum 产生与开始此任务相同的错误。 CentOS 版本 5 的存储库在哪里?路径是什么?我会尝试一下。

[root@h2oamr ~]# yum install python-simplejson
Loaded plugins: rhnplugin, security
There was an error communicating with RHN.
RHN Satellite or RHN Classic support will be disabled.

Error Message:
    Service not enabled for system profile: "h2oamr.Arlington1.local"
Error Class Code: 31
Error Class Info: 
     This system does not have a valid entitlement for Red Hat Network.
     Please visit https://rhn.redhat.com/rhn/systems/SystemEntitlements.do
     or login at https://rhn.redhat.com, and from the "Your RHN" tab,
     select "Subscription Management" to enable RHN service for this system.
Explanation:
    Your organization does not have enough Management entitlements to register this
    system to Red Hat Network. Please notify your organization administrator of this error. 
    You should be able to register this system after your organization frees existing 
    or purchases additional entitlements. Additional entitlements may be purchased by your
    organization administrator by logging into Red Hat Network and visiting
    the 'Subscription Management' page in the 'Your RHN' section of RHN.

    A common cause of this error code is due to having mistakenly setup an
    Activation Key which is set as the universal default.  If an activation key is set
    on the account as a universal default, you can disable this key and retry to avoid
    requiring a Management entitlement.
Setting up Install Process
No package python-simplejson available.
Nothing to do
[root@h2oamr ~]# 

结语:

我按照 Red Hat 的说明使用 up2date 注册系统,但遇到了困难,因为我无法连接到他们的存储库。我今天重新尝试了一下,正在更新。

不过,我学到了一件事。一旦您购买了订阅,您就拥有它且无法退款,即使您无法使用该订阅(例如无法激活它),而且我是通过经销商购买了该订阅。

我跟着这个关联以便使用 up2date 激活订阅。

答案1

安装依赖项?

RHEL 5.9 处于生产阶段 3 结束阶段。因此yum应该可以运行。

首先尝试使用 获取依赖项yum,RedHat 仍应从存储库中提供它们,因为它们是订阅管理器的依赖项。换句话说:

yum install python-simplejson
yum install python-ethtool
yum install virt-what

如果yum无法操作,请继续阅读。

我没有运行 RHEL 5。但我可以很容易地从 CentOS 存储库中找到所需的 RPM。

python-rhsm似乎与注册更新捆绑在一起,所以您已经拥有了。

相关内容