Solved

I'm not able to tnsping RMAN server

Posted on 2015-02-15
5
246 Views
Last Modified: 2015-03-10
Hi,
I'm not able to tnsping the RMAN server, as I'm able to ping the server.Please find below ping and tnsping result from hp-ux

[]:/ > ping 192.3.10.10
PING 192.3.10.10: 64 byte packets
64 bytes from 192.3.10.10: icmp_seq=0. time=0. ms
64 bytes from 192.3.10.10: icmp_seq=1. time=0. ms
64 bytes from 192.3.10.10: icmp_seq=2. time=0. ms


tnsping 192.3.10.10
TNS Ping Utility for HPUX: Version 9.2.0.1.0 - Production on 15-FEB-2015 14:26:3
5

Copyright (c) 1997 Oracle Corporation.  All rights reserved.

Used parameter files:
/u/u01/app/oracle/ora92/network/admin/sqlnet.ora

TNS-03505: Failed to resolve name
0
Comment
Question by:Fuad Bazarah
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 35

Expert Comment

by:johnsone
ID: 40610752
tnsping would require the use of a name in the tnsnames.ora file as a parmeter.  I don't believe it takes an IP address.  If it does, that is not enough information, it also needs to know which port to contact.
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40611367
Newer versions of tnsping will take an ip address and attempt to locate a listener.

With the posted output I'm pretty sure the 9.2 version didn't accept them but that was a long time ago.
0
 
LVL 35

Expert Comment

by:johnsone
ID: 40611430
I thought that it would take IP in newer versions.  But I ran across this piece of documentation:

http://docs.oracle.com/cd/E11882_01/network.112/e41945/connect.htm#NETAG378

It clearly states that it requires a net name.

Honestly I didn't try it with an IP.  I guess the documentation could be incomplete.  Also, note that it definitely states that different platforms have different interfaces, so it may work in one place but not another.

I managed to dig up the same documentation in a 9.2 release of the documentation.  It is almost word for word the same documentation, so either the utility is identical (which is possible), or the documentation hasn't been updated for newer features.
0
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 40613109
>>It clearly states that it requires a net name.

I tried it before I posted...

Part of my ipconfig:
Ethernet adapter Local Area Connection:
   IPv4 Address. . . . . . . . . . . : 192.168.1.10(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0

Open in new window



C:\>tnsping 192.168.1.10

TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 16-FEB-2
015 17:37:29

Copyright (c) 1997, 2011, Oracle.  All rights reserved.

Used parameter files:
c:\oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora

Used EZCONNECT adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTO
COL=TCP)(HOST=192.168.1.10)(PORT=1521)))
OK (0 msec)

C:\>

Open in new window

0
 
LVL 35

Expert Comment

by:johnsone
ID: 40613225
Interesting.  The documentation clearly doesn't support what the utility does.  A documentation bug I guess.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
create a nested synonym 4 40
How to create an alias for a column name in ORACLE sql ? 2 45
SQL query to select row with MAX date 7 40
return value based on substr 10 45
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question