Linux/RedHat
Red Hat Network error.
bong2.
2025. 1. 24. 08:49
레드햇 구독권 등록 과정에서 아래와 같이 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