暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

RAC 双节点启动报ORA-1102

原创 silence 2023-05-18
391

Second RAC instance fails to start with error ORA-1102


背景:

使用备份软件进行的Oracle 恢复, instance_name,db_unique_name,service_names 可以与源库一致, db_name 保持一致即可。


在使用svrctl start database -d db_unique_name 时报ora-1102错。


按照RAC: Second Instance Fails to Start With Error ORA-1102 (Doc ID 1579765.1) 解决报错。


  • srvctl start output

srvctl start database -d <DB_NAME> -o mount
PRCR-1079 : Failed to start resource ora.<DB_NAME>.db
CRS-5017: The resource action "ora.<DB_NAME>.db start" encountered the following error:
ORA-01102: cannot mount database in EXCLUSIVE mode
. For details refer to "(:CLSN00107:)" in "<GRID_HOME>/log/<HOSTNAME>/agent/crsd/oraagent_oracle/oraagent_oracle.log".

CRS-2674: Start of 'ora.<DB_NAME>.db' on '<HOSTNAME>' failed


  • sqlplus startup output

Connected to an idle instance.

SQL> startup mount
ORA-01102: cannot mount database in EXCLUSIVE mode


解决方案:

Connect to a running instance and issue the following commands:

SQL> alter system set cluster_database=TRUE scope=spfile sid='*';
SQL> alter system set cluster_database_instances=<n> scope=spfile sid='*';
where '<n>' is the actual number of instances.

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论