Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> 9i client tnsping error
Hi:
I have just installed oracle client 9.2.0.1.0 on one unix box (called curly), and I am trying to connect to an oracle 8173 server (on another unix box, called rex). During the installastion, the net service part had test successful and it installed sqlnet.ora and tnsnames.ora automatically.
The files are those:
curly$ cat sqlnet.ora
# SQLNET.ORA Network Configuration File:
/oracle/product/9.2.0.1.0/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DEFAULT_DOMAIN = incyte.com
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
curly$ cat tnsnames.ora
# TNSNAMES.ORA Network Configuration File:
/oracle/product/9.2.0.1.0/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
NPD.INCYTE.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rex)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = NPD)
)
)
ping is working ok,
but tnsping is not working:
curly$ tnsping NPD
TNS Ping Utility for Solaris: Version 9.2.0.1.0 - Production on 18-FEB-2004 14:09:02
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
/oracle/product/9.2.0.1.0/network/admin/sqlnet.ora
TNS-03505: Failed to resolve name
SQL*Plus: Release 9.2.0.1.0 - Production on Wed Feb 18 14:11:18 2004
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-12154: TNS:could not resolve service name
curly$ more sqlnet.log
(DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/oracle/product/9.2.0.1.0/bin/o
racle)(ARGV0=oracle)(AR
GS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_
DATA=(CID=(PROGRAM=)(HOS
T=curly)(USER=oracle))))
VERSION INFORMATION:
TNS for Solaris: Version 9.2.0.1.0 - Production Oracle Bequeath NT Protocol Adapter for Solaris: Version 9.2.0.1.0 -Production
I have done client installation before and never had this kind of situation. ANy idea what could be the problem?
TIA. Guang
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Wed Feb 18 2004 - 13:17:33 CST
![]() |
![]() |