如何进行Oracle监听器日志的解析-创新互联

如何进行Oracle监听器日志的解析,针对这个问题,这篇文章详细介绍了相对应的分析和解答,希望可以帮助更多想解决这个问题的小伙伴找到更简单易行的方法。

创新互联建站服务项目包括垣曲网站建设、垣曲网站制作、垣曲网页制作以及垣曲网络营销策划等。多年来,我们专注于互联网行业,利用自身积累的技术优势、行业经验、深度合作伙伴关系等,向广大中小型企业、政府机构等提供互联网行业的解决方案,垣曲网站推广取得了明显的社会效益与经济效益。目前,我们服务的客户以成都为中心已经辐射到垣曲省份的部分城市,未来相信会继续扩大服务区域并继续获得客户的支持与信任!

/////////////////////////////////////////////////////
监听start后监听日志记录信息如下:
Tue Feb 06 13:03:06 2018
System parameter file is /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/wang/listener/alert/log.xml
Trace information written to /u01/app/oracle/diag/tnslsnr/wang/listener/trace/ora_5682_140618561201984.trc
Trace level is currently 0

Started with pid=5682
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=wang)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listener completed notification to CRS on start

TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
WARNING: Subscription for node down event still pending
06-FEB-2018 13:03:06 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=wang)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647552)) * status * 0

Tue Feb 06 13:03:48 2018
06-FEB-2018 13:03:48 * service_register * DBdb * 0
 Tue Feb 06 13:04:36 2018
06-FEB-2018 13:04:36 * service_update * DBdb * 0
 Tue Feb 06 13:05:45 2018
06-FEB-2018 13:05:45 * service_update * DBdb * 0
Tue Feb 06 13:06:15 2018
06-FEB-2018 13:06:15 * service_update * DBdb * 0
       Tue Feb 06 13:13:13 2018
06-FEB-2018 13:13:13 * service_update * DBdb * 0
      Tue Feb 06 13:19:48 2018
WARNING: Subscription for node down event still pending
06-FEB-2018 13:19:48 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=wang)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647552)) * status * 0
    Tue Feb 06 13:23:13 2018
06-FEB-2018 13:23:13 * service_update * DBdb * 0

//////////////////////////////////////////////////////////
通过plsql建立连接:如下是日志信息:
Tue Feb 06 13:23:41 2018
06-FEB-2018 13:23:41 * (CONNECT_DATA=(SERVICE_NAME=DBdb)(CID=(PROGRAM=E:\????\PLSQL_Developer8.0??????\plsqldev.exe)(HOST=SC-201707102126)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.1)(PORT=53088)) * establish * DBdb * 0
06-FEB-2018 13:23:41 * (CONNECT_DATA=(SERVICE_NAME=DBdb)(CID=(PROGRAM=E:\????\PLSQL_Developer8.0??????\plsqldev.exe)(HOST=SC-201707102126)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.1)(PORT=53089)) * establish * DBdb * 0
06-FEB-2018 13:23:43 * service_update * DBdb * 0
06-FEB-2018 13:23:46 * service_update * DBdb * 0


///////////////////////////////////////////////////
客户端tns信息
DBDB =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.12)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = DBdb)
    )
  )

关于如何进行Oracle监听器日志的解析问题的解答就分享到这里了,希望以上内容可以对大家有一定的帮助,如果你还有很多疑惑没有解开,可以关注创新互联-成都网站建设公司行业资讯频道了解更多相关知识。


当前名称:如何进行Oracle监听器日志的解析-创新互联
文章起源:http://hbruida.cn/article/dciecj.html