忘记密码   免费注册 查看新帖 |

ChinaUnix.net

  平台 论坛 博客 文库 频道自动化运维 虚拟化 储存备份 C/C++ PHP MySQL 嵌入式 Linux系统
最近访问板块 发新帖
查看: 6394 | 回复: 7

郁闷!这是怎么回事?Cannot open chunk '/online/roo'. errno = 2 [复制链接]

论坛徽章:
0
发表于 2005-12-29 15:16 |显示全部楼层
我这台linux服务器一共有两个实例,启动第一个实例正常,切换到第2个实例就有这个错误
[informix@ol_developer ~]$ 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:52  Event alarms enabled.  ALARMPROG = '/informix/etc/alarmprogram.sh'
15:08:52  Booting Language <c> from module <>
15:08:52  Loading Module <CNULL>
15:08:52  Booting Language <builtin> from module <>
15:08:52  Loading Module <BUILTINNULL>
15:08:57  IBM Informix Dynamic Server Version 9.40.UC2     Software Serial Number AAA#B000000
15:08:57  Assert Warning: chunk failed sanity check

15:08:57  IBM Informix Dynamic Server Version 9.40.UC2   
15:08:57   Who: Session(1, informix@ol_developer, 0, 0x40d8801
                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:57  stack trace for pid 3120 written to /tmp/af.3ef8b89
15:08:57   See Also: /tmp/af.3ef8b89
15:08:57  chunk failed sanity check

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

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


文件链接
[informix@ol_developer ~]$ cd /online
[informix@ol_developer online]$ ll
total 0
lrwxrwxrwx  1 informix informix 10 Dec 19 15:05 data1chk1 -> /dev/hda10
lrwxrwxrwx  1 informix informix  9 Dec 19 15:04 data2chk1 -> /dev/hda7
lrwxrwxrwx  1 informix informix  9 Dec 19 15:04 idx1chk1 -> /dev/hda8
lrwxrwxrwx  1 informix informix 10 Dec 19 15:05 idx2chk1 -> /dev/hda11
lrwxrwxrwx  1 informix informix  9 Dec 19 15:05 logic1chk1 -> /dev/hda9
lrwxrwxrwx  1 informix informix 10 Dec 19 15:05 phy1chk1 -> /dev/hda13
lrwxrwxrwx  1 informix informix  9 Dec 29 13:11 roo -> /dev/hda7
lrwxrwxrwx  1 informix informix  9 Dec 19 16:30 rootdbs -> /dev/hda6
lrwxrwxrwx  1 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 编辑 ]

论坛徽章:
0
发表于 2005-12-29 15:53 |显示全部楼层
核对一下文件是否存在
'/online/roo' 
是不是该 onconfig了?

论坛徽章:
0
发表于 2005-12-29 16:05 |显示全部楼层
存在,改了,结果我都贴出来了

论坛徽章:
0
发表于 2005-12-29 16:08 |显示全部楼层
ls -l  /online/roo
列一下,有么?你怎么起了这么一个文件名??roo

论坛徽章:
0
发表于 2005-12-29 16:14 |显示全部楼层
[informix@ol_developer ibd_bak]$ ls -l /online/roo
lrwxrwxrwx  1 informix informix 9 Dec 29 13:11 /online/roo -> /dev/hda7

论坛徽章:
1
15-16赛季CBA联赛之江苏
日期:2017-04-05 11:23:15
发表于 2005-12-29 16:24 |显示全部楼层
是不是应该把它格一下

论坛徽章:
0
发表于 2005-12-29 17:11 |显示全部楼层
问题解决了谢谢

论坛徽章:
0
发表于 2018-06-29 17:03 |显示全部楼层
redred5,你是怎么解决的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号 北京市公安局海淀分局网监中心备案编号:11010802020122
广播电视节目制作经营许可证(京) 字第1234号 中国互联网协会会员  联系我们:wangnan@it168.com
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP