今天一兄弟的库报ORA-09925: Unable to create audit trail file,当时查 df -h有可用空间,文件夹的权限也正确,未df -i查看Inodes使用情况,审计文件夹下有将近24W个文件,初步推測是由于审计生成文件过多导致文件夹所在分区的Inodes用光了,当时删除部分审计TRACE文件后正常未查看 Inodes使用情况。

汇总了下:ORA-09925的原因大致有下面三种:--事实上能够依据报错推断是权限问题还是磁盘空间问题

原因一:文件夹权限问题--文件夹权限被改,无权限向文件夹写审计数据

oracle bin文件夹(实际是整个oracle文件夹)的属主被更改:  --ls -al bin

解决方法

chown -R oracle.oinstall /opt/orace

原因二:确实磁盘没空间了  --df -h

原因三:磁盘Inodes用光--df -i     參考:模拟LINUX磁盘分区有可用空间无可用Inodes时报错:No
space left on device

报错演示样例:--部分网络

演示样例1:能够依据报错信息推断是文件夹权限问题导致不能写入

ORA-09925: Unable to create audit trail file

Linux Error: 13: Permission denied

Additional information: 9925

ORA-09925: Unable to create audit trail file

Linux Error: 13: Permission denied

Additional information: 9925

演示样例2:--仅仅读文件系统--没有写权限(可能是文件系统出问题)

ORA-09925: Unable to create audit trail file  

Linux-x86_64 Error: 30: Read-only file system  

Additional information: 9925  

ORA-01075: you are currently logged on

演示样例3:--没有可用空间

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaGFpYnVzdWFueXVu/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">

##############################

MOS上的一段描写叙述及解决:

Problem Description -------------------   

Problem occurs when:   $ORACLE_HOME/rdbms/audit directory is full or   $ORACLE_HOME/rdbms/audit directory doesn't exist   as a side effect of this problem oracle asks for password  after connect internal

   

Solution Description  --------------------   

Make space available in $ORACLE_HOME/rdbms/audit by removing files that are  not needed     or    Make sure the directory exists and is readable by oracle    or    Change init.ora audit_file_dest to an existing directory.   Change init.ora parameter means restart
instance as workaround kill pmon.                                                 



Explanation  -----------   

The behavior on Unix is to write a file named ora_<process_id>.aud into   the directory specified by audit_file_dest.    The default directory is /rdbms/audit.    The file will contain an entry for the audited action, which would be internal  logins or startup.
On ports which support an OS audit trail, these records will be   written there.   This feature is not affected by the settings of the audit_trail parameter.

ORA-09925: "Unable to create audit trail file"

Cause: ORACLE was not able to create the file being used to hold   audit trail records.

Action: Check the UNIX error number for a possible operating system error.              

If there is no error, contact ORACLE customer support.

References  ----------

[NOTE:1018924.102] ORA-09925 ON DATABASE STARTUP  [NOTE:1056988.6]   ORA-09925 DURING HOT BACKUPS  [NOTE:21073.1]

OERR:  ORA-9925   "Unable to create audit trail  [BUG:723955]       SQLPLUS ALLOWS DB STARTUP (BUT NOT SHUTDOWN)

IF AUDIT_FILE_DEST DOESN'T EXIST

Search Words  ------------   ORA-09925 audit trail audit_file_dest

最新文章

  1. oracle查询以当前年份为准的近些年数据
  2. 一个简单的游戏开发框架(七.动作Motion)
  3. 实现js的二叉树
  4. 让UserControl能显示焦点状态
  5. 【59测试】【树】【dp】
  6. C++中关于string类型究竟能不能用cout输出的问题
  7. XML 文档和数据
  8. acdream1197 Points In Cuboid
  9. 如何将自己开发的标签打成jar包
  10. Not able to reset SmartRF04DD
  11. 初探Lambda表达式/Java多核编程【2】并行与组合行为
  12. 深入分析 Java I/O 的工作机制
  13. VS源码编译QuaZip(Windows下)
  14. 关于项目中ajax 操作 原生项目遇到的问题
  15. spring中基于JDK和CGLIB代理在项目的应用
  16. SAML 2.0初始
  17. geotrellis使用(四十二)将 Shp 文件转为 GeoJson
  18. ranch 源码分析(三)
  19. Jmeter分布式及在Linux上执行jmeter脚本
  20. nagios维护之常见问题

热门文章

  1. jdbc数据库中的增删改
  2. 文件的上传(可以上传照片,word文档,等单个文件)
  3. border使用
  4. 【原创】你知道Oracle 10G能存多少数据吗
  5. DataTable如何去除重复的行
  6. cmd 运行 svn 亲测!!!
  7. 【sqli-labs】 less7 GET - Dump into outfile - String (导出文件GET字符型注入)
  8. PyCharm 恢复默认设置 | JetBrains IDE 配置文件安装目录
  9. 【转】【Oracle 集群】ORACLE DATABASE 11G RAC 知识图文详细教程之RAC 特殊问题和实战经验(五)
  10. TextInputLayout使用时各个地方的字体颜色