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

这篇博客讲述了Oracle数据库监听器在启动后无法监听到实例的问题。通过查看监听状态发现监听器工作正常,但服务状态未知。为解决此问题,进行了修改监听器配置文件listener.ora,将主机地址改为0.0.0.0,并重启监听器。然而,重启后仍遇到连接错误。文章详细记录了故障处理步骤和输出的日志信息。
摘要由CSDN通过智能技术生成

故障现象:监听能正常启动,但两个实例均未能监听到 [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

977d95179e8b51f22ec9e3b7cad19189.gif

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值