redred5 发表于 2005-12-29 15:16

郁闷!这是怎么回事?Cannot open chunk '/online/roo'. errno = 2

我这台linux服务器一共有两个实例,启动第一个实例正常,切换到第2个实例就有这个错误
$ oninit
sh: /informix/etc/alarmprogram.sh: No such file or directory
oninit: Cannot open chunk '/online/roo'. errno = 2
oninit: Fatal error in shared memory initialization

online.log的内容
Thu Dec 29 15:08:52 2005

15:08:52Event alarms enabled.ALARMPROG = '/informix/etc/alarmprogram.sh'
15:08:52Booting Language <c> from module <>
15:08:52Loading Module <CNULL>
15:08:52Booting Language <builtin> from module <>
15:08:52Loading Module <BUILTINNULL>
15:08:57IBM Informix Dynamic Server Version 9.40.UC2   Software Serial Number AAA#B000000
15:08:57Assert Warning: chunk failed sanity check

15:08:57IBM Informix Dynamic Server Version 9.40.UC2   
15:08:57   Who: Session(1, informix@ol_developer, 0, 0x40d88018)
                Thread(7, main_loop(), 40d57018, 1)
                File: rspartn.c Line: 7634
15:08:57   Results: Chunk 1 is being taken OFFLINE.
15:08:57   Action: Restore chunk from archive.
15:08:57stack trace for pid 3120 written to /tmp/af.3ef8b89
15:08:57   See Also: /tmp/af.3ef8b89
15:08:57chunk failed sanity check

15:08:57invoke_alarm(): /bin/sh -c '/informix/etc/alarmprogram.sh 5 6 "Internal Subsystem failure: 'MT'" "chunk failed sanity check
" '
15:08:57invoke_alarm(): mt_exec failed, status 32512, errno 0
15:08:58I/O error, Primary Chunk '/online/roo' -- Offline (sanity)
15:08:58IBM Informix Dynamic Server Stopped.

15:08:58mt_shm_remove: WARNING: may not have removed all/correct segments


文件链接
$ cd /online
$ ll
total 0
lrwxrwxrwx1 informix informix 10 Dec 19 15:05 data1chk1 -> /dev/hda10
lrwxrwxrwx1 informix informix9 Dec 19 15:04 data2chk1 -> /dev/hda7
lrwxrwxrwx1 informix informix9 Dec 19 15:04 idx1chk1 -> /dev/hda8
lrwxrwxrwx1 informix informix 10 Dec 19 15:05 idx2chk1 -> /dev/hda11
lrwxrwxrwx1 informix informix9 Dec 19 15:05 logic1chk1 -> /dev/hda9
lrwxrwxrwx1 informix informix 10 Dec 19 15:05 phy1chk1 -> /dev/hda13
lrwxrwxrwx1 informix informix9 Dec 29 13:11 roo -> /dev/hda7
lrwxrwxrwx1 informix informix9 Dec 19 16:30 rootdbs -> /dev/hda6
lrwxrwxrwx1 informix informix 10 Dec 19 15:05 tmp1chk1 -> /dev/hda12

我的环境变量
USER=informix
INFORMIXSQLHOST=sqlhosts.hhht
ONCONFIG=onconfig.ol_hhht
INFORMIXSERVER=ol_hhht
HOME=/home/informix


我的onconfig.ol_hhht文件
# Root Dbspace Configuration

ROOTNAME        rootdbs                # Root dbspace name
ROOTPATH        /online/roo   # Path for device containing root dbspace
ROOTOFFSET        0                # Offset of root dbspace into device (Kbytes)
ROOTSIZE        500000                # Size of root dbspace (Kbytes)

# Disk Mirroring Configuration Parameters

MIRROR                0                # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH                        # Path for device containing mirrored root
MIRROROFFSET        0                # Offset into mirrored device (Kbytes)

# Physical Log Configuration

PHYSDBS                rootdbs         # Location (dbspace) of physical log
PHYSFILE        2000                # Physical log file size (Kbytes)

# Logical Log Configuration

LOGFILES        6                # Number of logical log files
LOGSIZE                2000                # Logical log size (Kbytes)

[ 本帖最后由 redred5 于 2005-12-29 15:30 编辑 ]

gbhz 发表于 2005-12-29 15:53

核对一下文件是否存在
'/online/roo' 
是不是该 onconfig了?

redred5 发表于 2005-12-29 16:05

存在,改了,结果我都贴出来了

gbhz 发表于 2005-12-29 16:08

ls -l/online/roo
列一下,有么?你怎么起了这么一个文件名??roo

redred5 发表于 2005-12-29 16:14

$ ls -l /online/roo
lrwxrwxrwx1 informix informix 9 Dec 29 13:11 /online/roo -> /dev/hda7

yunzhongyue 发表于 2005-12-29 16:24

是不是应该把它格一下

redred5 发表于 2005-12-29 17:11

问题解决了谢谢

xurenfa 发表于 2018-06-29 17:03

redred5,你是怎么解决的
页: [1]
查看完整版本: 郁闷!这是怎么回事?Cannot open chunk '/online/roo'. errno = 2