ORA-09817: Write to audit file failed 报错解决办法
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ORA-09817: Write to audit file failed 报错解决办法相关的知识,希望对你有一定的参考价值。
参考技术A 报错现象:[oracle@hisdg admin]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Tue Aug 10 18:39:37 2021
Copyright (c) 1982, 2013, Oracle. All rights reserved.
ERROR:
ORA-09817: Write to audit file failed.
Linux-x86_64 Error: 28: No space left on device
Additional information: 12
ORA-01075: you are currently logged on
写入失败,查看磁盘空间
[oracle@hisdg ~]$ df -h
文件系统 容量 已用 可用 已用%% 挂载点
/dev/sda3 95G 90G 0 100% /
tmpfs 16G 119M 16G 1% /dev/shm
/dev/sda1 194M 32M 153M 18% /boot
df: "/root/.gvfs": 权限不够
/dev/sr0 3.5G 3.5G 0 100% /media/RHEL_6.4 x86_64 Disc 1
磁盘空间已经使用100%了,建议查看/目录下过期不用的文件以释放空间。
果断删除,腾出将近90M空间,就能起来了:
[oracle@hisdg alert]$ df -h
文件系统 容量 已用 可用 已用%% 挂载点
/dev/sda3 95G 90G 89M 100% /
tmpfs 16G 119M 16G 1% /dev/shm
/dev/sda1 194M 32M 153M 18% /boot
df: "/root/.gvfs": 权限不够
/dev/sr0 3.5G 3.5G 0 100% /media/RHEL_6.4 x86_64 Disc 1
[oracle@hisdg alert]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Tue Aug 10 18:48:02 2021
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination +DGDATA
Oldest online log sequence 126
Next log sequence to archive 131
Current log sequence 131
ORA-09925: Unable to create audit trail file Linux-x86_64
今天手工建库的过程中遇到了这么个错误
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
[oracle@ocbsdb01 dbhome_1]$ ps -ef | grep smon
oracle 11903 1 0 22:18 ? 00:00:00 ora_smon_manual
oracle 12485 1690 0 22:28 pts/1 00:00:00 grep smon
[oracle@ocbsdb01 dbhome_1]$ kill -9 11903
[oracle@ocbsdb01 dbhome_1]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on 星期六 3月 11 22:28:41 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
已连接到空闲例程。
SQL>
其实就是oracle 提示你已经登录了。杀掉重新登录就好了
注意:这种ORA-09925 报错的原因有很多,具体得看实际情况来定
以上是关于ORA-09817: Write to audit file failed 报错解决办法的主要内容,如果未能解决你的问题,请参考以下文章
ORA-09817: Write to audit file failed 报错解决办法
[已解决]报错run `npm audit fix` to fix them, or `npm audit` for details
npm run dev 报错 run `npm audit fix` to fix them, or `npm audit` for details
ubuntu安装npm(npm install)时报错:run `npm audit fix` to fix them, or `npm audit` for details