Home » RDBMS Server » Networking and Gateways » ora-12154
ora-12154 [message #284883] Sun, 02 December 2007 09:23 Go to next message
irida
Messages: 1
Registered: December 2007
Junior Member
Hello everybody!
I'm new to Oracle. I'm trying to connect to database and having next error:

ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified

My tnsnames.ora:
# tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\client_2\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

EMN =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = emn-oracle)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SERVICE_NAME = EXTPROC_CONNECTION_DATA)
(PRESENTATION = RO)
)
)

listener.ora

# listener.ora Network Configuration File: C:\oracle\product\10.2.0\client_2\network\admin\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\client_2)
(PROGRAM = extproc)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = emn-oracle)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
)

sqlnet.ora

# sqlnet.ora Network Configuration File: C:\oracle\product\10.2.0\client_2\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.

# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.

SQLNET.AUTHENTICATION_SERVICES= (NTS)

NAMES.DIRECTORY_PATH= (TNSNAMES)

When I try to connect to EMN everything is ok, but connecting to EXTPROC_CONNECTION_DATA is impossible, cause "no listener".

ORACLE_HOME is set.

What may be the problem?

Thanks in advance!
Re: ora-12154 [message #284897 is a reply to message #284883] Sun, 02 December 2007 12:12 Go to previous message
Michel Cadot
Messages: 68704
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
ORA-12154 question is asked each week.
Search a little bit.
Closed.
/forum/fa/448/0/
Regards
Michel

[Updated on: Sun, 02 December 2007 12:18]

Report message to a moderator

Previous Topic: Solution to Oracle 9i TNS Listener crash on a Windows 2000 or Windows XP Pro configuration
Next Topic: connect using tnsname
Goto Forum:
  


Current Time: Tue Nov 05 13:44:14 CST 2024