ORA-12154 : TNS : Could Not Resolve Sevice Name [message #55045] |
Sun, 29 December 2002 20:23 |
Ravi
Messages: 251 Registered: June 1998
|
Senior Member |
|
|
Hello
I installed Personnel Oracle 8.1.7 on Windows 98 machine and trying to login to SQL Plus and got "ORA-12154 : TNS : Could Not Resolve Sevice Name" error. I Successfully stared LISTENER and started DataBase and tried to login to SQL Plus.
######################
====== TNSNAMES.ORA=====
# TNSNAMES.ORA Network Configuration File: C:OracleOra81NETWORKADMINtnsnames.ora
# Generated by Oracle configuration tools.
TEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = oemcomputer)(PORT = 1521))
)
(CONNECT_DATA =
(SID = NEEDB)
)
)
####################
########################
======LISTENER.ORA============
# LISTENER.ORA Network Configuration File: C:OracleOra81networkadminlistener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = oemcomputer)(PORT = 1521))
)
)
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
)
(ADDRESS = (PROTOCOL = TCP)(HOST = oemcomputer)(PORT = 2481))
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:OracleOra81)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = NEEDB)
(ORACLE_HOME = C:OracleOra81)
(SID_NAME = NEEDB)
)
)
########################
Any help for problem will be appreciated.
Thanks,
Ravi.
|
|
|
|
|