9i client tnsping error

  • From: "Guang Mei" <gmei@xxxxxxxxxx>
  • To: "Oracle-L-freelists" <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 18 Feb 2004 14:17:33 -0500

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



-- If I do sqlplus user/password@NPD, I will get:


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


-- looking at sqlnet.log:


curly$ more sqlnet.log


***********************************************************************
Fatal NI connect error 12545, connecting to:

(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
  Time: 18-FEB-2004 14:11:19
  Tracing not turned on.
  Tns error struct:
    nr err code: 0
    ns main err code: 12545
    TNS-12545: Connect failed because target host or object does not exist
    ns secondary err code: 12560
    nt main err code: 515
    TNS-00515: Connect failed because target host or object does not exist
    nt secondary err code: 2
    nt OS err code: 0


I have done client installation before and never had this kind of situation.
ANy idea what could be the problem?

TIA.

Guang

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: