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'
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步