jianweixue 发表于 2016-06-23 18:11

informix第一次启动报错

公司有个项目,使用informix,第一次搞,安装后启动报错,请大神协助解决,谢谢!

09:06:02IBM Informix Dynamic Server Started.

Thu Jun 23 09:06:04 2016

09:06:04Event alarms enabled.ALARMPROG = '/opt/IBM/informix/etc/alarmprogram.sh'
09:06:04Booting Language <c> from module <>
09:06:04Loading Module <CNULL>
09:06:04Booting Language <builtin> from module <>
09:06:04Loading Module <BUILTINNULL>
09:06:04Dynamically allocated new virtual shared memory segment (size 8192KB)
09:06:04Memory sizes:resident:140872 KB, virtual:40848 KB, no SHMTOTAL limit
09:06:10DR: DRAUTO is 0 (Off)
09:06:10DR: ENCRYPT_HDR is 0 (HDR encryption Disabled)
09:06:10Event notification facility epoll enabled.
09:06:10IBM Informix Dynamic Server Version 11.70.FC2 Software Serial Number AAA#B000000
09:06:10Assert Warning: chunk failed sanity check

09:06:10IBM Informix Dynamic Server Version 11.70.FC2
09:06:10   Who: Session(1, informix@ECM-shujuku-OSS, 0, 0x4d048028)
                Thread(8, main_loop(), 4d006028, 1)
                File: rspartn.c Line: 10499
09:06:10   Results: Chunk 1 is being taken OFFLINE.
09:06:10   Action: For all spaces other than temporary dbspaces, restore the space
         containing the chunk from the archive. If this chunk belongs to a
         temporary dbspace and if it is not the only chunk in that dbspace,
         then drop and re-create the chunk. Otherwise drop and re-create
         the temporary dbspace.
09:06:10stack trace for pid 46085 written to /opt/IBM/informix/tmp/af.3f09872
09:06:10   See Also: /opt/IBM/informix/tmp/af.3f09872
09:06:10chunk failed sanity check

09:06:10invoke_alarm(): /bin/sh -c '/opt/IBM/informix/etc/alarmprogram.sh 5 6 "Internal Subsystem failure: 'MT'" "chunk failed sanity check
" "" 6100'
09:06:10invoke_alarm(): mt_exec failed, status 32256, errno 0
09:06:10Process exited with return code 126: /bin/sh /bin/sh -c /opt/IBM/informix/etc/alarmprogram.sh 3 4 "Chunk is off-line, mirror is active: 21412991." "chunk fai
led sanity check
" "/opt/IBM/informix/tmp/af.3f09872" 4004
09:06:11I/O error, Primary Chunk '/opt/IBM/informix/data/rootdbs' -- Offline (sanity)
09:06:11oninit: Fatal error in shared memory initialization

09:06:11IBM Informix Dynamic Server Stopped.

09:06:11Process exited with return code 126: /bin/sh /bin/sh -c /opt/IBM/informix/etc/alarmprogram.sh 3 4 "Chunk is off-line, mirror is active: 21412991." "I/O error
, Primary Chunk '/opt/IBM/informix/data/rootdbs' -- Offline (sanity)" "" 4003
09:06:11mt_shm_remove: WARNING: may not have removed all/correct segments

大梦 发表于 2016-06-24 12:42

我都怀疑你是没做初始化,直接改了参数就启动了!
你的这个版本,在安装的过程中应该就可以把实例配好,直接启动的!

jianweixue 发表于 2016-06-24 12:47

今天问题有了新一步的进展,初始化失败, I/O open() chunk 1, pagenum 0, pagecnt 12 --> errno = 13

jianweixue 发表于 2016-06-24 15:07

你说的对回复 3# jianweixue


   

jianweixue 发表于 2016-06-24 15:13

是的,你说的对,现在是初始化失败回复 2# 大梦


   

大梦 发表于 2016-06-24 20:51

如果rootdbs不存,先touch个空文件,组与属主都是Informix用户,权限是660
页: [1]
查看完整版本: informix第一次启动报错