[Spacewalk-list] Error registering clients, CentOS 5.2, Spacewalk 0.2

Devan Goodwin dgoodwin at redhat.com
Fri Nov 7 13:01:50 UTC 2008


-----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/spacewalk at xe 
SQL> alter system set processes = 400 scope=spfile; 
System altered. 
SQL> commit;
Commit complete. 
SQL> quit  
# /sbin/service oracle-xe restart 

Devan


On Wed, 05 Nov 2008 17:24:20 -0200
Adrián Márques <amarques at geocom.com.uy> wrote:

> Ex '[Spacewalk-list] Missing dependency: package python(abi) = 2.5 is 
> required by package rhnlib'. Renaming the subject since the previous
> one turned out to be just a goose chase.
> 
> Thanks a lot Devan for your response.
> I feel soooooooo dumb: due to careless copy/pasting I was trying to 
> update from the Fedora repo. I apologize for taking your time for
> such a stupid mistake.
> 
> I still can't register clients on my new server though... The
> tracebacks complain about not being connected to Oracle, but other
> operations that access the database work just fine, like creating
> channels or pushing packages. Just in case I rechecked the db-related
> config and found nothing missing. I also, just in case, tried to
> register a client that hadn't been previously registered with a
> spacewalk server and got the same result.
> 
> As additional info, the systems appear on the server half way 
> registered: they turn up, list basic info such as OS and hardware and 
> are registered with the base channel asociated to my activation key,
> but their package profile is missing, and of course, on the client
> side the registration failed.
> 
> I'm posting my repos config and the traceback in case someone has any 
> idea about what could be going on here. I get 5 traceback mails 
> generated by a single registration attempt, but they seem to all have 
> the same info.
> 
> Thanks!!
> 
> The spacewalk repo for my clients:
> 
> [spacewalk-client-tools]
> name=Spacewalk Client Tools - $basearch
> baseurl=http://stahnma.fedorapeople.org/spacewalk-tools/$releasever/$basearch
> failovermethod=priority
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/SPACEWALK-CLIENT-TOOLS-RPM-GPG-KEY
> 
> The spacewalk repo for my server:
> 
> [spacewalk]
> name=Spacewalk
> baseurl=http://spacewalk.redhat.com/yum/0.2/rhel/5Server/i386/
> gpgkey=http://spacewalk.redhat.com/yum/RPM-GPG-KEY-spacewalk
> enabled=1
> gpgcheck=1
> 
> TRACEBACK
> ===========
> 
> xception reported from spacewalk2.geocom.com.uy
> Time: Wed Nov  5 14:05:10 2008
> Exception type cx_Oracle.DatabaseError
> Exception while handling function handler
> Request object information:
> URI: /XMLRPC
> Remote Host: 192.168.254.111
> Server Name: spacewalk2.geocom.com.uy:0
> Headers passed in:
> 	Accept-Encoding: identity
> 	Content-Length: 234284
> 	Host: spacewalk2.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:
> Unhandled exception type
> 
> Exception Handler Information
> Traceback (most recent call last):
>   File "/usr/share/rhn/server/apacheServer.py", line 57, in __call__
>     ret = f(req)
>   File "/usr/share/rhn/server/apacheHandler.py", line 201, in handler
>     rhnSQL.rollback()
>   File "/usr/share/rhn/server/rhnSQL/__init__.py", line 150, in
> rollback return db.rollback(name)
>   File "/usr/share/rhn/server/rhnSQL/int_oracle.py", line 402, in
> rollback return self.dbh.rollback()
> DatabaseError: ORA-03114: not connected to ORACLE
> 
> 
> Local variables by frame
> Frame rollback in /usr/share/rhn/server/rhnSQL/int_oracle.py at line
> 402 self = <type 'instance'> <server.rhnSQL.driver_cx_Oracle.Database
> instance at 0xb7b73a2c> name = <type 'NoneType'> None
> 
> Frame rollback in /usr/share/rhn/server/rhnSQL/__init__.py at line 150
> 	                  db = <type 'instance'>
> <server.rhnSQL.driver_cx_Oracle.Database instance at 0xb7b73a2c> name
> = <type 'NoneType'> None
> 
> Frame handler in /usr/share/rhn/server/apacheHandler.py at line 201
> 	                   h = <type 'instance'>
> <__builtin__.OracleCursor on <cx_Oracle.Connection to spacewalk at xe>>
> self = <type 'instance'> <server.apacheHandler.apacheHandler instance
> at 0xb7c414ec> req = <type 'mp_request'> <mp_request object at
> 0xb7eecd2c> ret = <type 'int'> 0 templateStrings = <type 'dict'>
> 0xb7eecd2c> {'email_account_info': '\nAccount Information:\n  Your
> 0xb7eecd2c> Spacewalk login:         <login />\n  Your Spacewalk
> 0xb7eecd2c> email address: <email-address />', 'email_footer': '--the
> 0xb7eecd2c> Spacewalk Team', 'hostname': 'spacewalk2.geocom.com.uy'}
> 	                 row = <type 'NoneType'> None
> 
> Frame __call__ in /usr/share/rhn/server/apacheServer.py at line 62
> 	                self = <type 'instance'>
> <server.apacheServer.HandlerWrap instance at 0xb7cfc26c> req = <type
> 'mp_request'> <mp_request object at 0xb7eecd2c> f = <type
> 'instancemethod'> <bound method apacheHandler.handler of
> <server.apacheHandler.apacheHandler instance at 0xb7c414ec>>
> 
> Frame HandlerDispatch
> in /usr/lib/python2.4/site-packages/mod_python/apache.py at line 299
> req = <type 'mp_request'> <mp_request object at 0xb7eecd2c> config =
> <type 'mp_table'> {'PythonInterpreter': 'rhn.server', 'PythonPath':
> 'sys.path+['/usr/share/rhn']'} self = <type 'instance'>
> <mod_python.apache.CallBack instance at 0xb7ef9aac> object = <type
> 'instance'> <server.apacheServer.HandlerWrap instance at 0xb7cfc26c>
> 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=8329 on exception:
> COLORTERM = gnome-terminal
> DBUS_SESSION_BUS_ADDRESS =
> unix:abstract=/tmp/dbus-u6LvmZcmja,guid=26b71149e1f10b7d995f422cedaf3500
> DESKTOP_SESSION = default DESKTOP_STARTUP_ID = 
> DISPLAY = :0.0
> GDMSESSION = default
> GDM_XSERVER_LOCATION = local
> GNOME_DESKTOP_SESSION_ID = Default
> GNOME_KEYRING_SOCKET = /tmp/keyring-XcUMlK/socket
> GTK_RC_FILES = /etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2
> G_BROKEN_FILENAMES = 1
> HISTSIZE = 1000
> HOME = /root
> HOSTNAME = spacewalk2.geocom.com.uy
> INPUTRC = /etc/inputrc
> LANG = C
> LD_LIBRARY_PATH
> = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib:
> LESSOPEN = |/usr/bin/lesspipe.sh %s LOGNAME = root
> LS_COLORS =
> no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
> MAIL = /var/spool/mail/root NLS_LANG = english.AL32UTF8
> ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
> ORACLE_SID = XE
> PATH
> = /sbin:/usr/sbin:/bin:/usr/bin:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin
> PERL_BADFREE = 0 PWD = /opt
> SESSION_MANAGER = local/spacewalk2.geocom.com.uy:/tmp/.ICE-unix/7009
> SHELL = /bin/bash
> SHLVL = 4
> SSH_AGENT_PID = 7043
> SSH_ASKPASS = /usr/libexec/openssh/gnome-ssh-askpass
> SSH_AUTH_SOCK = /tmp/ssh-CDzenw7009/agent.7009
> TERM = xterm
> USER = root
> WINDOWID = 48234577
> XAUTHORITY = /tmp/.gdmWDTDKU
> XMODIFIERS = @im=none
> 
> _ = /usr/sbin/httpd
> 
> 
> 
> Devan Goodwin escribió:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Tue, 04 Nov 2008 17:12:46 -0200
> > Adrián Márques <amarques at geocom.com.uy> wrote:
> >
> >   
> >> Hey there,
> >>
> >> I have a CentOS 5.2 client that was registered with a spacewalk
> >> 0.1 server. When I tried to register it against another v0.2
> >> server specifying the --force option for rhnreg_ks the
> >> registration failed with 'Internal server error' and I received 5
> >> traceback mails. 
> >
> > What were the contents of those traceback emails?
> >
> >   
> >> I assumed that the problem was that I needed to update
> >> spacewalk-related packages on the client to those of release 0.2,
> >> but when I try to do so the update fails due to my python version:
> >>
> >> 'Missing dependency: package python(abi) = 2.5 is required by
> >> package rhnlib'
> >>
> >> Thing is, python-2.5 RPMs for CentOS are nowhere to be found; the
> >> latest available released  version is 2.4.3-21.el5. How should I
> >> work this out? Do I install a Fedora python-2.5 RPM? Can I update
> >> rhnlib ignoring dependencies and expect it to work just fine with
> >> my current version of python?
> >>     
> >
> > I would guess none of the above. :) Upgrading Python is probably not
> > the best way to solve the problem. Could you provide the contents of
> > your spacewalk.repo on this Cent OS client? Something seems strange.
> >
> > Cheers,
> >
> > Devan 
> >
> >
> > - -- 
> > Devan Goodwin <dgoodwin at redhat.com>
> > Software Engineer - Spacewalk / RHN Satellite
> > Halifax, Canada            650.567.9039x79267
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.9 (GNU/Linux)
> >
> > iEYEARECAAYFAkkRuHUACgkQAyHWaPV9my425ACfQFvToP3VUTA2BqPPwQnbbM3t
> > r1gAn2zFsUMLwScegiT3mDYya0ug4z4R
> > =RVHB
> > -----END PGP SIGNATURE-----
> >   
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list


- -- 
Devan Goodwin <dgoodwin at redhat.com>
Software Engineer - Spacewalk / RHN Satellite
Halifax, Canada            650.567.9039x79267
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkkUPEIACgkQAyHWaPV9my6DtQCg7KyZVI8x/jRGS0tsyVAt2Rse
dokAn2mH40ey6BZ+Cb1l4GKr8NEpg7zA
=4+oi
-----END PGP SIGNATURE-----




More information about the Spacewalk-list mailing list