oracle sqlplus連接ORA-09925: Unable to create audit trail file解決方案

sqlplus連接提示:

ORA-09925: Unable to create audit trail file
Linux-x86_64 Error: 28: No space left on device
Additional information: 9925
ORA-01075: you are currently logged on

解決方案:

1、命令 :df -h 磁盤空間沒有滿

2、命令:df -i  idnode已佔100%

3、命令:du -sh * 查看佔用空間大的目錄

切換空間目查看文件數量

原因之一:

Oracle11g adump目錄下面.aud增長導致空間撐滿導致操作系統idnoe不足

4、解決方案:

命令: cd /oracle/oracle/data/adump/ -----------切換目錄

命令:find . -type f -mtime +270 -name "*.aud" -exec rm -rf {} \; 查找當前目錄下270天以前的文件並刪除

-mtime +270 –設置時間爲270天前;

-type f –設置查找的類型爲文件;

-name *.aud –設置文件名以.aud結尾;

-exec rm -f –查找完畢後執行刪除操作

另外的方法大同小異:
#find . -mtime +270 -type f | xargs rm -rf

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章