Welcome 微信登录

首页 / 数据库 / MySQL / Oracle 11g Dataguard错误ORA-02097:ORA-16053:

在配置Dataguard时,执行命令发生下面的错误:
SQL> alter system set log_archive_dest_1="location=/u01/app/Oracle/flash_recovery_area/HYOMS/archivelog valid_for=(all_logfiles,all_roles) db_unique_name=hyoms01";
alter system set log_archive_dest_1="location=/u01/app/oracle/flash_recovery_area/HYOMS/archivelog valid_for=(all_logfiles,all_roles) db_unique_name=hyoms01"
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-16053: DB_UNIQUE_NAME hyoms01 is not in the Data Guard Configuration这是因为刚执行的alter system set db_unique_name="hyoms01" scope=spfile;还没有数据库识别到
需要重新启动数据库可以解决。
SQL> select * from V$DATAGUARD_CONFIG ;DB_UNIQUE_NAME
------------------------------
hyoms
hyoms01
hyoms02
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startupSQL> select * from V$DATAGUARD_CONFIG ;DB_UNIQUE_NAME
------------------------------
hyoms01
hyoms02
SQL> alter system set log_archive_dest_1="location=/u01/app/oracle/flash_recovery_area/HYOMS/archivelog valid_for=(all_logfiles,all_roles) db_unique_name=hyoms01";
System altered.在异构平台配置Oracle11g R2 Streams同时再配置相同平台的Oracle11g R2 Dataguard配置Oracle 11g的Dataguard测试,创建物理备库(Physical Standby Database)相关资讯      Oracle教程 
  • Oracle中纯数字的varchar2类型和  (07/29/2015 07:20:43)
  • Oracle教程:Oracle中查看DBLink密  (07/29/2015 07:16:55)
  • [Oracle] SQL*Loader 详细使用教程  (08/11/2013 21:30:36)
  • Oracle教程:Oracle中kill死锁进程  (07/29/2015 07:18:28)
  • Oracle教程:ORA-25153 临时表空间  (07/29/2015 07:13:37)
  • Oracle教程之管理安全和资源  (04/08/2013 11:39:32)
本文评论 查看全部评论 (0)
表情: 姓名: 字数