lxr01 发表于 2007-07-11 20:11

informix启动问题请教

共享内存我已设为64M,已连接核心,执行oninit -v 报:
Reading configuration file '/usr/informix/etc/onconfig'...succeeded
Creating /etc/.infxdirs ... succeeded
Creating infos file "/usr/informix/etc/.infos.ONSERV1" ... "/usr/informix/etc/.c
onf.ONSERV1" ... succeeded
Writing to infos file ... succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...FAILED
oninit: Fatal error in shared memory creation

大梦 发表于 2007-07-11 20:14

新装的吗?
看看online.log的内容?
有没有做初始化?

lxr01 发表于 2007-07-11 20:46

感谢大梦,online.log的内容为

21:40:47shmget: : key 52564801: shared memory already exists
21:40:47mt_shm_init: can't create resident segment

liaosnet 发表于 2007-07-12 10:35

原帖由 lxr01 于 2007-7-11 20:46 发表 http://bbs.chinaunix.net/images/common/back.gif
21:40:47shmget: : key 52564801: shared memory already exists
21:40:47mt_shm_init: can't create resident segment

重启机器~或释放已经申请的内存~

lavanyy 发表于 2007-07-12 10:49

我以前遇到过这种问题,当时已经是脱机状态了,又执行一下onmode -kuy后提示说不能再脱机之类的,再oninit -vy就可以了,不知道是巧合还是再执行onmode可以起到释放内存的作用。

Newball 发表于 2007-07-13 10:11

重启应该就行了哇!!!!
页: [1]
查看完整版本: informix启动问题请教