诊断:ORA-16188: LOG_ARCHIVE_CONFIG settings inconsistent with previously started instance

11g数据库里面一个套RAC环境,之前搭建过DG,后来拆除掉。某次演练重启的时候,碰到数据库无法open的情况。
日志显示

WARNING: The 'LOG_ARCHIVE_CONFIG' init.ora parameter settings
are inconsistent with another started instance. This may be
caused by the 'DB_UNIQUE_NAME' init.ora parameter being specified
differently on one or more of the other RAC instances; the
DB_UNIQUE_NAME parameter value MUST be identical for all
instances of the database.
Errors in file xxx_lgwr_26567.trc:
ORA-16188: LOG_ARCHIVE_CONFIG settings inconsistent with previously started instance

之前清除的时候,是直接将log_archive_confi的参数值直接置空。若重启该节点的时候,就会遇到ora-16188错误。

LGWR: terminating instance due to error 16188


然后实例被终止。

问题在于v$dataguard_config在集群间未被同步更新。

解决也好解决

alter system set log_archive_config=NODG_CONFIG scope=both sid='*';

其实根本原因在于参数log_archive_config的默认值设置错误。
而在文档说明中,该参数的默认值为
'SEND, RECEIVE, NODG_CONFIG'

所以得出一点,官方文档,还是阅读。

猜你喜欢

转载自www.cnblogs.com/syksky/p/9230251.html