广告
返回顶部
首页 > 资讯 > 数据库 >Oracle RAC启动失败(DNS故障)
  • 841
分享到

Oracle RAC启动失败(DNS故障)

2024-04-02 19:04:59 841人浏览 八月长安
摘要

问题: 数据库启动报错:ORA-00119、ORA-00132等 环境: DB:oracle 11.2.0.4.0 OS:Redhat 6.5 问题现象: 启动数据库报错: [g

问题:

数据库启动报错:ORA-00119、ORA-00132等

环境:

DB:oracle 11.2.0.4.0

OS:Redhat 6.5

问题现象:

启动数据库报错:

[grid@rac01 ~]$ srvctl start database -d cjcdb

PRCR-1079 : Failed to start resource ora.cjcdb.db
CRS-5017: The resource action "ora.cjcdb.db start" encountered the following error: 
ORA-00119: invalid specification for system parameter REMOTE_LISTENER
ORA-00132: syntax error or unresolved network name 'rac-scan.cjc.com:1521'
. For details refer to "(:CLSN00107:)" in "/u01/app/11.2.0/grid/log/rac02/agent/crsd/oraagent_oracle/oraagent_oracle.log".
CRS-5017: The resource action "ora.cjcdb.db start" encountered the following error: 
ORA-00119: invalid specification for system parameter REMOTE_LISTENER
ORA-00132: syntax error or unresolved network name 'rac-scan.cjc.com:1521'
. For details refer to "(:CLSN00107:)" in "/u01/app/11.2.0/grid/log/rac01/agent/crsd/oraagent_oracle/oraagent_oracle.log".
CRS-2674: Start of 'ora.cjcdb.db' on 'rac02' failed
CRS-2674: Start of 'ora.cjcdb.db' on 'rac01' failed
CRS-2632: There are no more servers to try to place resource 'ora.cjcdb.db' on that would satisfy its placement policy

其中remote_listener参数值为:rac-scan.cjc.com:1521

怀疑DNS解析SCAN失败

登录到rac01执行nslookup rac-scan.cjc.com

[root@rac01 bin]# nslookup rac-scan.cjc.com
;; connection timed out; trying next origin
;; connection timed out; no servers could be reached

查看resolv.conf配置信息被清空了,实际上每次服务器重启网卡resolv.conf配置都会被自动清空

[root@rac01 bin]# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 8.8.8.8

检查网卡配置文件里没有指定90的DNS,手动添加90DNS。

[root@rac02 bin]# cd /etc/sysconfig/network-scripts/
[root@rac02 network-scripts]# vim ifcfg-eth0
DNS1="192.168.31.90"

重新添加resolv.conf配置信息

[root@rac01 bin]# vim /etc/resolv.conf
# Generated by NetworkManager
nameserver 8.8.8.8
domain  cjc.com
nameserver 192.168.31.90
options rotate
options timeout:2
options attempts:5

可以正常解析了

[root@rac01 bin]# nslookup rac-scan.cjc.com
Server:192.168.31.90
Address:192.168.31.90#53
Name:rac-scan.cjc.com
Address: 192.168.31.60
Name:rac-scan.cjc.com
Address: 192.168.31.70
Name:rac-scan.cjc.com
Address: 192.168.31.50

启动数据

[root@rac01 bin]# ./srvctl start instance -d cjcdb -i cjcdb1
[root@rac01 bin]# ./srvctl start instance -d cjcdb -i cjcdb2

检查实例状态

[root@rac01 bin]# ./srvctl status database -d cjcdb
Instance cjcdb1 is running on node rac01
Instance cjcdb2 is running on node rac02

欢迎关注我的微信公众号"IT小Chen",共同学习,共同成长!!

您可能感兴趣的文档:

--结束END--

本文标题: Oracle RAC启动失败(DNS故障)

本文链接: https://www.lsjlt.com/news/50029.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作