TNSPING HOSTNAME gives error [message #499888] |
Wed, 16 March 2011 10:12 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
infinitenumbers
Messages: 33 Registered: November 2010
|
Member |
|
|
Hi Guys,
the command tnsping remotehostname
its gives the following error. PING remotehostname works fine.
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-MAR-2
011 11:09:37
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
D:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name
I know it could be the most usual error. But I am not able to figure it out. Please help me with this.
Thank you.
|
|
|
|
|
Re: TNSPING HOSTNAME gives error [message #499891 is a reply to message #499888] |
Wed, 16 March 2011 10:30 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
infinitenumbers
Messages: 33 Registered: November 2010
|
Member |
|
|
Hi,
Below are the contents of tnsnames.ora. I am sure I have provided the correct host name.
TESTDB.COMPANY.COM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST = myremotehostname)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = testdb)
)
)
|
|
|
|
|