Home » RDBMS Server » Server Administration » ORA-12154: TNS:could not resolve service name
ORA-12154: TNS:could not resolve service name [message #142112] Thu, 13 October 2005 08:57 Go to next message
mjschwenger
Messages: 137
Registered: July 2005
Location: US
Senior Member
I need a help with this error:
ORA-12154: TNS:could not resolve service name
This is a brand new instance, and I am able to connect from EM on my laptop, but not SQLplus. I could also use sqlplus/ nolog, but nothing else - no other tool can connect - locally on the server or from anywhere else.
I do believe I have all correct entries in the tns.ora.
Why I'm not able to connect from sqlplus locally on the box as well.
Any help is appreciated.
Thanks a lot,mj
Re: ORA-12154: TNS:could not resolve service name [message #142117 is a reply to message #142112] Thu, 13 October 2005 09:02 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
EM and sqlplus may use different tnsnames.ora ( depends on you configured). Make sure all entries are same.
Re: ORA-12154: TNS:could not resolve service name [message #142553 is a reply to message #142112] Sat, 15 October 2005 12:07 Go to previous messageGo to next message
nmacdannald
Messages: 460
Registered: July 2005
Location: Stockton, California - US...
Senior Member
Where would I find those two tnsnames.ora file?
Re: ORA-12154: TNS:could not resolve service name [message #142874 is a reply to message #142553] Tue, 18 October 2005 02:10 Go to previous message
girish.rohini
Messages: 744
Registered: April 2005
Location: Delhi (India)
Senior Member
A weird but useful suggestion in your case..

Search on your system.

As for oracle it will be on %ORACLE_HOME%/network/admin directory.
Previous Topic: oradim.exe error screen shot
Next Topic: creating a test schema
Goto Forum:
  


Current Time: Tue Feb 04 00:39:11 CST 2025