免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1214 | 回复: 3
打印 上一主题 下一主题

急问一个关于RHN自动更新的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-05-03 18:02 |只看该作者 |倒序浏览
我在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]#

论坛徽章:
0
2 [报告]
发表于 2004-05-03 21:02 |只看该作者

急问一个关于RHN自动更新的问题

补充,如果这些都搞定了,还有一关要过!
就是你必须得激活RH,你必须有一个正版的序列号才行:(

还不如用APT来的方便了。我是不打算用了

论坛徽章:
0
3 [报告]
发表于 2004-05-04 02:21 |只看该作者

急问一个关于RHN自动更新的问题

不会吧?记得去年时候系统升级,就用RHN的,好象没有要求输入SN的吧??这个到底怎么搞呢?没人知道吗?

论坛徽章:
0
4 [报告]
发表于 2004-05-04 07:03 |只看该作者

急问一个关于RHN自动更新的问题

论坛以前的贴子里有新的up2date的下载地址,我懒得找了。下了以后运行up2date --register,再up2date -u就可以了,不过耗时久,不如用apt试试。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP