Why do I get traceback emails every day with the error - SQLConnectError: (12541, 'ORA-12541: TNS:no listener\n', 'rhnsat', 'Connection_Connect(): server attach')

Solution Verified - Updated -

Issue

  • Why do I get traceback emails every day with the error and how can we stop it ?
    Exception Handler Information
    Traceback (most recent call last):
      File "/usr/share/rhn/server/apacheHandler.py", line 84, in headerParserHandler
        rhnSQL.initDB()
      File "/usr/share/rhn/server/rhnSQL/__init__.py", line 118, in initDB
        __init__DB(backend, host, port, username, password, database)
      File "/usr/share/rhn/server/rhnSQL/__init__.py", line 59, in __init__DB
        __DB.check_connection()
      File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 489, in check_connection
        self.connect() # only allow one try
      File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 385, in connect
        raise apply(sql_base.SQLConnectError, err_args)
    SQLConnectError: (12541, 'ORA-12541: TNS:no listener\n', 'rhnsat', 'Connection_Connect(): server attach')

Environment

  • Red Hat Satellite v5.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content