首页 > 代码库 > ORA-16753 错误问题解决
ORA-16753 错误问题解决
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-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或者:http://blog.csdn.net/tianlesoftware/article/details/4712932说明
4、将audit_trail设置为none并重启数据库
alter system set audit_trail=none scope=spfile;
重启以后问题解决。
本文出自 “composer” 博客,请务必保留此出处http://zuoqujia.blog.51cto.com/9151800/1554539
ORA-16753 错误问题解决
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。