레드햇 구독권 등록 과정에서 아래와 같이 Network error가 발생하는 경우가 있다.
Network error 종류에 따라 해결 방법이 다르므로 아래 예시를 참고하여 해결해보자.
오류 : Network error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.
[root@localhost ~]# subscription-manager register --force
Unregistering from: subscription.rhsm.redhat.com:443/subscription
Network error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.
해결 방법
[root@localhost ~]# subscription-manager clean
All local data
오류 : Network error. HTTP error (400 - Bad Request)
[root@localhost ~]# subscription-manager register --force
Unregistering from: subscription.rhsm.redhat.com:443/subscription
Network error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.
# /var/log/rhsm/rhsm.log 확인 시 400 에러인 경우
해결 방법
[root@localhost ~]# cd /etc/pki/product/
[root@localhost product]# rm -rf product/
[root@localhost product]# cp /etc/pki/product-default/69.pem /etc/pki/product/
[root@localhost product]# rm -rf /etc/pki/consumer
[root@localhost product]# rm -rf /etc/pki/entitlement
[root@localhost product]# subscription-manager clean
[root@localhost product]# subscription-manager register
'Linux > RedHat' 카테고리의 다른 글
Red Hat Unknown server reply (0) | 2025.01.24 |
---|---|
Red Hat - Curl error (91) (0) | 2025.01.24 |
Red Hat Error: Failed to download metadata for repo (0) | 2025.01.24 |
Red Hat 서브스크립션(Subscription) 등록 방법 (0) | 2021.10.28 |
Red Hat 개발자 무료 구독권 설정 방법(Red Hat Developer Subscription for Individuals) (0) | 2021.10.28 |