needs-restarting 工具失败,并显示 Could not resolve host: rhui3.REGION.aws.ce.redhat.com on AWS EC2 instance
Issue
needs-restarting工具失败,并显示 Could not resolve host: rhui3.REGION.aws.ce.redhat.com on AWS EC2 instance-
/bin/needs-restarting工具无法访问 AWS EC2 中的 RHUI 存储库,并抛出不同的错误。[root@ip-10-0-0-17 ~]# needs-restarting -s Could not retrieve mirrorlist https://rhui3.REGION.aws.ce.redhat.com/pulp/mirror/protected/rhui-client- config/rhel/server/7/x86_64/os error was 14: curl#6 - "Could not resolve host: rhui3.REGION.aws.ce.redhat.com; Unknown error" Cannot find a valid baseurl for repo: rhui-client-config-server-7/x86_64 [root@ip-10-0-0-17 ~]#[root@ip-10-0-0-17 ~]# needs-restarting -s failure: repodata/aeb68de97a3a74e9d1986e94cce8c01e51fc732f857012b0f5522d7a98bd82d7-filelists.xml.gz from rhui-client-config-server-7: [Errno 256] No more mirrors to try. https://rhui3.us-east-1.aws.ce.redhat.com/pulp/repos/protected/rhui-client-config/rhel/server/7/x86_64/os/repodata/aeb68de97a3a74e9d1986e94cce8c01e51fc732f857012b0f5522d7a98bd82d7-filelists.xml.gz: [Errno 14] HTTPS Error 403 - Forbidden
Environment
- Red Hat Enterprise Linux 服务器
- Amazon Web Services EC2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.