免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2096 | 回复: 3
打印 上一主题 下一主题

数据库无法启动,出错信息如下 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-12-20 13:40 |只看该作者 |倒序浏览
上星期一直在用dbaccess中的load语句导数据,到星期六晚,数据库突然死了,察看日志如下:
20:55:02  Assert Failed: I/O error, Primary Chunk '/home/dbchunk/rootchk' -- Offline
20:55:02  Informix Dynamic Server Version 7.30.UC10
20:55:02   Who: Session(741, xxx@xxx.xxx, 4562, 0)
Thread(765, sqlexec, 0, 1)
File: rsbuff.c Line: 3609
20:55:02   Results: Chunk is now unusable
20:55:02   Action: Repair and restore from mirror or archive
20:55:03   See Also: /tmp/af.2fd28a5
20:55:03  Assert Failed: INFORMIX-OnLine Must ABORT
        Critical media failure.
20:55:03  Informix Dynamic Server Version 7.30.UC10
20:55:03   Who: Session(741,  xxx@xxx.xxx, 4562, 0)
                Thread(765, sqlexec, 0, 1)
                File: rsmirror.c Line: 1703
20:55:05   See Also: /tmp/af.2fd28a5, shmem.2fd28a5.1
20:55:22  rsmirror.c, line 1703, thread 765, proc id 2665, INFORMIX-OnLine Must
ABORT
        Critical media failure..
20:55:22  PANIC: Attempting to bring system down

发现后,重新启动oninit,很快又报错:
oninit: Fatal error in shared memory initialization
发现日志中,写道:
21:05:55  Informix Dynamic Server Initialized -- Shared Memory Initialized.
21:05:55  Physical Recovery Started.
21:06:08  I/O read chunk 1, pagenum 92, pagecnt 4 -->; errno = 5
21:06:08  Assert Failed: Physical log recovery error
21:06:08  Informix Dynamic Server Version 7.30.UC10
21:06:08   Who: Session(11, informix@xxx.xxx, 0, 0)
                Thread(38, fast_rec, 0, 1)
                File: rsrecvr.c Line: 361
21:06:08   Results: Physical Recovery Aborted.
21:06:08   Action: Retry and/or restore
21:06:09   See Also: /tmp/af.267cc0, shmem.267cc0.0
21:06:09  Cannot Restore to Checkpoint.
21:06:09  Informix Dynamic Server Stopped.
21:06:09  mt_shm_remove: WARNING: may not have removed all/correct segments

好像是rootchk出了问题,但是在oninit刚启还能用的那几分钟内看onstat 或 onmonitor ,rootchk的状态为PO,如果真的offline的话状态不是应该为PD吗?
请教各位,我该怎么才能修复呢?

论坛徽章:
0
2 [报告]
发表于 2004-12-20 21:42 |只看该作者

数据库无法启动,出错信息如下

汗,是不是你的硬盘有问题呀?

论坛徽章:
0
3 [报告]
发表于 2004-12-22 09:43 |只看该作者

数据库无法启动,出错信息如下

怎么看硬盘状态?反正现在系统运行还行,就是数据库启不起来:(
我怀疑有一些信息不一致导致 Physical Recovery失败,而rootchk的状态既然为PO,表明它应该还是好的吧?
请问在oninit的时候能不能跳过Physical Recovery?
各位大虾支支招阿,谢谢谢谢!!!

论坛徽章:
0
4 [报告]
发表于 2004-12-22 18:49 |只看该作者

数据库无法启动,出错信息如下

NO way
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP