Unanswered: oninit: Cannot open chunk while trying to start IDS !
Does anyone meet this problem below before when starting Informix Server ? How can I do to solve this problem ?
oninit: Cannot open chunk '/opt/informix/chunks/rootchunk1'. errno = 6
oninit: Fatal error in shared memory initialization
Here is what I got from online.log,
Tue Nov 16 15:58:37 2004
15:58:37 Event alarms enabled. ALARMPROG = '/opt/informix/etc/no_log.sh'
15:58:42 DR: DRAUTO is 0 (Off)
15:58:42 Informix Dynamic Server Version 7.31.UC7 Software Serial Number XXXXXXX
15:58:42 Cannot Open Primary Chunk '/opt/informix/chunks/rootchunk1', errno = 6
15:58:42 Informix Dynamic Server Stopped.
15:58:42 mt_shm_remove: WARNING: may not have removed all/correct segments
Run dd if=/dev/rdsk/c4t0d0s6 of=/tmp/xxxx count=32.
Test if error exists.
Remove from $INFORMIXDIR/etc/.info.$INFORMIXSERVER*.
Run onchek -pr|grep Flags, verify if chunk is online or oflline.
If chunk is all online, then run oninit.
I have done, dd if=/dev/rdsk/c4t0d0s6 of=/tmp/xxxx count=32.
And it showed, dd: /dev/rdsk/c4t0d0s6: open: No such device or address.
And: oncheck -pr|grep Flags
Got: I/O open() chunk 1, pagenum 0, pagecnt 12 --> errno = 6
I used "format" command, but I couldn't find "c4t0d0s6" in the disk selections.
Supposedly I am able to see it, right ? Does that mean this rootchunk1 collapsed ? Is it possible that I can get it back ?