Encountering 'ORA-12162: TNS:net service name is incorrectly specified' when running sqlplus manually

Solution Verified - Updated -


[root@satellite ~]# sqlplus $(spacewalk-cfg-get default-db)

SQL*Plus: Release - Production on Sun Dec 16 22:01:27 2012

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

Enter user-name: rhnsat
Enter password: 
ORA-12162: TNS:net service name is incorrectly specified


  • RHN Satellite 5.x

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