• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

Oracle监听能正常启动,但实例监听不到故障应急处理一例

mysql 搞代码 4年前 (2022-01-09) 20次浏览 已收录 0个评论

故障现象:监听能正本文来源gaodai#ma#com搞@@代~&码*网2常启动,但两个实例均未能监听到 [Oracle@L-DB-100-17 ~]$ lsnrctl status LSNRCTL for Linux: Version 10.

故障现象:监听能正常启动,但两个实例均未能监听到

[Oracle@L-DB-100-17 ~]$ lsnrctl status

LSNRCTL for Linux: Version 10.2.0.4.0 – Production on 07-1月 -2002 14:29:33

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.100.17)(PORT=1521)))

STATUS of the LISTENER

————————

Alias LISTENER

Version TNSLSNR for Linux: Version 10.2.0.4.0 – Production

Start Date 07-1月 -2002 14:03:45

Uptime 0 days 0 hr. 25 min. 47 sec

Trace Level off

Security ON: Local OS Authentication

SNMP OFF

Listener Parameter File /u01/product/10.2.0/db_1/network/admin/listener.ora

Listener Log File /u01/product/10.2.0/db_1/network/log/listener.log

Listening Endpoints Summary…

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.100.17)(PORT=1521)))

(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))

Services Summary…

Service “PLSExtProc” has 1 instance(s).

Instance “PLSExtProc”, status UNKNOWN, has 1 handler(s) for this service…

The command completed successfully

故障处理:

1、修改HOST地址

[oracle@L-DB-100-17 admin]$ vi listener.ora

修改IP地址为0.0.0.0,”HOST=0.0.0.0″

2、重启lsnrclt

[oracle@L-DB-100-17 admin]$ lsnrctl stop

LSNRCTL for Linux: Version 10.2.0.4.0 – Production on 07-1月 -2002 14:31:24

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=0.0.0.0)(PORT=1521)))

TNS-12541: TNS:no listener

TNS-12560: TNS:protocol adapter error

TNS-00511: No listener

Linux Error: 111: Connection refused

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))

The command completed successfully

[oracle@L-DB-100-17 admin]$ lsnrctl start

LSNRCTL for Linux: Version 10.2.0.4.0 – Production on 07-1月 -2002 14:31:37

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

Starting /u01/product/10.2.0/db_1/bin/tnslsnr: please wait…

TNSLSNR for Linux: Version 10.2.0.4.0 – Production

System parameter file is /u01/product/10.2.0/db_1/network/admin/listener.ora

Log messages written to /u01/product/10.2.0/db_1/network/log/listener.log

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521)))

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=0.0.0.0)(PORT=1521)))

STATUS of the LISTENER

————————

Alias LISTENER

Version TNSLSNR for Linux: Version 10.2.0.4.0 – Production

Start Date 07-1月 -2002 14:31:37

Uptime 0 days 0 hr. 0 min. 0 sec

Trace Level off

Security ON: Local OS Authentication

SNMP OFF

Listener Parameter File /u01/product/10.2.0/db_1/network/admin/listener.ora

Listener Log File /u01/product/10.2.0/db_1/network/log/listener.log

Listening Endpoints Summary…

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521)))

(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))

Services Summary…

Service “PLSExtProc” has 1 instance(s).

Instance “PLSExtProc”, status UNKNOWN, has 1 handler(s) for this service…

The command completed successfully


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Oracle监听能正常启动,但实例监听不到故障应急处理一例

喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址