- 论坛徽章:
- 0
|
各位,我有2个问题:
1.informix数据库offline的问题虽然已经解决了,但是不知道问题出在那里,请熟悉informix维护的朋友帮忙分析一下online.log里面的信息。
2.恢复过程中发现onmode -ky和oninit的执行需要一定时间间隔,否则无法启动数据库。不知道大家还有没有遇到类似这样的问题,书本中没有什么提示,但是日常维护中非常重要。希望咱们共同讨论。(或者有以前的帖子?)
系统:ScoUnix5.0.2,informix7.0,用户终端登录
数据量为30万条左右。
具体情况:某天早上刚上班,发现系统突然变慢,去机房查看的过程中,系统down机,所有用户无法登录。数据库offline状态,oninit执行以后,依然offline状态,后来onmode -ky后一段时间oninit,数据库才online。
online.log 内容:
08:19:57 Checkpoint Completed: duration was 0 seconds.
08:30:10 Checkpoint Completed: duration was 0 seconds.
08:35:09 Assert Failed: Internal Error - Segmentation Violation
08:35:09 Who: Session(4, informix@, 0, -1551491052)
Thread(10, tlitcppoll, 0, 10)
08:35:09 Results: OnLine must abort
08:35:09 Action: Reinitialize shared memory
08:35:09 See Also: /tmp/af.ac7bc, shmem.ac7bc.0
08:39:18 rsinit.c, line 9934, thread 10, proc id 14343, Segmentation Violation.
08:39:19 PANIC: Attempting to bring system down
08:39:19 cannot wake idle processor
08:39:19 cannot wake idle processor
08:39:19 cannot wake idle processor
08:39:19 cannot wake idle processor
Tue Aug 31 08:45:54 2004
08:45:54 Event alarms enabled. ALARMPROG = '/usr/informix/etc/log_full.sh'
08:45:56 DR: DRAUTO is 0 (Off)
08:45:57 (6) connection rejected - no calls allowed for sqlexec
08:45:57 listener-thread: err = -27002: No connections are allowed in OnLine qu
iescent mode.
08:45:57 (9) connection rejected - no calls allowed for sqlexec
08:45:57 listener-thread: err = -27002: No connections are allowed in OnLine qu
iescent mode.
08:46:00 INFORMIX-OnLine Initialized -- Shared Memory Initialized.
08:46:00 Physical Recovery Started.
08:46:00 Physical Recovery Complete: 256 Pages Restored.
08:46:00 Logical Recovery Started.
08:46:03 Logical Recovery Complete.
764 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks
08:46:04 Dataskip is now OFF for all dbspaces
08:46:05 (10) connection rejected - no calls allowed for sqlexec
08:46:05 listener-thread: err = -27002: No connections are allowed in OnLine qu
iescent mode.
08:46:06 Checkpoint Completed: duration was 2 seconds.
08:46:06 Dropping temporary TBLspace 10003f, recovering 8 pages.
08:46:06 On-Line Mode
08:51:11 Checkpoint Completed: duration was 0 seconds.
08:51:40 Checkpoint Completed: duration was 1 seconds.
谢谢大家看贴,期待大家回贴!!希望我的帖子发的符合要求。 |
|