故障现象:
2019-07-25 09:15:39 ERROR OGG-01091 Unable to open file "./dirdat/th079817"
(error 2, No such file or directory).
1、找到文件目录,发现文件存在,并且系统正在不断生成其它文件,其它进程也可以读取该文件。
回忆报错前后系统发生事情,由于系统磁盘读取故障导致系统自动重启,启动后,ogg进程无法读取文件。怀疑文件正常,是由于重启引起无法读。
2、检查进程最后一次正常的时间
检查最后一次正常时间:
GGSCI () 6> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING DPE_THB 00:00:02 00:00:06
EXTRACT ABENDED DPE_THJ 69:29:55 00:04:41
EXTRACT RUNNING EXT_TH 00:00:02 00:00:08
GGSCI (tha11db1) 7> info DPE_THJ
EXTRACT DPE_THJ Last Started 2019-07-25 09:15 Status ABENDED
Checkpoint Lag 69:29:55 (updated 00:04:46 ago)
Log Read Checkpoint File ./dirdat/th079816
2019-07-22 11:45:44.000000 RBA 19327632
3、修改进程时间到报错前一刻
GGSCI (tha11db1) 15> alter DPE_THJ begin 2019-07-22 11:45:30
EXTRACT altered.
4、重启进程
GGSCI (tha11db1) 16> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING DPE_THB 00:00:03 00:00:09
EXTRACT STOPPED DPE_THJ 69:42:58 00:00:02
EXTRACT RUNNING EXT_TH 00:00:02 00:00:05
GGSCI (tha11db1) 37> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING DPE_THB 00:00:00 00:00:09
EXTRACT RUNNING DPE_THJ 68:52:37 00:00:09
EXTRACT RUNNING EXT_TH 00:00:00 00:00:08