satellite-sync fails with error "ORA-12154: TNS:could not resolve the connect identifier specified" even if database service is running properly.

Solution Verified - Updated -

Issue

  • satellite-sync command fails with bellow error , even if database is running properly
# satellite-sync 
RHN 29221 2013/06/26 08:52:10 -04:00: ('Connection attempt failed', 12154, 'ORA-12154: TNS:could not resolve the connect identifier specified\n')
08:52:10 ERROR: Can't connect to the database: (12154, 'ORA-12154: TNS:could not resolve the connect identifier specified\n', '//localhost:15Connection_Connect(): server attach')
08:52:10 ERROR: Check if your database is running.

Environment

  • Red Hat Satellite v 5.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In