ping ok?
tnsping ok?
check your server name

解决方案 »

  1.   

    1. 保证可以 ping 得通机子吗?
    2. 在配置的里的 "主机名" 用 IP 地址方式.
      

  2.   

    TNS-12545 Connect failed because target host or object does not existCause: 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.你需要确定你的客户端与服务器连接是相通的
    也就是可以PING的通才行呀
      

  3.   

    tnsping host ,the reult is :
    NS Ping Utility for Linux: Version 9.2.0.1.0 - Production on 13-10月-2003 17:34:30Copyright (c) 1997 Oracle Corporation.  All rights reserved.已使用的参数文件:
    /opt/oracle/product/9.2.0.1/network/admin/sqlnet.ora已使用 HOSTNAME 适配器来解析别名
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SID=*)(SERVICE_NAME=192.168.0.112))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.112)(PORT=1521)))
    OK(10毫秒)both  sid=*and service_name=192.168.0.112 are correct or not ?????????
      

  4.   

    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SID=*)
                                                        ---- (怎么没有服务名?)