重庆思庄Oracle、Redhat认证学习论坛

标题: ORA-09817: Write to audit file failed 报错解决办法 [打印本页]

作者: jiawang    时间: 2021-8-10 18:51
标题: ORA-09817: Write to audit file failed 报错解决办法
报错现象:
[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










欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2