使用TNSPING网络服务

能ping通的网络服务名

C:\Users\ArcerZhang>tnsping orcl199

TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 25-7月 -2014 11:36:58

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

已使用的参数文件:
d:\app\ArcerZhang\product\11.2.0\dbhome_1\network\admin\sqlnet.ora


已使用 TNSNAMES 适配器来解析别名
尝试连接 (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.3.199)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = ORCL)))
OK (30 毫秒)
View Code

不能ping通的网络服务名

C:\Users\ArcerZhang>tnsping orcl100

TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 25-7月 -2014 11:37:16

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

已使用的参数文件:
d:\app\ArcerZhang\product\11.2.0\dbhome_1\network\admin\sqlnet.ora

TNS-03505: 无法解析名称
View Code
posted @ 2014-07-25 14:19  ArcerZhang  阅读(418)  评论(0编辑  收藏  举报