- 论坛徽章:
- 0
|
我在RH8。0和RH9。0上,想升级系统包,使用RHN,结果都不可以,错误信息如下:
(好象在X下可以的,但是我在命令行方式下,怎么运行都搞不定)
9。0的错误信息
[root@rh9 etc]# rhnreg_ks --username=xxx --password=1111111 --email=aaa@163.com
Traceback (most recent call last):
File "/usr/sbin/rhnreg_ks", line 304, in ?
main()
File "/usr/sbin/rhnreg_ks", line 255, in main
ret = rhnreg.reserveUser(username, password)
File "/usr/share/rhn/up2date_client/rhnreg.py", line 198, in reserveUser
ret = rpcServer.doCall(s.registration.reserve_user, username, password)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 114, in doCall
ret = apply(method, args, kwargs)
File "/usr/lib/python2.2/xmlrpclib.py", line 821, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.2/site-packages/rhn/rpclib.py", line 126, in _request
verbose=self._verbose
File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 130, in request
headers, fd = req.send_http(host, handler)
File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 614, in send_http
headers=self.headers)
File "/usr/lib/python2.2/httplib.py", line 701, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.2/httplib.py", line 723, in _send_request
self.endheaders()
File "/usr/lib/python2.2/httplib.py", line 695, in endheaders
self._send_output()
File "/usr/lib/python2.2/httplib.py", line 581, in _send_output
self.send(msg)
File "/usr/lib/python2.2/httplib.py", line 560, in send
self.sock.sendall(str)
File "/usr/lib/python2.2/site-packages/rhn/SSL.py", line 191, in write
sent = self._connection.send(data)
SSL.Error: [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]
[root@rh9 etc]#
8。0的错误信息:
[root@localhost rh8]# rhnreg_ks --username=xxx --password=1111111 --email=aaa@163.com
Traceback (most recent call last):
File "/usr/sbin/rhnreg_ks", line 294, in ?
main()
File "/usr/sbin/rhnreg_ks", line 248, in main
ret = rhnreg.reserveUser(username, password)
File "/usr/share/rhn/up2date_client/rhnreg.py", line 188, in reserveUser
ret = rpcServer.doCall(s.registration.reserve_user, username, password)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 107, in doCall
ret = apply(method, args, kwargs)
File "/usr/lib/python2.2/xmlrpclib.py", line 821, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.2/site-packages/rhn/rpclib.py", line 126, in _request
verbose=self._verbose
File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 118, in request
headers, fd = req.send_http(host, handler)
File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 602, in send_http
headers=self.headers)
File "/usr/lib/python2.2/httplib.py", line 537, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.2/httplib.py", line 553, in _send_request
self.putrequest(method, url)
File "/usr/lib/python2.2/httplib.py", line 453, in putrequest
self.send(str)
File "/usr/lib/python2.2/httplib.py", line 407, in send
self.sock.sendall(str)
File "/usr/lib/python2.2/site-packages/rhn/SSL.py", line 185, in write
sent = self._connection.send(data)
SSL.Error: [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]
[root@localhost rh8]# |
|