Visit Counter

Wednesday, January 22, 2014

ORA-12543: TNS:destination host unreachable



[oracle@rac2 bin]$tnsping orapri
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 30-Nov-2012 01:52:34
Copyright (c) 1997, 2009, Oracle.  All rights reserved.
Used parameter files:
/ora/oracle/ora11g/network/admin/sqlnet.ora

Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.0.0.24)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orapri)))

TNS-12543: TNS:destination host unreachable

Diagnosis process:

-------------------

If you are unfamiliar with the error use the oerr utility to get the more information on this error.

oracle@rac2 $ oerr ora 12543

12543, 00000, "TNS:destination host unreachable"

*Cause: Contact can not be made with remote party.

*Action: Make sur the network driver is functioning and the network is up.


Solution:
---------
Reason : Firewall was enabled on Primary and Standby servers.
-----------------------------------------------------------------

I disabled the Fire wall from primary and standby servers.You can disable firewall by GUI and command line as well.

root@rac1 # service iptables status
                     service iptables stop
                     chkconfig iptables off


6 comments:

  1. This pretty helpful ... Thanks for your super nice meaningful article ...

    ReplyDelete
  2. Your article put an end to an hour of misery: Thanks!

    ReplyDelete
  3. This article helped me a lot. I spent hours to solve this TNS:destination host unreachable error. Finally i end up my searching here.

    ReplyDelete
  4. I used windows 2008 server enterprise edition on Primary and Standby servers. My terminal service is came to the end and need to be renew for activation. Since it happen, i can't connect to oracle and show TNS-12543: TNS:destination host unreachable. My question is "is the terminal service cause the connection unreacheble? "

    ReplyDelete
  5. getting same error. but I don't have firewell issue.

    I am able to ping and tnsping from standby to primary and able to ping primary to standby but not able to tnsping from primary to standby

    ReplyDelete