ORA-09925: Unable to create audit trail file

今天在恢复一个库的时候遇到了ORA-09925: Unable to create audit trail file的错误。
错误信息如下:

SQL*Plus: Release 11.2.0.3.0 Production on Wed Mar 14 13:51:32 2012
Copyright (c) 1982, 2011, Oracle.  All rights reserved.

ERROR:
ORA-09925: Unable to create audit trail file
Linux-x86_64 Error: 2: No such file or directory
Additional information: 9925
ORA-01075: you are currently logged on


Enter user-name: 
ERROR:
ORA-01017: invalid username/password; logon denied

Enter user-name: 
ERROR:
ORA-01017: invalid username/password; logon denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus


 

MOS中[ID 1227964.1] 记录了这个问题:
我遇到的就是第二种情况,audit_file_dest路径不存在。创建这个目录即可。
SQL> show parameter audit_file_dest

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
audit_file_dest                      string      /opt/ora11g/admin/devdb/adump
                                                

If for any reason an Oracle process cannot write to an audit file an ORA-9925 error
will be encountered. The typical reasons for this problem are:

1) The free space on the mount point used to dump the audit records is exhausted:

$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 448G 448 G 0 100% /
/dev/sda1 190M 26M 155M 15% /boot
tmpfs 3.9G 2.5G 1.4G 65% /dev/shm

2) The mount point is not available or the directory specified by the AUDIT_FILE_DEST parameter does not exist.

3) The number of inodes is exhausted
$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda3 121012224 121012224 0 100% /
/dev/sda1 50200 46 50154 1% /boot
tmpfs 1001034 803 1000231 1% /dev/shm


4) The oracle user does not have enough privileges to write to the audit file destination folder 

Due to the architectural changes introduced in 11g  the number of the audit records will be larger
when compared to the earlier versions .
If not cleaned periodically this will clutter the adump folder and can cause this problem .

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值