Tnsnames.ora
570193Mar 31 2007 — edited Apr 2 2007Hi,
Sorry to bring this subject up again but i'm stuck.I have installed on my computer oracle database, client and developer suite, i copied tnsnames.ora and sqlnet.ora in network\admin from the same database folder and i was able to connect with the cilent.However with the designer is a problem.I looked it up and i found that there could be a problem with some extra characters so i just re-done the 2 files in network\admin from dev suite directory. Didn't work so i used a trace file.The problem seems to be "construction of local names file failed".I put here the trace log and tnsnames.ora file.Thanks for your help.
(3664) [01-APR-2007 00:03:31:687] --- TRACE CONFIGURATION INFORMATION FOLLOWS ---
(3664) [01-APR-2007 00:03:31:687] New trace stream is C:\oracle\product\10.2.0\DVS\NETWORK\log\trc_client_3664.trc
(3664) [01-APR-2007 00:03:31:687] New trace level is 16
(3664) [01-APR-2007 00:03:31:687] --- TRACE CONFIGURATION INFORMATION ENDS ---
(3664) [01-APR-2007 00:03:31:687] --- PARAMETER SOURCE INFORMATION FOLLOWS ---
(3664) [01-APR-2007 00:03:31:687] Attempted load of system pfile source C:\oracle\product\10.2.0\DVS\network\admin\sqlnet.ora
(3664) [01-APR-2007 00:03:31:687] Parameter source loaded successfully
(3664) [01-APR-2007 00:03:31:687]
(3664) [01-APR-2007 00:03:31:687] Attempted load of local pfile source C:\Documents and Settings\Name\sqlnet.ora
(3664) [01-APR-2007 00:03:31:687] Parameter source was not loaded
(3664) [01-APR-2007 00:03:31:687]
(3664) [01-APR-2007 00:03:31:687] -> PARAMETER TABLE LOAD RESULTS FOLLOW <-
(3664) [01-APR-2007 00:03:31:687] Successful parameter table load
(3664) [01-APR-2007 00:03:31:687] -> PARAMETER TABLE HAS THE FOLLOWING CONTENTS <-
(3664) [01-APR-2007 00:03:31:687] TRACE_DIRECTORY_CLIENT = (C:\oracle\product\10.2.0\DVS\NETWORK\log)
(3664) [01-APR-2007 00:03:31:687] NAMES.DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
(3664) [01-APR-2007 00:03:31:687] TRACE_LEVEL_CLIENT = 16
(3664) [01-APR-2007 00:03:31:687] SQLNET.AUTHENTICATION_SERVICES = (NTS)
(3664) [01-APR-2007 00:03:31:687] TRACE_FILE_CLIENT = TRC_Client
(3664) [01-APR-2007 00:03:31:687] --- PARAMETER SOURCE INFORMATION ENDS ---
(3664) [01-APR-2007 00:03:31:687] --- LOG CONFIGURATION INFORMATION FOLLOWS ---
(3664) [01-APR-2007 00:03:31:687] Log stream will be "C:\Documents and Settings\Name\sqlnet.log"
(3664) [01-APR-2007 00:03:31:687] Log stream validation not requested
(3664) [01-APR-2007 00:03:31:687] --- LOG CONFIGURATION INFORMATION ENDS ---
(3664) [01-APR-2007 00:03:31:687] nigini: entry
(3664) [01-APR-2007 00:03:31:687] nigini: Count in the NL global area is now 1
(3664) [01-APR-2007 00:03:31:687] nigini: Count in NI global area now: 1
(3664) [01-APR-2007 00:03:31:687] nrigbi: entry
(3664) [01-APR-2007 00:03:31:687] nrigbni: entry
(3664) [01-APR-2007 00:03:31:687] nrigbni: Unable to get data from navigation file tnsnav.ora
(3664) [01-APR-2007 00:03:31:687] nrigbni: exit
(3664) [01-APR-2007 00:03:31:687] nrigbi: exit
(3664) [01-APR-2007 00:03:31:687] nigini: exit
(3664) [01-APR-2007 00:03:31:687] niqname: Using nnfsn2a() to build connect descriptor for (possibly remote) database.
(3664) [01-APR-2007 00:03:31:687] nnfgiinit: entry
(3664) [01-APR-2007 00:03:31:687] nncpcin_maybe_init: first request sent to name server will have ID 0
(3664) [01-APR-2007 00:03:31:687] nncpcin_maybe_init: initial retry timeout for all name servers is 1500 csecs
(3664) [01-APR-2007 00:03:31:687] nncpcin_maybe_init: max request retries per name server is 1
(3664) [01-APR-2007 00:03:31:687] nngsini_init_streams: initializing stream subsystem, cache size is 10
(3664) [01-APR-2007 00:03:31:687] snsbitini_ts: entry
(3664) [01-APR-2007 00:03:31:687] snsbitini_ts: normal exit
(3664) [01-APR-2007 00:03:31:687] snsbitini_ts: entry
(3664) [01-APR-2007 00:03:31:687] snsbitini_ts: normal exit
(3664) [01-APR-2007 00:03:31:687] nngtini_init_msg: initializing PDU subsystem, initial pool size is 2
(3664) [01-APR-2007 00:03:31:687] nncpcin_maybe_init: default name server domain is [root]
(3664) [01-APR-2007 00:03:31:687] nnfgiinit: Installing read path
(3664) [01-APR-2007 00:03:31:687] nnfgsrsp: entry
(3664) [01-APR-2007 00:03:31:687] nnfgsrsp: Obtaining path parameter from names.directory_path or native_names.directory_path
(3664) [01-APR-2007 00:03:31:703] nnfgsrdp: entry
(3664) [01-APR-2007 00:03:31:703] nnfgsrdp: Setting path:
(3664) [01-APR-2007 00:03:31:703] nnfgsrdp: checking element TNSNAMES
(3664) [01-APR-2007 00:03:31:703] nnfgsrdp: checking element EZCONNECT
(3664) [01-APR-2007 00:03:31:703] nnfgsrdp: Path set
(3664) [01-APR-2007 00:03:31:703] nnfun2a: entry
(3664) [01-APR-2007 00:03:31:703] nlolgobj: entry
(3664) [01-APR-2007 00:03:31:703] nnfgrne: entry
(3664) [01-APR-2007 00:03:31:703] nnfgrne: Going though read path adapters
(3664) [01-APR-2007 00:03:31:703] nnfgrne: Switching to TNSNAMES adapter
(3664) [01-APR-2007 00:03:31:703] nnftboot: entry
(3664) [01-APR-2007 00:03:31:703] nlpaxini: entry
(3664) [01-APR-2007 00:03:31:703] nlpaxini: exit
(3664) [01-APR-2007 00:03:31:703] nnftmlf_make_local_addrfile: entry
(3664) [01-APR-2007 00:03:31:703] nnftmlf_make_local_addrfile: construction of local names file failed
(3664) [01-APR-2007 00:03:31:703] nnftmlf_make_local_addrfile: exit
(3664) [01-APR-2007 00:03:31:703] nlpaxini: entry
(3664) [01-APR-2007 00:03:31:703] nlpaxini: exit
(3664) [01-APR-2007 00:03:31:703] nnftmlf_make_system_addrfile: entry
(3664) [01-APR-2007 00:03:31:703] nnftmlf_make_system_addrfile: system names file is C:\oracle\product\10.2.0\DVS\network\admin\tnsnames.ora
(3664) [01-APR-2007 00:03:31:703] nnftmlf_make_system_addrfile: exit
(3664) [01-APR-2007 00:03:31:703] nnftboot: exit
(3664) [01-APR-2007 00:03:31:703] nnftrne: entry
(3664) [01-APR-2007 00:03:31:703] nnftrne: Original name: orcl as sysdba
(3664) [01-APR-2007 00:03:31:703] nnfttran: entry
(3664) [01-APR-2007 00:03:31:703] nnfttran: Error querying orcl as sysdba of attribute A.SMD errcode 408
(3664) [01-APR-2007 00:03:31:703] nnfgrne: Query unsuccessful, skipping to next adapter
(3664) [01-APR-2007 00:03:31:703] nnfgrne: Switching to EZCONNECT adapter
(3664) [01-APR-2007 00:03:31:703] nnfhboot: entry
(3664) [01-APR-2007 00:03:31:703] nnfhboot: exit
(3664) [01-APR-2007 00:03:33:968] nnfhrne: Error querying orcl as sysdba of attribute A.SMD errcode 406
(3664) [01-APR-2007 00:03:33:968] nnfgrne: Query unsuccessful, skipping to next adapter
(3664) [01-APR-2007 00:03:33:968] nnfgrne: exit
(3664) [01-APR-2007 00:03:33:968] nnfun2a: address for name "orcl as sysdba" not found
(3664) [01-APR-2007 00:03:33:968] niqname: Return code from nnfsn2a is 1
(3664) [01-APR-2007 00:03:33:968] nigtrm: Count in the NI global area is now 0
(3664) [01-APR-2007 00:03:33:968] nrigbd: entry
(3664) [01-APR-2007 00:03:33:968] nrigbd: exit
(3664) [01-APR-2007 00:03:33:968] nigtrm: Count in the NL global area is now 0
(3664) [01-APR-2007 00:03:33:968] nlse_term_audit: entry
(3664) [01-APR-2007 00:03:33:968] nlse_term_audit: exit
Tnsnames.ora
ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = gabriel)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
And just if needed sqlnet.ora
TRACE_DIRECTORY_CLIENT = (C:\oracle\product\10.2.0\DVS\NETWORK\log)
TRACE_FILE_CLIENT = TRC_Client
TRACE_LEVEL_CLIENT = 16
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)