Hi team,
Today, I ran into issue trying to register RHEL 5.2 system with my
spacewalk instance.
Here is the command and output.
[r...@ix ~]#rhnreg_ks -v --username XXXXXXX --password XXXXXX
--serverUrl=http://patching.firstserv.com/XMLRPC
--activationkey=1-7f8e11a50ad4fc8ab229428520338f6e --nohardware --novirtinfo
An error has occurred:
While running 'registration.welcome_message': caught
exceptions.KeyError : 'xmlrpc'
See /var/log/up2date for more information
I think Handler Exception information will be helpful also
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 spacew...@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':'/XMLRPC/','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
I followed wiki instructions and thought it would be easy. Could you
tell me what's wrong?
P.S. Merry Christmas Team!
--
________________________________________
Kind regards,
Sergii Golovatiuk
Solutions Architect, Data Centre Automation & Virtualisation
Firstserv Limited
Website: http://firstserv.com
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
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list