oracle 11g dataguard安装出现的错误

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了oracle 11g dataguard安装出现的错误相关的知识,希望对你有一定的参考价值。

1.没有设置log_archive_dest_1参数,归档文件没有同步

Mon Nov 07 17:39:12 2016

Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST

Mon Nov 07 17:40:12 2016

Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST

Mon Nov 07 17:41:12 2016

Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST

Mon Nov 07 17:42:12 2016

Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST

Mon Nov 07 17:43:12 2016

Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST

Mon Nov 07 17:44:12 2016

Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST

Mon Nov 07 17:45:12 2016

Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST

Mon Nov 07 17:46:12 2016

Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST


解决方法:

[[email protected] dbs]$ vim initcheng.ora    --添加归档文件的存放路径(primary和standby节点)

*.log_archive_dest_1=‘LOCATION=/u01/oradata/tong/archive valid_for=(all_logfiles,all_roles) db_unique_name=cheng‘

[[email protected] dbs]$


2.主库节点(primary)没有权限往log_archive_dest_1写入

ARCH: Archival stopped, error occurred. Will continue retrying

ORACLE Instance cheng - Archival Error

ORA-16014: log 4 sequence# 26 not archived, no available destinations

ORA-00312: online log 4 thread 1: ‘/u01/oradata/tong/sredo04.log‘

Errors in file /u01/diag/rdbms/cheng/cheng/trace/cheng_arc1_6272.trc:

ORA-16014: log 4 sequence# 26 not archived, no available destinations

ORA-00312: online log 4 thread 1: ‘/u01/oradata/tong/sredo04.log‘


解决方法:

[[email protected] dbs]$ vim initcheng.ora      --primary和standby都修改

*.log_archive_dest_1=‘LOCATION=/u01/oradata/tong/archive valid_for=(all_logfiles,all_roles) db_unique_name=cheng‘

*.log_archive_dest_2=‘service=cheng LGWR SYNC AFFIRM valid_for=(online_logfiles,all_roles) db_unique_name=cheng‘

[[email protected] dbs]$ 



本文出自 “一起走过的日子” 博客,请务必保留此出处http://tongcheng.blog.51cto.com/6214144/1870619

以上是关于oracle 11g dataguard安装出现的错误的主要内容,如果未能解决你的问题,请参考以下文章

Oracle 11G R2利用RMAN搭建DataGuard环境

oracle11g dataguard 从库 只需要安装数据库软件 不需要创建实例吗

手把手教你搭建Oracle 11G dataguard

oracle11g dataguard 完全手册

oracle 11g dataguard能做到热备吗?能自动切换吗

oracle11g dataguard 完全手册