ORA-09817: Write to audit file failed 報(bào)錯(cuò)解決辦法
報(bào)錯(cuò)現(xiàn)象:
[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
文件系統(tǒng) 容量 已用 可用 已用%% 掛載點(diǎn)
/dev/sda3 95G 90G 0 100% /
tmpfs 16G 119M 16G 1% /dev/shm
/dev/sda1 194M 32M 153M 18% /boot
df: "/root/.gvfs": 權(quán)限不夠
/dev/sr0 3.5G 3.5G 0 100% /media/RHEL_6.4 x86_64 Disc 1
磁盤空間已經(jīng)使用100%了,建議查看/目錄下過期不用的文件以釋放空間。
果斷刪除,騰出將近90M空間,就能起來了:
[oracle@hisdg alert]$ df -h
文件系統(tǒng) 容量 已用 可用 已用%% 掛載點(diǎn)
/dev/sda3 95G 90G 89M 100% /
tmpfs 16G 119M 16G 1% /dev/shm
/dev/sda1 194M 32M 153M 18% /boot
df: "/root/.gvfs": 權(quán)限不夠
/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
