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注册成功。

  • 相关阅读:
    workerman定时器使用
    php foreach 传值还是传引用
    VPS技术介绍以及分析
    Xen、Openvz、KVM有什么区别?
    别说你会用 Google 搜索
    射手网字幕打包下载(73.16G)
    Windows Server 2003 激活码及激活方法
    Linux VPS 基本命令
    mysql 错误代码汇总
    SQL Server 2008 序列号
  • 原文地址:https://www.cnblogs.com/wzihan/p/13114404.html
Copyright © 2011-2022 走看看