ORA-12154 TNS: could not resolve service name [message #487231] |
Fri, 24 December 2010 02:15 |
m_khaleeq2006
Messages: 24 Registered: February 2010 Location: Pakistan
|
Junior Member |
|
|
Dear Sir(s)
My server database is not connected today whenever I try to connect it. It was working properly till yesterday but today morning when I came to office and want to connect with server then my database server show the message "ORA-12154 TNS: could not resolve the service name" and not connected. Please help.
Thanks
|
|
|
|
|
|
|
Re: ORA-12154 TNS: could not resolve service name [message #487425 is a reply to message #487423] |
Mon, 27 December 2010 00:57 |
m_khaleeq2006
Messages: 24 Registered: February 2010 Location: Pakistan
|
Junior Member |
|
|
Sir I am sending my server's Listner.Ora, TNSNAMES.ora and SQLNET.ora. Please check them and give me some suggestions.
=========HERE IS LISTNER.ORA===========
# LISTENER.ORA Network Configuration File: F:\oracle\ora92\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dhcl_db)(PORT = 1521))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = F:\oracle\ora92)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = prodhcl)
(ORACLE_HOME = F:\oracle\ora92)
(SID_NAME = prodhcl)
)
)
=========HERE IS SQLNET.ORA=================
# SQLNET.ORA Network Configuration File: F:\oracle\ora92\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DEFAULT_DOMAIN = dewangroup.com.pk
# SQLNET.AUTHENTICATION_SERVICES= (NTS)
SQLNET.AUTHENTICATION_SERVICES= (NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
========HERE IS TNSNAMES.ORA===============
# TNSNAMES.ORA Network Configuration File: F:\oracle\ora92\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
INST1_HTTP.DEWANGROUP.COM.PK =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dtsml_db)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = MODOSE)
(PRESENTATION = http://HRService)
)
)
PRODHCL.DEWANGROUP.COM.PK =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dhcl_db)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = prodhcl)
)
)
EXTPROC_CONNECTION_DATA.DEWANGROUP.COM.PK =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
ORCL.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = scl)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
)
)
)
====================================
Please check these files and then tell me whats wrong with these files and how I can overcome?
Thanks
|
|
|
|
|
|
|