zoukankan      html  css  js  c++  java
  • rhel7, redhat 8注册失败 Registering to: subscription.rhsm.redhat.com:443/subscription Network error

    运行rhel7注册出错,连不上注册服务器,无法解析该域名,但是我的虚拟机是可以上网的,能ping能百度。 

    [root@foundation0 ~]# subscription-manager register --username=username --password=yourpassword --auto-attach
    Registering to: subscription.rhsm.redhat.com:443/subscription
    Network error, unable to connect to server. Please see /var/log/rhsm/rhsm.log for more information.
    [root@foundation0 ~]# ping subscription.rhsm.redhat.com
    ping: subscription.rhsm.redhat.com: Name or service not known
    [root@foundation0 ~]# ping www.baidu.com
    PING www.a.shifen.com (163.177.151.109) 56(84) bytes of data.
    64 bytes from 163.177.151.109 (163.177.151.109): icmp_seq=1 ttl=50 time=4.94 ms
    64 bytes from 163.177.151.109 (163.177.151.109): icmp_seq=2 ttl=50 time=12.9 ms
    64 bytes from 163.177.151.109 (163.177.151.109): icmp_seq=3 ttl=50 time=5.20 ms
    

    切到我的物理机,ping下subscription.rhsm.redhat.com,可以ping通。

    Microsoft Windows [版本 10.0.18970.1005]
    (c) 2019 Microsoft Corporation。保留所有权利。
     
    C:Usershuangshumao>ping subscription.rhsm.redhat.com
     
    正在 Ping subscription.rhsm.redhat.com [209.132.183.108] 具有 32 字节的数据:
    来自 209.132.183.108 的回复: 字节=32 时间=195ms TTL=235
    来自 209.132.183.108 的回复: 字节=32 时间=193ms TTL=235
    来自 209.132.183.108 的回复: 字节=32 时间=193ms TTL=235
    来自 209.132.183.108 的回复: 字节=32 时间=196ms TTL=235
     
    209.132.183.108 的 Ping 统计信息:
        数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
    往返行程的估计时间(以毫秒为单位):
        最短 = 193ms,最长 = 196ms,平均 = 194ms
    

      

    回到虚拟机,添加host记录

    回到虚拟机,添加host记录
    

    重新运行注册,bigo注册成功。

  • 相关阅读:
    【自用】【做题日记6】CTFHUB-文件上传
    【自用】【做题日记5】CTFHUB-XSS
    【自用】【做题日记4】CTFHUB-SQL注入
    【自用】【做题日记3】CTFHUB-密码口令
    【自用】【做题日记2】CTFHUB-信息泄露
    【自用】【做题日记1】CTFHUB-web前置技能
    前端-常用正则表达式
    ClashX 配置代理白名单
    http 网址 URL 特殊字符转义编码
    axios的post和request请求方法
  • 原文地址:https://www.cnblogs.com/wzihan/p/13114404.html
Copyright © 2011-2022 走看看