你好,游客 登录 注册 搜索
背景:
阅读新闻

ORA-16753 错误问题解决

[日期:2014-09-18] 来源:Linux社区  作者:zuoqujia [字体:大 中 小]

1、使用dgmgrl将数据库设置为只读模式:

DGMGRL>edit database dg_name set state=read-only;

ORA-16753 Resource guard could not open standby database

Cause:Resource guard could not open standby database.

Action:Check the Data Guard console log for further details.

2、查看dg日志${bdump}/drc$SID.log记录

ORA-16753 错误问题解决

可以看到很关键的一条信息:

ORA-16006: audit_trail destination incompatible with database open mode

原来如此,通过show parameter  audit_trail,可以看到audit_trail=db。

3、audit_trail参数说明

AUDIT_TRAIL = { none | os | db | db,extended | xml | xml,extended }

db:Directs audit records to the database audit trail (the SYS.AUD$table), except for records that are always written to the operating systemaudit trail. Use this setting for a general database for manageability.

If the database was started in read-onlymode with AUDIT_TRAIL set to db, then Oracle Database internally sets AUDIT_TRAILto os. Check the alert log for details.


详见官网http://docs.oracle.com/cd/B19306_01/server.102/b14237/initparams016.htm

4、将audit_trail设置为none并重启数据库

alter system set audit_trail=none scope=spfile;

重启以后问题解决。

更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-09/106876.htm

linux
相关资讯       ORA-16753 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款