Ok, I'm at my wit's end with this one...
The release of the new version was great timing, so I tried a fresh spacewalk
0.3 install, but I still can't register clients!!
I saw on sunday that the wiki had been modified to reflect that the oracle fix
that affected the Install New Package page was also needed for client
registration, so I thought 'This is what I was missing!!'. But alas, no, it
wasn't... I followed the instalaltion instructions to the letter, applying the
mentioned changes, but I'm still getting errors.
The error I get has changed though, it no longer says that it cannot connect to
Oracle, and before the system got halfway registered, now it doesn't appear on
the server at all. Another diffence is that before I got 5 tracebacks for a
single registration attempt, now I'm getting one.
I'd be tremendously grateful if anyone could point me in the right direction
here. I'm terribly frustrated, I've been trying to solve this for several days
now and have run out of options to try out.
I'm posting the traceback I'm getting.
Any comments are more than welcome; like I said, short of sacrificing a chicken
on top of my keyboard to appease the angry spacewalk gods, I don't know what
else to try...
Regards.
Adrián.
PS: congrats on the 0.3 release!
Exception reported from spacewalkv3.geocom.com.uy
Time: Tue Nov 11 09:24:20 2008
Exception type exceptions.KeyError
Exception while handling function registration.welcome_message
Request object information:
URI: /XMLRPC
Remote Host: 192.168.254.111
Server Name: spacewalkv3.geocom.com.uy:0
Headers passed in:
Accept-Encoding: identity
Content-Length: 122
Host: spacewalkv3.geocom.com.uy
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.el5
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 0xb7bdc5ac>
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 0xb7bdc5ac>
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
0xb7ab9560>
_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 0xb7bdc5ac>
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 0xb7bd5f4c>
req = <type 'mp_request'> <mp_request object at
0xb7e87d2c>
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':
'spacewalkv3.geocom.com.uy'}
row = <type 'NoneType'> None
Frame __call__ in /usr/share/rhn/server/apacheServer.py at line 58
self = <type 'instance'> <server.apacheServer.HandlerWrap
instance at 0xb7c7cc6c>
req = <type 'mp_request'> <mp_request object at
0xb7e87d2c>
f = <type 'instancemethod'> <bound method
apacheHandler.handler of <server.apacheHandler.apacheHandler instance at 0xb7bd5f4c>>
Frame HandlerDispatch in /usr/lib/python2.4/site-packages/mod_python/apache.py
at line 299
req = <type 'mp_request'> <mp_request object at
0xb7e87d2c>
config = <type 'mp_table'> {'PythonInterpreter':
'rhn.server', 'PythonPath': 'sys.path+['/usr/share/rhn']'}
self = <type 'instance'> <mod_python.apache.CallBack
instance at 0xb7e9484c>
object = <type 'instance'> <server.apacheServer.HandlerWrap
instance at 0xb7c7cc6c>
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=8475 on exception:
CONSOLE = /dev/pts/0
HOME = /
INIT_VERSION = sysvinit-2.86
LANG = C
NLS_LANG = english.AL32UTF8
ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
PATH =
/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin
PERL_BADFREE = 0
PREVLEVEL = N
PWD = /
RUNLEVEL = 5
SELINUX_INIT = YES
SHLVL = 3
TERM = linux
_ = /usr/sbin/httpd
previous = N
runlevel = 5
Adrián Márques escribió:
Yes sir. I'd done it, figured that might be it from the traceback
message and just in case did it again and retried the registration
before mailing to the list, but the error persisted.
I've reviewed the installation instructions several times and haven't
found what could be missing, so just in case I'm trying doing a fresh
install paying extra attention at not missing a single step. I'll let
you know how it goes.
In the meantime if anyone has any idea what could be wong, all
comments are welcome.
Thanks everyone for your attention, and thank you specially Devan for
your help.
Regards.
Adrián.
Devan Goodwin escribió:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm really not sure what to make of your error. Did you perform this
step from the install guide to up the number of simultaneous Oracle
connections allowed?
# sqlplus spacewalk/[EMAIL PROTECTED] SQL> alter system set processes =
400 scope=spfile; System altered. SQL> commit;
Commit complete. SQL> quit # /sbin/service oracle-xe restart
Devan
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list