oracle 11g dataguard安装出现的错误

前端之家收集整理的这篇文章主要介绍了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


解决方法:

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

*.log_archive_dest_1='LOCATION=/u01/oradata/tong/archivevalid_for=(all_logfiles,all_roles) db_unique_name=cheng'

[oracle@dg2 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'


解决方法:

[oracle@dg2 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,0);">all_roles) db_unique_name=cheng'

[oracle@dg2 dbs]$

原文链接:https://www.f2er.com/oracle/211899.html

猜你在找的Oracle相关文章