重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3106|回复: 0
打印 上一主题 下一主题

[范例] RAC的一个节点启动报错ORA-01105,ORA-01606

[复制链接]
跳转到指定楼层
楼主
发表于 2016-7-11 08:56:57 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 郑全 于 2016-7-11 08:59 编辑

环境:RHEL5.6 + Oracle11.2.0.3双节点RAC
故障现象:节点1实例没有启动成功,节点2正常启动。
?1.故障现象
?2.解决过程
?3.总结
1.故障现象尝试启动RAC 节点1,遭遇ORA-01105,ORA-01606:
SQL> startup mount;
   ORACLE instance started.Total System Global Area 9.4869E+10 bytesFixed Size                  2264056 bytesVariable Size            5.0197E+10 bytesDatabase Buffers         4.4560E+10 bytesRedo Buffers              109174784 bytesORA-01105: mount is incompatible with mounts by other instancesORA-01606: parameter not identical to that of another mounted instance数据库节点1目前状态是NOMOUNT.
2.解决过程错误代码说明:
$ oerr ora 110501105, 00000, "mount is incompatible with mounts by other instances"// *Cause:  An attempt to mount the database discovered that another instance//         mounted a database by the same name, but the mount is not//         compatible. Additional errors are reported explaining why.// *Action: See accompanying errors.$ oerr ora 160601606, 00000, "parameter not identical to that of another mounted instance"// *Cause:  A parameter was different on two instances.// *Action: Modify the initialization parameter and restart.查询gc_隐含参数
set linesize 333col name for a35col description for a66col value for a30SELECT   i.ksppinm name,     i.ksppdesc description,     CV.ksppstvl VALUEFROM   sys.x$ksppi i, sys.x$ksppcv CV     WHERE   i.inst_id = USERENV ('Instance')     AND CV.inst_id = USERENV ('Instance')     AND i.indx = CV.indx     AND i.ksppinm LIKE '/_gc%' ESCAPE '/'  ORDER BY   REPLACE (i.ksppinm, '_', '');  查询结果如下(部分相同值的参数已省略):
--节点1:_gc_policy_time                     how often to make object policy decisions in minutes               0_gc_read_mostly_flush_check         if TRUE, optimize flushes for read mostly objects                  FALSE_gc_read_mostly_locking             if TRUE, enable read-mostly locking                                FALSE--节点2:_gc_policy_time                     how often to make object policy decisions in minutes               10_gc_read_mostly_flush_check         if TRUE, optimize flushes for read mostly objects                  FALSE_gc_read_mostly_locking             if TRUE, enable read-mostly locking                                TRUE发现问题,_gc_policy_time隐藏参数,_gc_read_mostly_locking隐藏参数,2个节点值不一致。
解决方法:根据现在正常运行的节点2的值,重新设置这两个值:
alter system set "_gc_read_mostly_locking"=true scope=spfile sid='*';
alter system set "_gc_policy_time"=10 scope=spfile sid='*';
或者两边节点都停下来,重起.
--正常关闭节点1:shutdown immediate;
--正常启动节点1:startup实际执行过程如下:
SQL> alter system set "_gc_read_mostly_locking"=true scope=spfile sid='*';
System altered.
SQL> alter system set "_gc_policy_time"=10 scope=spfile sid='*';
System altered.
SQL> shutdown immediate;ORA-01507: database not mountedORACLE instance shut down.
SQL> startupORACLE instance started.Total System Global Area 9.4869E+10 bytesFixed Size                  2264056
bytesVariable Size            5.1271E+10 bytesDatabase Buffers         4.3487E+10 bytesRedo Buffers              
109174784 bytesDatabase mounted.Database opened.
至此RAC节点1启动成功。
3.总结我这里,其实就是修改了 gc_read_mostly_locking gc_policy_time 参数,关闭了 drm导致.

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-5-8 10:34 , Processed in 0.091001 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表