监听无法启动WARNING: Subscription for node down event still pending
环境:
OS:Centos 7
DB:12.2.0.1
1.监听状态
[oracle@19c ~]$ lsnrctl status
LSNRCTL for Linux: Version 12.2.0.1.0 - Production on 17-APR-2023 23:12:48
Copyright (c) 1991, 2016, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.104)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 12.2.0.1.0 - Production
Start Date 17-APR-2023 23:12:40
Uptime 0 days 0 hr. 0 min. 7 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/12.2.0.1/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/19c/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.104)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully
2.查看监听日志
WARNING: Subscription for node down event still pending
17-APR-2023 23:12:47 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=19c)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=203424000)) * status * 0
17-APR-2023 23:12:48 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=19c)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=203424000)) * status * 0
3.查看参数
SQL> show parameters listener;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
listener_networks string
local_listener string LISTENER_SLNNGK
remote_listener string
SQL>
4.设置该参数为空
alter system set local_listener='' scope=both;