oracle ORA-09925 Unable to create audit trail file

今天一台数据库登录报ORA-09925错误

 

 
 
  1. oracle@linux-37:~/oradata> sqlplus / as sysdba  
  2.  
  3. SQL*Plus: Release 11.1.0.6.0 - Production on Tue Nov 22 18:04:21 2011  
  4.  
  5. Copyright (c) 1982, 2007, Oracle.  All rights reserved.  
  6.  
  7. ERROR:  
  8. ORA-09925: Unable to create audit trail file  
  9. Linux-x86_64 Error: 30: Read-only file system  
  10. Additional information: 9925  
  11. ORA-01075: you are currently logged on  

该错误的官方描述如下: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 Support Services.

之前碰到过该错误,记得当时好像是文件系统满了。所以先查看下文件系统linux-37:~ # dfFilesystem           1K-blocks      Used Available Use% Mounted on/dev/sda2             41286828   2748468  36441076   8% /udev                   1025804       356   1025448   1% /dev/dev/sda5             51613016  40310456   8680756  83% /home/dev/sda3             51613048   6702328  42288912  14% /opttmpfs                   278528        36    278492   1% /dev/shm

发现文件系统没满,那么先把机器重启下试试,重启后机器不能正常进入系统。提示:Press enter for maintenance(or type Control-D to continue):/dev/sda5 contains a file system with errors, check forced./dev/sda5: Inodes that were part of a corrupted orphan linked list found.……/dev/sda5: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.(i.e., without -a or -p options)·

原来是文件系统有问题,运行fsck.ext3进行修复fsck.ext3 -y /dev/sda5修复成功,然后重启。

再试试登录数据库,问题解决

 

 
 
  1. oracle@linux-37:~> sqlplus / as sysdba  
  2.  
  3. SQL*Plus: Release 11.1.0.6.0 - Production on Tue Nov 22 18:45:48 2011  
  4.  
  5. Copyright (c) 1982, 2007, Oracle.  All rights reserved.  
  6.  
  7.  
  8. Connected to:  
  9. Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production  
  10. With the Partitioning option  
  11.  
  12. SQL>   

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值