您的位置:首页 > 其它

tnsping orcl;lsnrctl status

2016-01-06 15:10 363 查看
C:\Users\Administrator>tnsping orcl

TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 06-1月 -

2016 15:06:18

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

已使用的参数文件:

E:\app\Administrator\product\11.2.0\dbhome_2\network\admin\sqlnet.ora

已使用 TNSNAMES 适配器来解析别名

尝试连接 (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.1

68.65.1)(PORT = 1521))) (CONNECT_DATA = (SERVER = SHARED) (SERVICE_NAME = ORCL))

)

OK (10 毫秒)

C:\Users\Administrator>lsnrctl status

LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 06-1月 -2016 15:0

6:54

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

正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VMnet1)(PORT=1521)))

LISTENER 的 STATUS

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

别名 LISTENER

版本 TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ

ction

启动日期 06-1月 -2016 14:23:09

正常运行时间 0 天 0 小时 43 分 46 秒

跟踪级别 off

安全性 ON: Local OS Authentication

SNMP OFF

监听程序参数文件 E:\app\Administrator\product\11.2.0\dbhome_2\network\a

dmin\listener.ora

监听程序日志文件 e:\app\administrator\diag\tnslsnr\QH-20140613SMPA\list

ener\alert\log.xml

监听端点概要...

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=QH-20140613SMPA)(PORT=1521)))

服务摘要..

服务 "CLRExtProc" 包含 1 个实例。

实例 "CLRExtProc", 状态 UNKNOWN, 包含此服务的 1 个处理程序...

服务 "orcl" 包含 1 个实例。

实例 "orcl", 状态 READY, 包含此服务的 2 个处理程序...

命令执行成功

C:\Users\Administrator>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: