ORA-09925: Unable to create audit trail file汇总

今天一兄弟的库报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:--没有可用空间

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

MOS上的一段描述及解决:

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

本栏目更多精彩内容:http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/

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

时间: 2024-10-27 20:58:58

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

oracle ORA-09925错误:Unable to create audit trail file

今天一台数据库登录报ORA-09925错误 oracle@linux-37:~/oradata> sqlplus / as sysdba SQL*Plus: Release 11.1.0.6.0 - Production on Tue Nov 22 18:04:21 2011 Copyright (c) 1982, 2007, Oracle. All rights reserved. ERROR: ORA-09925: Unable to create audit trail file Linu

ffmpeg-Mac下编译Android FFmpeg2.2.2报错gcc is unable to create an executable file

问题描述 Mac下编译Android FFmpeg2.2.2报错gcc is unable to create an executable file 大家好.报错如题.查看config.log里面有错: EGIN /var/folders/ch/3lnns2f14bv398_ghdz1v9_h0000gn/T//ffconf.nj0OFFb3.c 1 #include 2 #if !(defined ARM_ARCH_4 || defined TARGET_ARCH_4) 3 #error "u

未解决Unable to use slave&amp;#39;s temporary directory /tmp - Can&amp;#39;t create/write to file &amp;#39;/tmp/SQL_LOAD-&amp;#39; (Err

  Login / Register Developer Zone Bugs Home Report a bug Statistics Advanced search Saved searches Tags Bug #62055 Race condition in check_temp_dir() from multiple mysqld instances Submitted: 2 Aug 2011 10:24 Modified: 19 Dec 2011 1:29 Reporter: Yosh

Cant create/write to file C:\WINDOWS\TEMP\...MYSQL报错解决方法

错误提示: Error: Can't create/write to file 'C:\WINDOWS\TEMP\#sql_738_0.MYD' (Errcode: 17) Errno.: 1 问题分析: 1.C:\Windows\TEMP 文件夹权限不够,至少也要给出 USERS 组的可读可写权限: 2.C:\Windows\TEMP 文件夹的磁盘满了,文件写不进去了,清空 TEMP 文件夹: 3.第三方限制(如杀毒软件的限制) 1)你的服务器装了 MCAFEE 杀毒软件,它的访问保护禁止了

Unable to open the physical file xxxx. Operating system error 2

在新UAT服务器上,需要将tempdb放置在SSD(固态硬盘)上.由于SSD(固态硬盘)特性,所以tempdb的文件只能放置在D盘下面,而不能是D盘下的某一个目录下面. ALTER  DATABASE tempdb MODIFY FILE(name='tempdev', filename='D:\tempdb.mdf') ;   GO   ALTER  DATABASE tempdb MODIFY FILE(name='templog', filename='D:\templog.ldf') ;

Mysql中Can&#039;t create/write to file错误的解决

今天在测试安装好的SupeSite之后,在修改用户空间模板之后有时会产生一个MySQL查询错误: SupeSite info: MySQL Query Error Script: /index.php Error: Can't create/write to file 'C:\WINDOWS\TEMP\#sql_4f4_0.MYD' (Errcode: 17) Errno.: 1 Similar error report has beed dispatched to administrator

解决MYSQL出现Can&#039;&#039;t create/write to file &#039;&#039;#sql

今天我上网站的管理后台,登录时提示MySQL error:Can't create/write to file '#sql_5c0_0.MYD' MySQL server error: Can't create/write to file 'C:/WINDOWS/TEMP/#sql_a80_0.MYD' (Errcode: 17) ( 1 )根据从网上搜索问题提示和自己遇到的情况分析.解决办法如下: 说明:出现这个问题是由于服务器环境不允许执行数据库校验,无法进行此操作.解决思路和原因:1.权限

solr-nutch:unable to create new native thread

问题描述 nutch:unable to create new native thread 使用nutch爬取时,报错,以下是日志,哪位大神给我解答下java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:597) at java.util.concurrent.Thr

Unable to read the project file &amp;#39;client.csproj&amp;#39;. Could not load file or assembly &amp;#39;Microsoft.Build.En

错误详细信息: Unable to read the project file 'client.csproj'. Could not load file or assembly 'Microsoft.Build.Engine, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. 系统找不到指定的文件. 今天打开之前一个vs2005的项目,报出上面的错误,这个啥