news 2026/2/14 16:39:39

oracle rac11G安装——重启两节点监听服务

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
oracle rac11G安装——重启两节点监听服务

1.节点1

# 查看节点1监听状态[grid@rac1 ~]$ srvctl status listener -n rac1 监听程序 LISTENER 已在节点上启用: rac1 监听程序 LISTENER 未在节点上运行: rac1
# 启动节点1监听[grid@rac1 ~]$ lsnrctl start listener LSNRCTLforLinux: Version11.2.0.4.0 - Production on26-DEC-2025 09:38:33 Copyright(c)1991,2013, Oracle. All rights reserved. Starting /u01/app/11.2.0/grid/bin/tnslsnr: please wait... TNSLSNRforLinux: Version11.2.0.4.0 - Production System parameterfileis /u01/app/11.2.0/grid/network/admin/listener.ora Log messages written to /u01/app/grid/diag/tnslsnr/rac1/listener/alert/log.xml Listening on:(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))Listening on:(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rac1)(PORT=1521)))Connecting to(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))STATUS of the LISTENER ------------------------ Alias listener Version TNSLSNRforLinux: Version11.2.0.4.0 - Production Start Date26-DEC-2025 09:38:34 Uptime0days0hr.0min.0sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora Listener Log File /u01/app/grid/diag/tnslsnr/rac1/listener/alert/log.xml Listening Endpoints Summary...(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rac1)(PORT=1521)))The listener supports no services Thecommandcompleted successfully
# 查看节点1监听状态[grid@rac1 ~]$ srvctl status listener -n rac1 监听程序 LISTENER 已在节点上启用: rac1 监听程序 LISTENER 正在节点上运行: rac1

2. 节点2

#查看节点2监听状态[grid@rac2 ~]$ srvctl status listener 监听程序 LISTENER 已启用 监听程序 LISTENER 未运行
# 查看日志[grid@rac2 ~]$vi/u01/app/11.2.0/grid/log/rac2/agent/crsd/oraagent_oracle/oraagent_oracle.log# 启动节点2[grid@rac2 ~]$ lsnrctl start listener LSNRCTLforLinux: Version11.2.0.4.0 - Production on26-DEC-2025 09:39:15 Copyright(c)1991,2013, Oracle. All rights reserved. Starting /u01/app/11.2.0/grid/bin/tnslsnr: please wait... TNSLSNRforLinux: Version11.2.0.4.0 - Production System parameterfileis /u01/app/11.2.0/grid/network/admin/listener.ora Log messages written to /u01/app/grid/diag/tnslsnr/rac2/listener/alert/log.xml Error listening on:(ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))TNS-12542: TNS:address alreadyinuse TNS-12560: TNS:protocol adapter error TNS-00512: Address alreadyinuse Linux Error:98: Address alreadyinuse Listener failed to start. See the error message(s)above...
# kill 节点2占用的进程[grid@rac2 ~]$netstat-anp|grep:1521(Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.)tcp00192.168.85.204:15210.0.0.0:* LISTEN2831/tnslsnr[grid@rac2 ~]$lsof-i:1521 COMMAND PIDUSERFD TYPE DEVICE SIZE/OFF NODE NAME tnslsnr2831grid 14u IPv41062580t0 TCP rac-scan:ncube-lm(LISTEN)[grid@rac2 ~]$kill-92831[grid@rac2 ~]$lsof-i:1521
# 重新启动[grid@rac2 ~]$ lsnrctl start listener LSNRCTLforLinux: Version11.2.0.4.0 - Production on26-DEC-2025 09:42:13 Copyright(c)1991,2013, Oracle. All rights reserved. Starting /u01/app/11.2.0/grid/bin/tnslsnr: please wait... TNSLSNRforLinux: Version11.2.0.4.0 - Production System parameterfileis /u01/app/11.2.0/grid/network/admin/listener.ora Log messages written to /u01/app/grid/diag/tnslsnr/rac2/listener/alert/log.xml Listening on:(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rac2)(PORT=1521)))Connecting to(ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))STATUS of the LISTENER ------------------------ Alias listener Version TNSLSNRforLinux: Version11.2.0.4.0 - Production Start Date26-DEC-2025 09:42:14 Uptime0days0hr.0min.0sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora Listener Log File /u01/app/grid/diag/tnslsnr/rac2/listener/alert/log.xml Listening Endpoints Summary...(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rac2)(PORT=1521)))The listener supports no services Thecommandcompleted successfully
# 在节点1查看节点1和2的监听状态[grid@rac1 ~]$ srvctl status listener -n rac1 监听程序 LISTENER 已在节点上启用: rac1 监听程序 LISTENER 正在节点上运行: rac1[grid@rac1 ~]$ srvctl status listener -n rac2 监听程序 LISTENER 已在节点上启用: rac2 监听程序 LISTENER 正在节点上运行: rac2
版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/2/4 1:57:41

RyTuneX(Win1011系统优化工具)

RyTuneX是一款专为Windows 10和Windows 11系统打造的系统优化工具,基于WinUI 3框架构建,旨在帮助用户优化系统资源,提升设备性能,同时增强隐私保护。 软件功能 系统优化:支持一键性能调整,可禁用Superfetc…

作者头像 李华
网站建设 2026/2/5 15:17:21

探寻户外发光字行业标杆:解读济南鑫中标的专业解决方案

在商业展示的视觉战场上,户外门头发光字无疑是吸引顾客目光的第一利器。无论企业品牌打造、网红店铺引流,还是临时展位宣传,优质的发光字不仅能传递商业信息,更能成为街道景观的艺术符号。口碑认证的专业服务商:鑫中标…

作者头像 李华
网站建设 2026/2/6 20:18:58

计算机毕业设计springboot基于协同过滤算法的旅游推荐系统 SpringBoot 驱动的个性化旅程发现平台:融合协同过滤的智慧推荐引擎 基于用户兴趣聚类的 SpringBoot 旅游行程智能

计算机毕业设计springboot基于协同过滤算法的旅游推荐系统hcgg8585 (配套有源码 程序 mysql数据库 论文) 本套源码可以在文本联xi,先看具体系统功能演示视频领取,可分享源码参考。 当“说走就走”成为年轻人的口头禅,面对海量却雷…

作者头像 李华
网站建设 2026/2/11 20:03:35

LSTM量化交易策略的环境适应性与入参稳定性评估

功能说明与风险警示 本文实现的LSTM量化交易策略通过时间序列建模捕捉金融数据的非线性特征,核心功能包括:1)基于历史价格序列构建特征工程;2)采用多层LSTM网络学习时序依赖关系;3)输出未来价格…

作者头像 李华
网站建设 2026/2/4 17:31:26

ue python脚本 获取资产

ue 获取资产import unrealactor_name "BP_Bernice"# 获取 Editor Actor Utilities Subsystem subsystem unreal.get_editor_subsystem(unreal.EditorActorSubsystem)# 获取所有关卡 Actor actors subsystem.get_all_level_actors()for a in actors:print(a.get_na…

作者头像 李华