Results 1 to 2 of 2
[root@mda-services ~]# rhn_register
An error has occurred:
exceptions.TypeError
See /var/log/up2date for more information
It asks for the username & password, I provide it, and it bombs out. That log says:
...
- 01-11-2010 #1
[SOLVED] RHEL 5.4 fresh install, can't rhn_register
[root@mda-services ~]# rhn_register
An error has occurred:
exceptions.TypeError
See /var/log/up2date for more information
It asks for the username & password, I provide it, and it bombs out. That log says:
[Mon Jan 11 17:18:04 2010] rhn_register
Traceback (most recent call last):
File "/usr/sbin/rhn_register", line 82, in ?
app.run()
File "/usr/share/rhn/up2date_client/rhncli.py", line 65, in run
sys.exit(self.main() or 0)
File "/usr/sbin/rhn_register", line 64, in main
ui.main()
File "/usr/share/rhn/up2date_client/tui.py", line 1721, in main
tui.run()
File "/usr/share/rhn/up2date_client/tui.py", line 1608, in run
if self._show_subscription_window() == False:
File "/usr/share/rhn/up2date_client/tui.py", line 1562, in _show_subscription_window
self.password)
File "/usr/share/rhn/up2date_client/rhnreg.py", line 588, in getRemainingSubscriptions
smbios)
File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in __call__
return rpcServer.doCall(method, *args, **kwargs)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 199, in doCall
ret = method(*args, **kwargs)
File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
return self.__send(self.__name, args)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 38, in _request1
ret = self._request(methodname, params)
File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 314, in _request
request = self._req_body(params, methodname)
File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 222, in _req_body
return xmlrpclib.dumps(params, methodname, encoding=self._encoding)
File "/usr/lib/python2.4/xmlrpclib.py", line 1029, in dumps
data = m.dumps(params)
File "/usr/lib/python2.4/xmlrpclib.py", line 603, in dumps
dump(v, write)
File "/usr/lib/python2.4/xmlrpclib.py", line 615, in __dump
f(self, value, write)
File "/usr/lib/python2.4/xmlrpclib.py", line 619, in dump_nil
raise TypeError, "cannot marshal None unless allow_none is enabled"
exceptions.TypeError: cannot marshal None unless allow_none is enabled
Googling turns up a bug from 2005 and a couple of other very vague references.
- 01-11-2010 #2
For the archives...
Looks like, as of RHEL5.4, you must be running haldaemon to register your system.


