[Spacewalk-list] rhnpush error -> ORA-12519: TNS:no appropriate service handler found

Santi Saez santi at hostalia.com
Tue Oct 28 17:51:00 UTC 2008


Dear Srs,

I get this error:

RHN 26118 2008/10/28 18:44:54 +02:00: ("DATABASE CONNECTION TO 'xe'  
LOST", "Exception information: 'NoneType' object has no attribute  
'cursor'")
RHN 26118 2008/10/28 18:44:54 +02:00: ('Connection attempt failed',  
12519, 'ORA-12519: TNS:no appropriate service handler found\n')

When I try to upload a simple RPM via rhnpush:

$ rhnpush -vvv --channel=centos5-base-x86 --server=http://localhost/ 
APP /root/CentOS5/strace-4.5.16-1.el5.1.i386.rpm

Connecting to http://localhost/APP
url is http://localhost/PACKAGE-PUSH
Result codes: 200 OK
Computing md5sum and package Info .This may take sometime ...
Internal Server Error

Apache full error_log is:

======================================================================== 
===============
Exception reported from spacewalk.example.net
Time: Tue Oct 28 18:44:54 2008
Exception type server.rhnSQL.sql_base.SQLConnectError
Request object information:
URI: /APP
Remote Host: 127.0.0.1
Server Name: spacewalk.example.net:0
Headers passed in:
         Accept-Encoding: identity
         Content-Length: 155
         Host: localhost
         content-encoding: x-gzip
         content-transfer-encoding: binary
         content-type: application/binary
         user-agent: rhn.rpclib.py/$Revision: 102540 $
         x-client-version: 1
         x-info: RPC Processor (C) Red Hat, Inc (version 102540)
         x-rhn-transport-capability: follow-redirects=2
         x-transport-info: Extended Capabilities Transport (C) Red  
Hat, Inc (version 102540)

Exception Handler Information
Traceback (most recent call last):
   File "/usr/share/rhn/server/apacheHandler.py", line 72, in  
headerParserHandler
     rhnSQL.initDB()
   File "/usr/share/rhn/server/rhnSQL/__init__.py", line 70, in initDB
     __init__DB(db)
   File "/usr/share/rhn/server/rhnSQL/__init__.py", line 53, in  
__init__DB
     __DB.check_connection()
   File "/usr/share/rhn/server/rhnSQL/int_oracle.py", line 418, in  
check_connection
     self.connect() # only allow one try
   File "/usr/share/rhn/server/rhnSQL/int_oracle.py", line 324, in  
connect
     raise apply(sql_base.SQLConnectError, err_args)
SQLConnectError: (12519, 'ORA-12519: TNS:no appropriate service  
handler found\n', 'xe', 'Connection_Connect(): server attach')

RHN 26118 2008/10/28 18:48:57 +02:00: ("DATABASE CONNECTION TO 'xe'  
LOST", "Exception information: 'NoneType' object has no attribute  
'cursor'")
RHN 26118 2008/10/28 18:48:57 +02:00: ('Connection attempt failed',  
12519, 'ORA-12519: TNS:no appropriate service handler found\n')
======================================================================== 
===============

What can I do to solve this?

Running Spacewalk on a CentOS 5 i386 box..

Regards,




More information about the Spacewalk-list mailing list