<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi team,<br>
<br>
Today, I ran into issue trying to register RHEL 5.2 system with my
spacewalk instance.<br>
<br>
Here is the command and output.<br>
<br>
[root@ix ~]#rhnreg_ks -v --username XXXXXXX --password XXXXXX
--serverUrl=<a class="moz-txt-link-freetext" href="http://patching.firstserv.com/XMLRPC">http://patching.firstserv.com/XMLRPC</a>
--activationkey=1-7f8e11a50ad4fc8ab229428520338f6e --nohardware
--novirtinfo<br>
An error has occurred:<br>
While running 'registration.welcome_message': caught<br>
exceptions.KeyError : 'xmlrpc'<br>
<br>
See /var/log/up2date for more information<br>
<br>
<br>
I think Handler Exception information will be helpful also<br>
<br>
<pre wrap="">Exception Handler Information
Traceback (most recent call last):
File "/usr/share/rhn/server/apacheRequest.py", line 118, in call_function
func = self.method_ref(method)
File "/usr/share/rhn/server/apacheRequest.py", line 413, in method_ref
classes = self.servers[self.server]
KeyError: 'xmlrpc'
Local variables by frame
Frame method_ref in /usr/share/rhn/server/apacheRequest.py at line 413
self = <type 'instance'> <server.apacheRequest.apachePOST instance at 0xbe1b74c>
method = <type 'unicode'> registration.welcome_message
Frame call_function in /usr/share/rhn/server/apacheRequest.py at line 135
fault = <type 'int'> 1
self = <type 'instance'> <server.apacheRequest.apachePOST instance at 0xbe1b74c>
force_rollback = <type 'int'> 1
method = <type 'unicode'> registration.welcome_message
params = <type 'tuple'> ()
e_type = <type 'classobj'> exceptions.KeyError
e_value = <type 'instance'> 'xmlrpc'
response = <type 'instance'> <Fault 1: u"While running 'registration.welcome_message': caught\nexceptions.KeyError : 'xmlrpc'\n">
Frame process in /usr/share/rhn/server/apacheRequest.py at line 473
fd = <type 'instance'> <cStringIO.StringO object at 0xb34ffb60>
_body = <type 'str'> <?xml version='1.0'?>
<methodCall>
<methodName>registration.welcome_message</methodName>
<params>
</params>
</methodCall>
params = <type 'tuple'> ()
method = <type 'unicode'> registration.welcome_message
self = <type 'instance'> <server.apacheRequest.apachePOST instance at 0xbe1b74c>
Frame handler in /usr/share/rhn/server/apacheHandler.py at line 198
h = <type 'instance'> <__builtin__.OracleCursor on <cx_Oracle.Connection to spacewalk@xe>>
self = <type 'instance'> <server.apacheHandler.apacheHandler instance at 0xb34ffdcc>
req = <type 'mp_request'> <mp_request object at 0xbcdd77c>
ret = <type 'int'> 0
templateStrings = <type 'dict'> {'email_account_info': '\nAccount Information:\n Your Spacewalk login: <login />\n Your Spacewalk email address: <email-address />', 'email_footer': '--the Spacewalk Team', 'hostname': 'XXXXXXXXXXXXXX'}
row = <type 'NoneType'> None
Frame __call__ in /usr/share/rhn/server/apacheServer.py at line 58
self = <type 'instance'> <server.apacheServer.HandlerWrap instance at 0xb35a5bac>
req = <type 'mp_request'> <mp_request object at 0xbcdd77c>
f = <type 'instancemethod'> <bound method apacheHandler.handler of <server.apacheHandler.apacheHandler instance at 0xb34ffdcc>>
Frame HandlerDispatch in /usr/lib/python2.4/site-packages/mod_python/apache.py at line 299
req = <type 'mp_request'> <mp_request object at 0xbcdd77c>
config = <type 'mp_table'> {'PythonInterpreter': 'rhn.server', 'PythonPath': 'sys.path+['/usr/share/rhn']'}
self = <type 'instance'> <mod_python.apache.CallBack instance at 0xb7db976c>
object = <type 'instance'> <server.apacheServer.HandlerWrap instance at 0xb35a5bac>
l = <type 'list'> ['server.apacheServer', 'Handler']
module = <type 'module'> <module 'server.apacheServer' from '/usr/share/rhn/server/apacheServer.pyc'>
hlist = <type 'mp_hlist'> {'handler:'server.apacheServer::Handler','directory':'<i
class="moz-txt-slash"><span class="moz-txt-tag">/</span>XMLRPC<span
class="moz-txt-tag">/</span></i>','silent':0}
object_str = <type 'str'> Handler
debug = <type 'int'> 0
module_name = <type 'str'> server.apacheServer
pathstring = <type 'str'> sys.path+['/usr/share/rhn']
result = <type 'int'> 500
Environment for PID=2629 on exception:
LANG = C
NLS_LANG = english.AL32UTF8
ORACLE_HOME = /opt/oracle
PATH = /sbin:/usr/sbin:/bin:/usr/bin
PERL_BADFREE = 0
PWD = /
SHLVL = 2
TERM = xterm
_ = /usr/sbin/httpd
</pre>
<br>
I followed wiki instructions and thought it would be easy. Could you
tell me what's wrong? <br>
<br>
P.S. Merry Christmas Team!<br>
<pre class="moz-signature" cols="100">--
________________________________________
Kind regards,
Sergii Golovatiuk
Solutions Architect, Data Centre Automation & Virtualisation
Firstserv Limited
Website: <a class="moz-txt-link-freetext" href="http://firstserv.com">http://firstserv.com</a>
Sales & Enquiries: +44 (0)20 7536 7930
Technical Support: +44 (0)870 609 4127
Fax: +44 (0)20 7536 7940
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Firstserv Limited. The recipient should check this email and any attachments for the presence of viruses. Firstserv Limited accepts no liability for any damage caused by any virus transmitted by this email.
Firstserv Limited is Registered in England at 13 Skylines, Limeharbour, London, E14 9TS. No. 3635623</pre>
</body>
</html>