免费注册 查看新帖 |

Chinaunix

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

informix 启不过来 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-10-16 11:39 |只看该作者 |倒序浏览
启动的时候有如下报错信息

[informix@erpdataserver ~]$ oninit

Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed.
Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed.
Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed.
Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed.
oninit: Cannot open chunk '/dev/informix_root'. errno = 2
oninit: Fatal error in shared memory initialization

提示找不到chunk  /dev/informix_root   但是这个是有存在的 权限也没有问题
[informix@erpdataserver ~]$ ll /dev/informix_root
lrwxrwxrwx  1 root root 13 Oct 16 10:49 /dev/informix_root -> /dev/raw/raw1

[informix@erpdataserver ~]$ ll /dev/raw/raw1      
crwxrwxrwx  1 informix informix 162, 1 Oct 16 10:49 /dev/raw/raw1

online.log日志如下:
                Thread(7, main_loop(), 1e10e018, 1)
                File: rspartn.c Line: 7212
11:31:31   Results: Chunk 1 is being taken OFFLINE.
11:31:31   Action: Restore chunk from archive.
11:31:31  stack trace for pid 4021 written to /tmp/af.3ef3093
11:31:31   See Also: /tmp/af.3ef3093
11:31:32  I/O error, Primary Chunk '/dev/informix_root' -- Offline (sanity)
11:31:32  Informix Dynamic Server 2000 Stopped.

11:31:32  mt_shm_remove: WARNING: may not have removed all/correct segments

论坛徽章:
0
2 [报告]
发表于 2007-10-16 11:41 |只看该作者
很明显/dev/informix_root 文件的属主和组都是root而不是informix

论坛徽章:
0
3 [报告]
发表于 2007-10-16 11:42 |只看该作者
这台informix是新安装的
换一种方式  如果使用cookies 的文件方式  不用chunk的话 是可以正常启动过来的

11:31:31  Informix Dynamic Server 2000 Version 9.21.UC2
11:31:31   Who: Session(1, informix@erpdataserver, 0, 504619032)
                Thread(7, main_loop(), 1e10e018, 1)
                File: rspartn.c Line: 7212
11:31:31   Results: Chunk 1 is being taken OFFLINE.
11:31:31   Action: Restore chunk from archive.
11:31:31  stack trace for pid 4021 written to /tmp/af.3ef3093
11:31:31   See Also: /tmp/af.3ef3093
11:31:32  I/O error, Primary Chunk '/dev/informix_root' -- Offline (sanity)
11:31:32  Informix Dynamic Server 2000 Stopped.

11:31:32  mt_shm_remove: WARNING: may not have removed all/correct segments

论坛徽章:
0
4 [报告]
发表于 2007-10-16 11:47 |只看该作者
不是这个问题 我在其他服务器这个权限是正常的  可以读得到

论坛徽章:
0
5 [报告]
发表于 2007-10-16 12:42 |只看该作者
原帖由 xxyyy 于 2007-10-16 11:41 发表
很明显/dev/informix_root 文件的属主和组都是root而不是informix

很明显,root属主的只是个符号链接,不会有什么问题。

论坛徽章:
0
6 [报告]
发表于 2007-10-16 13:42 |只看该作者
那就是这个符号链接指向的字符设备内的数据出错了,难道还没有初始化?

论坛徽章:
0
7 [报告]
发表于 2007-10-16 13:46 |只看该作者
有做初始化  
初始化也没有成功

[informix@erpdataserver ~]$ oninit -ivy
Checking group membership to determine server run modesucceeded
Reading configuration file '/home/informix/etc/onconfig_web'...succeeded
Creating /INFORMIXTMP/.infxdirs ... succeeded
Creating infos file "/home/informix/etc/.infos.online_web" ... "/home/informix/etc/.conf.online_web" ... succeeded
Writing to infos file ... succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 29228 kbytes...succeeded
Creating buffer pool 200002 kbytes...succeeded
Initializing rhead structure...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 1 flushers...succeeded
oninit: Fatal error in shared memory initialization
[informix@erpdataserver ~]$ tail -f online.log
13:39:42  Booting Language <c> from module <>
13:39:42  Loading Module <CNULL>
13:39:42  Booting Language <builtin> from module <>
13:39:42  Loading Module <BUILTINNULL>
13:39:47  Informix Dynamic Server 2000 Version 9.21.UC2     Software Serial Number ACN#J334914
13:39:47  The chunk '/dev/informix_root' will not fit in the space specified.

13:39:47  Informix Dynamic Server 2000 Stopped.

13:39:47  mt_shm_remove: WARNING: may not have removed all/correct segments

论坛徽章:
0
8 [报告]
发表于 2007-10-16 14:03 |只看该作者
终于找到原因了  
配置文件中在phydbs 设置太大导致初始化出错
修改后 重新初始化就恢复正常了
谢谢所有的人

论坛徽章:
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 [报告]
发表于 2007-10-16 14:07 |只看该作者
13:39:47  The chunk '/dev/informix_root' will not fit in the space specified.

这个跟你$ONCONFIG里的文件指定有关~~请检查下先.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP