TNS-12545 Connect failed because target host or object does not exist
Cause: The address specified is not valid, or the program being connected to
does not exist.
Action: Ensure the ADDRESS parameters have been entered correctly; the most
likely incorrect parameter is the node name. Ensure that the executable for the
server exists (perhaps "oracle" is missing). If the protocol is TCP/IP, edit the
TNSNAMES.ORA file to change the host name to a numeric IP address and try
again.

解决方案 »

  1.   

    客户端是不需要LISTENER,出现断连问题,首先应检测一下网络环境。网络是否正常,是否稳定;是否有IP冲突?是否网络中有用户重名?
    在TNSNAME.ORA中配置服务器SID时,最好服务器有指定的IP,这样问题可以少很多。
      

  2.   

    是呀监听只是服务端的事情,客户端不需要。
    同意楼上的应该是网络和tns问题
      

  3.   

    这个问题很奇怪,你可以ping一下数据库服务器,看是时断时续吗?
    有时是不是和病毒也有关系呀!我们的服务器经常被病毒破坏
      

  4.   

    1、如果是因为修改了NT的机器名,则把listener.ora文件中的host参数全部改为新的NT机器名,
    重新启动OracleTNSListenr80服务即可。
      例如: 
      LISTENER =
      (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(Host = NT_Name)(Port = 1521))
      (ADDRESS = (PROTOCOL = TCP)(Host = NT_Name)(Port = 1526))
      )
    2。使用监听器实用程序:LSNRCTL80.exe
    3。检查监听器参数文件:c:\orant\NET80\admin\listener.ora
    4。检查监听器日志文件:c:\orant\NET80\log\listener.log
    5。Tnsnames.ora文件配置错误,重新配置。 
    6。检查client 端 Tnsnames.ora