Translated message

A translation of this page exists in English.

チャンネルを追加すると rhn-channel がエラーメッセージを表示する

Solution Verified - Updated -


  • システムを登録してから、以下のコマンドを実行してチャンネルを追加します。
 # rhn-channel --add --channel=rhel-x86_64-server-optional-6
  • このコマンドを実行し、RHN の ID とパスワードを入力すると以下のエラーが表示され、チャンネルを追加できません。

     <type 'exceptions.TypeError'>
     In /var/log/up2date, following error is logged:
     Traceback (most recent call last):
       File "/usr/sbin/rhn-channel", line 159, in <module>
       File "/usr/sbin/rhn-channel", line 122, in main
         result = subscribeChannels(, OPTIONS.user, OPTIONS.password)
       File "/usr/share/rhn/up2date_client/", line 128, in subscribeChannels
       File "/usr/share/rhn/up2date_client/", line 51, in __call__
         return rpcServer.doCall(method, *args, **kwargs)
       File "/usr/share/rhn/up2date_client/", line 206, in doCall
         ret = method(*args, **kwargs)
       File "/usr/lib64/python2.6/", line 1199, in __call__
         return self.__send(self.__name, args)
       File "/usr/share/rhn/up2date_client/", line 39, in _request1
         ret = self._request(methodname, params)
       File "/usr/lib/python2.6/site-packages/rhn/", line 379, in _request
         request = self._req_body(self._strip_characters(params), methodname)
       File "/usr/lib/python2.6/site-packages/rhn/", line 234, in _req_body
         return xmlrpclib.dumps(params, methodname, encoding=self._encoding)
       File "/usr/lib64/python2.6/", line 1132, in dumps
         data = m.dumps(params)
       File "/usr/lib64/python2.6/", line 677, in dumps
         dump(v, write)
       File "/usr/lib64/python2.6/", line 699, in __dump
         f(self, value, write)
       File "/usr/lib64/python2.6/", line 703, in dump_nil
         raise TypeError, "cannot marshal None unless allow_none is enabled"
     <type 'exceptions.TypeError'>: cannot marshal None unless allow_none is enabled

    (1) このエラーが表示された理由は?
    (2) システムにチャンネルを正しく追加する方法は?


  • Red Hat Enterprise Linux 6 Update 3
  • アーキテクチャ: x86_64
  • パッケージバージョン: rhn-setup-1.0.0-87.el6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In