ora-12154 [message #284883] |
Sun, 02 December 2007 09:23 |
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!
|
|
|
|