Oracle rac不能监听public ip

0    332    2

Tags:

👉 本文共约2106个字,系统预计阅读时间或需8分钟。

现象

Oracle 11.2.0.4的rac不能监听public ip,很奇怪:

解决

修改监听文件/u01/app/11.2.0.4/grid/network/admin/listener.ora文件,增加如下内容:

查看:

然后重启监听即可:

结果:

可见,public和vip都已经被监听了。

其它原因 (Doc ID 1597716.1)

文件/etc/nsswitch.conf的权限问题:

日志文件:/u01/app/11.2.0.4/grid/log/oarac2/agent/crsd/oraagent_grid/oraagent_grid.log

文件endpoints_listener.ora不能直接修改,因为重启监听又回到最初的状态了。

Public IP Endpoint is not registered for Listener in 11.2 RAC (Doc ID 1597716.1)

APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Generic (Platform Independent)

SYMPTOMS

This is two node RAC, ONS fails to start, listener starts successful, but Public IP ENDPOINT is not dynamically registered to the Listener.

- lsnrctl status shows only VIP Endpoint registered, Public IP Endpoint not registered.

$ lsnrctl status

本人提供Oracle(OCP、OCM)、MySQL(OCP)、PostgreSQL(PGCA、PGCE、PGCM)等数据库的培训和考证业务,私聊QQ646634621或微信dbaup66,谢谢!
AiDBA后续精彩内容已被站长无情隐藏,请输入验证码解锁本文!
验证码:
获取验证码: 请先关注本站微信公众号,然后回复“验证码”,获取验证码。在微信里搜索“AiDBA”或者“dbaup6”或者微信扫描右侧二维码都可以关注本站微信公众号。

标签:

Avatar photo

小麦苗

学习或考证,均可联系麦老师,请加微信db_bao或QQ646634621

您可能还喜欢...

发表回复