今天一兄弟的库报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

ORA-09925: Unable to create audit trail file汇总的更多相关文章

  1. ORA-09925: Unable to create audit trail file带来的sqlplus / as sysdba无法连接

    SQL> show parameter pfile; /picclife/app/oracle/product/11.2.0/dbhome_1/dbs/spfilehukou.ora SQL&g ...

  2. sqlplus链接数据库报ORA-09925: Unable to create audit trail file

    [localhost.localdomain]:[/oracle11/app/oracle11/product/11.2.0/dbhome_1/dbs]$ sqlplus / as sysdba SQ ...

  3. Oracle案例01——ORA-09925: Unable to create audit trail file

    2018年春节后第一天上班就遇到一个审计日志无法写入的问题,具体解决思路如下. 一.错误日志 数据库错误日志内容: Fri Feb 23 11:16:30 2018OS Audit file coul ...

  4. ORA-09925: Unable to create audit trail file

    当我修改ORACLE_SID为新的SID,想进行数据库还原时,用sqlplus报如下错误 [oracle@dbtest ~]$ sqlplus / as sysdba SQL Production : ...

  5. ORA-09925:Unable to create audit trail file 数据库启动失败

    问题描述:生产库停机加内存和CPU,重启完服务器,启动数据库报错. ORA-09925: Unable to create audit trail file Linux-x86_64 Error 2: ...

  6. [问题解决] initAndListen: 10309 Unable to create/open lock file: /data/db/mongod.lock

    错误: 在linux下开启mongoDB的 $ >bin: ./mongod 时报错:initAndListen: 10309 Unable to create/open lock file: ...

  7. Warning: File upload error - unable to create a temporary file in Unknown on line 0

    upload_tmp_dir 临时文件夹问题 上传文件提示 Warning: File upload error - unable to create a temporary file in Unkn ...

  8. File upload error - unable to create a temporary file

    php上传图片的时候会报错: File upload error - unable to create a temporary file 文件上传错误 - 无法创建一个临时文件 你只需要打开你的php ...

  9. PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0

    代码在本地运行一切都OK,放到服务器上,网站访问正常,上传就出现该错误. 提示:PHP Warning: File upload error - unable to create a temporar ...

随机推荐

  1. 3.朴素贝叶斯和KNN算法的推导和python实现

    前面一个博客我们用Scikit-Learn实现了中文文本分类的全过程,这篇博客,着重分析项目最核心的部分分类算法:朴素贝叶斯算法以及KNN算法的基本原理和简单python实现. 3.1 贝叶斯公式的推 ...

  2. Python定制容器

    Python 中,像序列类型(如列表.元祖.字符串)或映射类型(如字典)都是属于容器类型,容器是可定制的.要想成功地实现容器的定制,我们需要先谈一谈协议.协议是什么呢?协议(Protocols)与其他 ...

  3. Deutsch lernen (06)

    1. das Verzeichnis,-se 表格:名单,目录 Die Daten sind in einem Verzeichnis enthalten. (包括,含有) 2. enthalten  ...

  4. 连接Oracle数据库帮助类

    连接Oracle数据库帮助类,就是把连接Oracle数据库的方法封装起来,只需要在其它页面调用就可,不需要重复写. import java.sql.Connection; import java.sq ...

  5. 图像局部显著性—点特征(GLOH)

    基于古老的Marr视觉理论,视觉识别和场景重建的基础即第一阶段为局部显著性探测.探测到的主要特征为直觉上可刺激底层视觉的局部显著性--特征点.特征线.特征块. 相关介绍:局部特征显著性-点特征(SIF ...

  6. AI不与人为敌

    业界广为流传着一句话:有多少人工就有多少智能. 其实还应该有一句话:有多少付出就因该有多少回报.公正是世界永恒的话题. 一.人工智能还是人工愚蠢 科技从来没有善恶,也不会杀人,愚蠢的人比聪明的人做的错 ...

  7. (转)基于Metronic的Bootstrap开发框架经验总结(5)--Bootstrap文件上传插件File Input的使用

    http://www.cnblogs.com/wuhuacong/p/4774396.html Bootstrap文件上传插件File Input是一个不错的文件上传控件,但是搜索使用到的案例不多,使 ...

  8. 安装mysql遇到的几个坑

    1. 官网下载压缩版mysql,配置太复杂 弃之 2. 官网下载最新版本mysql安装包 5.8.X,安装成功,一路next,安装成功后发现没有看到自定义安装路径,查看mysql安装完成的路径果然在C ...

  9. localStorage、sessionStorage、cookie

    vue下的全局变量和vuex里的state都是临时变量,页面刷新就都没了.

  10. centos6.5 安装Python3.6.0

      首先安装python3.6可能使用的依赖 # yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel ...