- 论坛徽章:
- 0
|
chunk failed sanity check
[informix@scp1 test]$ oninit -s
SENDER IS NULL NO MAIL WILL BE SENT
oninit: Cannot open chunk '/dev/raw/raw5'. errno = 2
oninit: Fatal error in shared memory initialization
[informix@scp1 test]$ oninit -v
Checking group membership to determine server run mode...succeeded
Reading configuration file '/opt/informix/etc/onconfig'...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Creating infos file "/opt/informix/etc/.infos.scp_online1"...succeeded
Linking conf file "/opt/informix/etc/.conf.scp_online1"...succeeded
Writing to infos file...succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 45192 kbytes...succeeded
Allocating 10016 kbytes for buffer pool of 2K page size...succeeded
Initializing rhead structure...succeeded
Initializing ASF...succeeded
Initializing Dictionary Cache and SPL Routine Cache...succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Onlining 0 additional cpu vps...succeeded
Onlining 2 IO vps...succeeded
Initialization of Encryption...succeeded
Forking main_loop thread...succeeded
Initializing DR structures...succeeded
Forking 1 'ipcshm' listener threads...succeeded
Forking 1 'soctcp' listener threads...succeeded
Starting tracing...succeeded
Initializing 1 flushers...succeeded
SENDER IS NULL NO MAIL WILL BE SENT
oninit: Cannot open chunk '/dev/raw/raw5'. errno = 2
oninit: Fatal error in shared memory initialization
[informix@scp1 test]$
online.log片段截取
Fri Mar 19 15:47:47 2010
15:47:47 Event alarms enabled. ALARMPROG = '/opt/informix/etc/alarmprogram.sh'
15:47:47 Booting Language <c> from module <>
15:47:47 Loading Module <CNULL>
15:47:47 Booting Language <builtin> from module <>
15:47:47 Loading Module <BUILTINNULL>
15:47:52 Dynamically allocated new virtual shared memory segment (size 8192KB)
15:47:52 Memory sizes:resident:55452 KB, virtual:16384 KB, no SHMTOTAL limit
15:47:52 Dynamically allocated new message shared memory segment (size 528KB)
15:47:52 Memory sizes:resident:55452 KB, virtual:16912 KB, no SHMTOTAL limit
15:47:52 Event notification facility epoll failed, errno is 38, legacy poll used.
15:47:53 IBM Informix Dynamic Server Version 10.00.UC6E Software Serial Number AAA#B000000
15:47:53 Assert Warning: chunk failed sanity check
15:47:53 IBM Informix Dynamic Server Version 10.00.UC6E
15:47:53 Who: Session(1, informix@scp1, 0, 0x4785101
Thread(7, main_loop(), 47827018, 1)
File: rspartn.c Line: 8686
15:47:53 Results: Chunk 1 is being taken OFFLINE.
15:47:53 Action: Restore chunk from archive.
15:47:53 stack trace for pid 2456 written to /opt/informix/tmp/af.3ef2c29
15:47:53 See Also: /opt/informix/tmp/af.3ef2c29
15:47:54 chunk failed sanity check
15:47:54 I/O error, Primary Chunk '/dev/raw/raw5' -- Offline (sanity)
15:47:54 IBM Informix Dynamic Server Stopped.
15:47:54 mt_shm_remove: WARNING: may not have removed all/correct segments
af.3ef2c29 文件内容
15:47:53 sane_chopen:pg_addr 0:0 != expected 1:2
page
page
47e55000: 00000000 00000000 00000000 00000000 ........ ........
47e55010 *
15:47:53
15:47:53 IBM Informix Dynamic Server Version 10.00.UC6E Software Serial Number AAA#B000000
15:47:53 Assert Warning: chunk failed sanity check
15:47:53 Who: Session(1, informix@scp1, 0, 0x4785101
Thread(7, main_loop(), 47827018, 1)
File: rspartn.c Line: 8686
15:47:53 Results: Chunk 1 is being taken OFFLINE.
15:47:53 Action: Restore chunk from archive.
15:47:53 Stack for thread: 7 main_loop()
base: 0x47e0f000
len: 69632
pc: 0x087ac907
tos: 0x47e1eb80
state: running
vp: 1
0x087ac907 (oninit)afstack (0x47e06ba0, 0x998, 0x47e1ec90, 0x21ee, 0x393138, 0x1)
0x087ac109 (oninit)afhandler(0x1, 0x47e7fb70, 0x8c78e20, 0x47e7fb38, 0x401, 0x1)
0x087ab5fc (oninit)afwarn_interface(0x47e7fb70, 0x8c78e20, 0x47e7fb38, 0x8b0b49f, 0x21ee, 0x1)
0x085117f2 (oninit)sane_chopen(0x47759948, 0x47759972, 0x47e1f270, 0x4, 0x47759a7c, 0x44080294)
0x085113ed (oninit)chopen_util(0x47759948, 0x1, 0x47e1f488, 0x811be88, 0x47759948, 0x4407dac9)
0x085110e9 (oninit)chopen (0x47759948, 0x4407dac9, 0x47e1f460, 0x23deba, 0x304e80, 0xa)
0x0811be88 (oninit)initpzero(0x0, 0x0, 0x47e1f4ec, 0x2f9f1d, 0x8b482ec, 0x47634fa0)
0x08118db1 (oninit)initseg (0x2, 0x0, 0x8a8e954, 0x8b42b60, 0x32, 0x1)
0x081110de (oninit)main_loop(0x0, 0x47e06ba0, 0x6, 0x0, 0x0, 0x0)
0x0878c384 (oninit)startup (0x3e, 0x47e20990, 0x47c92fe0, 0x990, 0x8fab4301, 0x0)
0x00000000 (*nosymtab*)0x0
15:47:53 See Also: /opt/informix/tmp/af.3ef2c29
---------------------------------
Begin System Alarm Program Output
---------------------------------
Assertion Failure Type: Warning
Host Name: scp1
Database Server Name: scp_online1
Time of failure: Fri Mar 19 15:47:54 CST 2010
AF file: /opt/informix/tmp/af.3ef2c29
Shared memory file: None
System Blocking: OFF
-------------------------------
End System Alarm Program Output
-------------------------------
15:47:54 sh /opt/informix/etc/evidence.sh 1 0 /opt/informix/tmp/af.3ef2c29 1 0x47827018 7 0x47e06ba0 1025 0 0 0 0
15:47:54
------------------ End of assertion failure 0 -----------------
上网查了许久
说可能是权限问题,还有目录不在
所以干脆赋予了777的权限
但是问题依旧啊
[informix@scp1 test]$ ls -ltr /dev/raw/raw5
crwxrwxrwx 1 informix informix 162, 5 Jun 25 2004 /dev/raw/raw5
但是必须说明一下我的环境,我redhat as 3,但是是部署在虚拟机上的
所以/dev/raw/raw5对应的是我用虚拟机建立的iscsi硬盘
不知环境上是否不支持? |
|