database's docs

5.1.1 oracle dataguard 11g r2 rman恢复错误


1. rman恢复错误

RMAN> STARTUP MOUNT;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 05/02/2017 15:14:29
RMAN-04014: startup failed: ORA-09925: Unable to create audit trail file
Linux-x86_64 Error: 2: No such file or directory
Additional information: 9925

2. 解决办法

查看上一步创建spfile,发现配置文件中的audit配置路径和实际创建的路径不符合

cat /tmp/initEXAMPLE_stby.ora |grep audit
*.audit_file_dest='/data/oracle/app/admin/dtoracle/adump'
*.audit_trail='db'

解决办法: 创建配置的路径目录,并保证oracle用户有写权限