ORA-19504,乌龙处理

        昨天晚上4点被电话吵醒,夜班同事说产线无法使用,打开电脑,用Toad直接连数据库OK.查看log,说是无法写archive log.查看硬盘空间,有140G可用。Select * from v$lock,一分钟都没有跑出来,cancel掉。夜班同事又打电话催,干脆重新启动算了,也不找根本原因了。结果下了shutdown immediate命令之后,两分钟仍无反应。在等数据库shutdown的时候,再次检查了一下硬盘,天哪,只剩140M了,刚才没睡醒,看成了140G了,赶快删除掉一些archive log,数据库很快shutdown 了,赶快再startup,乌龙一场。
         因为要休长假,将数据库交给其他同事管理,他一周都没清理archive log,我也没去检查,哎,自做自受。今天上班都没精神。以下是log。

Errors in file d:\cim\dump\bdump\cim_arc1_3068.trc:
ORA-19504: failed to create file "D:\CIM\ARCHIVE\ARC001_062599653342989.ARC"
ORA-27044: unable to write the header block of file
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 112) There is not enough space on the disk.

ARC1: Error 19504 Creating archive log file to 'D:\CIM\ARCHIVE\ARC001_062599653342989.ARC'
ARCH: Archival stopped, error occurred. Will continue retrying
Mon Oct 26 03:42:51 2009
Errors in file d:\cim\dump\bdump\cim_arc1_3068.trc:
ORA-16038: log 3 sequence# 142989 cannot be archived
ORA-19504: failed to create file ""
ORA-00312: online log 3 thread 1: 'D:\CIM\REDO\REDO3.LOG'

posted @ 2009-10-26 10:07  土鸟  阅读(1871)  评论(0编辑  收藏  举报