免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 10261 | 回复: 8
打印 上一主题 下一主题

informix oninit: Fatal error in shared memory initialization [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-04-08 12:54 |只看该作者 |倒序浏览
刚在 SUSE 10 上安装 的 INFORMIX 11.5   不能正常启动

informix@linux-62xe:~> oninit

WARNING: server initialization failed, or possibly timed out (if -w was used).
Check the message log, online.log, for errors.


online.log如下
21:02:27  IBM Informix Dynamic Server Started.
21:02:27  Warning: The IBM IDS Developer Edition license restriction limits
21:02:27  the total shared memory size for this server to 1048576 KB.
21:02:27  The maximum allowable shared memory was reset to this size to start the database server.

Tue Mar 29 21:02:29 2011

21:02:29  Event alarms enabled.  ALARMPROG = '/opt/informix/etc/alarmprogram.sh'
21:02:29  Booting Language <c> from module <>
21:02:29  Loading Module <CNULL>
21:02:29  Booting Language <builtin> from module <>
21:02:29  Loading Module <BUILTINNULL>
21:02:35  DR: DRAUTO is 0 (Off)
21:02:35  DR: ENCRYPT_HDR is 0 (HDR encryption Disabled)
21:02:35  Event notification facility epoll enabled.
21:02:35  IBM Informix Dynamic Server Version 11.50.FC8DE Software Serial Number AAA#B000000
21:02:35  Assert Warning: chunk failed sanity check

21:02:35  IBM Informix Dynamic Server Version 11.50.FC8DE
21:02:35   Who: Session(1, informix@linux-62xe, 0, 0x4b7a002
                Thread(8, main_loop(), 4b75d028, 1)
                File: rspartn.c Line: 9418
21:02:35   Results: Chunk 1 is being taken OFFLINE.
21:02:35   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.
21:02:35  stack trace for pid 14820 written to /opt/informix/tmp/af.3f0812b
21:02:35   See Also: /opt/informix/tmp/af.3f0812b
21:02:35  chunk failed sanity check

21:02:35  listener-thread: err = -25572: oserr = 99: errstr = : Network driver cannot bind a name to the port.
System error = 99.
21:02:35  sql_listener: ASF_LISTEN failed
21:02:35  Attempting to bring listener thread down.
21:02:36  I/O error, Primary Chunk '/opt/informix/tmp/demo_on.rootdbs' -- Offline (sanity)
21:02:36  oninit: Fatal error in shared memory initialization

21:02:36  IBM Informix Dynamic Server Stopped.

21:02:36  mt_shm_remove: WARNING: may not have removed all/correct segments


求各位大侠帮忙看看

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
2 [报告]
发表于 2011-04-08 13:06 |只看该作者
Assert Warning: chunk failed sanity check

第一次安装,请先初始化!

论坛徽章:
0
3 [报告]
发表于 2011-04-08 13:37 |只看该作者
informix@linux-62xe:~/tmp> oninit -i

This action will initialize IBM Informix Dynamic Server;
any existing IBM Informix Dynamic Server databases will NOT be accessible -
Do you wish to continue (y/n)? y
INFORMIXSERVER does not match DBSERVERNAME or any of the DBSERVERALIASES.
FAILED

WARNING: server initialization failed, or possibly timed out (if -w was used).
Check the message log, online.log, for errors.

 online.log 没有信息

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
4 [报告]
发表于 2011-04-08 14:12 |只看该作者
我觉得你应该先看下安装文档。。

你这里没有在环境里配置参数INFORMIXDIR,INFORMIXSERVER,PATH等,
配置文件ONCONFIG中的内容似乎也没有配置。。。

论坛徽章:
0
5 [报告]
发表于 2011-04-08 17:17 |只看该作者
楼主是不是没配置配置文件?
安装前主要的几个文件要配置一下下

论坛徽章:
0
6 [报告]
发表于 2011-04-11 09:19 |只看该作者
INFORMIXDIR=/opt/informix
INFORMIXSERVER=sk
INFORMIXTERM=terminfo
DBPATH=$INFORMIXDIR
TERMCAP=$INFORMIXDIR/etc/termcap
PATH=$INFORMIXDIR/binHOME/binPATH
ONCONFIG=onconfig.std
DB_LOCALE=zh_cn.gb
CLIENT_LOCALE=zh_cn.gb
DB_LANG=zh_cn.gb
DBDATE=MDY4/
export INFORMIXDIR PATH ONCONFIG DB_LANG DB_LOCALE CLIENT_LOCALE DBDATE INFORMIXSERVER
SQLEXEC=$INFORMIXDIR/lib/sqlexec



.profile中有设置这些的

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
7 [报告]
发表于 2011-04-11 15:14 |只看该作者
回复 6# shenkangxyz


    跟你的onconfig , sqlhosts配置文件不配置。。。那英文提示已经很清楚了。

论坛徽章:
0
8 [报告]
发表于 2011-04-18 10:34 |只看该作者
sqlhosts   
vm162                onsoctcp        192.168.42.162  sqlexec

vm162:/opt/informix/etc # oninit -v
Checking group membership to determine server run mode...succeeded
Reading configuration file '/opt/informix/etc/onconfig'...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 14708 kbytes...succeeded
Allocating 100016 kbytes for buffer pool of 2K page size...succeeded
Creating infos file "/opt/informix/etc/.infos.vm162"...succeeded
Linking conf file "/opt/informix/etc/.conf.vm162"...succeeded
Initializing rhead structure...succeeded
Writing to infos file...succeeded
Initialization of Encryption...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
Forking main_loop thread...succeeded
Initializing DR structures...succeeded
Forking 1 'soctcp' listener threads...succeeded
Starting tracing...succeeded
Initializing 8 flushers...succeeded
oninit: Fatal error in shared memory initialization

WARNING: server initialization failed, or possibly timed out (if -w was used).
Check the message log, online.log, for errors.

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
9 [报告]
发表于 2011-04-18 11:50 |只看该作者
WARNING: server initialization failed, or possibly timed out (if -w was used).
Check the message log, online.log, for errors.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP