Hi, I’ve tried to register a client on spacewalk following the instructions on https://fedorahosted.org/spacewalk/wiki/RegisteringClients. The client runs on VMware, but I don’t think this is the reason. Rhel-instnum is installed on the server.
Thx, Oswald Command on client [EMAIL PROTECTED] ~]# rhnreg_ks --force --serverUrl=http://server.siag.it/XMLRPC/ --activationkey=1-0fe1f330d475470eb049e9e17eeb344b An error has occurred: While running 'registration.welcome_message': caught exceptions.KeyError : 'xmlrpc' See /var/log/up2date for more information Log on client [EMAIL PROTECTED] ~]# cat /var/log/up2date [Sat Sep 13 10:24:23 2008] up2date Error communicating with server. The message was: While running 'registration.welcome_message': caught exceptions.KeyError : 'xmlrpc' [Sat Sep 13 10:24:23 2008] up2date Traceback (most recent call last): File "/usr/sbin/rhnreg_ks", line 267, in ? cli.run() File "rhncli.py", line 65, in run File "/usr/sbin/rhnreg_ks", line 88, in main rhnreg.getCaps() File "rhnreg.py", line 324, in getCaps File "rhnserver.py", line 154, in __get_capabilities File "rhnserver.py", line 52, in __call__ up2date_client.up2dateErrors.CommunicationError: Error communicating with server. The message was: While running 'registration.welcome_message': caught exceptions.KeyError : 'xmlrpc' Log on server [EMAIL PROTECTED] Desktop]# cat /var/log/httpd/access_log 10.150.54.11 - - [19/Sep/2008:08:52:14 +0200] "POST /XMLRPC/ HTTP/1.1" 200 339 "-" "rhn.rpclib.py/$Revision: 102540 $" Mail from server: Exception reported from server.siag.it Time: Fri Sep 19 08:52:14 2008 Exception type exceptions.KeyError Exception while handling function registration.welcome_message Request object information: URI: /XMLRPC/ Remote Host: 10.150.54.11 Server Name: client-test.siag.it:0 Headers passed in: Accept-Encoding: identity Content-Length: 122 Host: server.siag.it content-type: text/xml user-agent: rhn.rpclib.py/$Revision: 102540 $ x-client-version: 1 x-info: RPC Processor (C) Red Hat, Inc (version 102540) x-rhn-client-capability: packages.verifyAll(1)=1,caneatCheese(1)=1,packages.extended_profile(1)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1)=1,packages.rollBack(1)=1 x-rhn-transport-capability: follow-redirects=2 x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc (version 102540) x-up2date-version: 0.4.17-8 Extra information about this error: Response sent back to the caller: While running 'registration.welcome_message': caught exceptions.KeyError : 'xmlrpc' 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 0xb7c7ceec> method = <type 'str'> 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 0xb7c7ceec> force_rollback = <type 'int'> 1 method = <type 'str'> registration.welcome_message params = <type 'tuple'> () e_type = <type 'classobj'> exceptions.KeyError e_value = <type 'instance'> 'xmlrpc' response = <type 'instance'> <Fault 1: "While running 'registration.welcome_message': caught\nexceptions.KeyError : 'xmlrpc'\n"> Frame process in /usr/share/rhn/server/apacheRequest.py at line 471 fd = <type 'instance'> <cStringIO.StringO object at 0xbef2a80> _body = <type 'str'> <?xml version='1.0'?> <methodCall> <methodName>registration.welcome_message</methodName> <params> </params> </methodCall> params = <type 'tuple'> () method = <type 'str'> registration.welcome_message self = <type 'instance'> <server.apacheRequest.apachePOST instance at 0xb7c7ceec> Frame handler in /usr/share/rhn/server/apacheHandler.py at line 198 h = <type 'instance'> <__builtin__.OracleCursor on <cx_Oracle.Connection to [EMAIL PROTECTED]>> self = <type 'instance'> <server.apacheHandler.apacheHandler instance at 0xb7c8510c> req = <type 'mp_request'> <mp_request object at 0xb5e150c> 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': 'client-test.siag.it'} row = <type 'NoneType'> None Frame __call__ in /usr/share/rhn/server/apacheServer.py at line 57 self = <type 'instance'> <server.apacheServer.HandlerWrap instance at 0xb7d4476c> req = <type 'mp_request'> <mp_request object at 0xb5e150c> f = <type 'instancemethod'> <bound method apacheHandler.handler of <server.apacheHandler.apacheHandler instance at 0xb7c8510c>> Frame HandlerDispatch in /usr/lib/python2.4/site-packages/mod_python/apache.py at line 299 req = <type 'mp_request'> <mp_request object at 0xb5e150c> config = <type 'mp_table'> {'PythonInterpreter': 'rhn.server', 'PythonPath': 'sys.path+['/usr/share/rhn']'} self = <type 'instance'> <mod_python.apache.CallBack instance at 0xb7efc76c> object = <type 'instance'> <server.apacheServer.HandlerWrap instance at 0xb7d4476c> 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=4202 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
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
