免费注册 查看新帖 |

Chinaunix

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

配置Informix的时候出现Fatal error in shared memory creation [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-06-08 13:36 |只看该作者 |倒序浏览
oninit 出现以下错误,大家帮忙看看是什么错误~~~
oninit -iy:

Fatal error in shared
memory creation

Online.log

Tue Jun  8 12:49:20 2004

12:49:20  Event alarms enabled.  ALARMPROG = '/usr/informix/etc/log_full.sh'
12:49:26  DR: DRAUTO is 0 (Off)
12:49:26  Informix Dynamic Server Version 7.30.FC4   Software Serial Number AAC#
J456887
12:49:30  Informix Dynamic Server Initialized -- Complete Disk Initialized.
12:49:30  Checkpoint Completed:  duration was 0 seconds.
12:49:30  Dataskip is now OFF for all dbspaces
12:49:30  Quiescent Mode
12:54:58  Checkpoint Completed:  duration was 0 seconds.
12:59:39  shmget: [EEXIST][17]: key 52574801: shared memory already exists
12:59:39  mt_shm_init: can't create resident segment

/etc/hosts
127.0.0.1       localhost
134.204.9.2     a1200b
/etc/sqlhosts
demo_on onipcshm        on_hostname     on_servername
demo_se seipcpip        se_hostname     sqlexec
idsatest onsoctcp a1200b sqlwzdx
/etc/services
sqlwzdx         8888/tcp        #informix services

论坛徽章:
0
2 [报告]
发表于 2004-06-08 14:27 |只看该作者

配置Informix的时候出现Fatal error in shared memory creation

可能是操作系统核心参数太小,查看release目录里的IDS文件,看看informix初始化需要的内存大小,然后在调整操作系统参数大小。

论坛徽章:
0
3 [报告]
发表于 2004-06-08 14:42 |只看该作者

配置Informix的时候出现Fatal error in shared memory creation

查过IDS的参数,shmmax=2147483647
....参数都已经在unix里面调过了,而且也reboot了,没用~~

论坛徽章:
0
4 [报告]
发表于 2004-06-08 15:00 |只看该作者

配置Informix的时候出现Fatal error in shared memory creation

可能是共享内存已经存在,用命令ipcs查看,然后杀掉那个进程

论坛徽章:
0
5 [报告]
发表于 2004-06-08 15:16 |只看该作者

配置Informix的时候出现Fatal error in shared memory creation

ipcs一下内容,看不懂了~~~
Message Queues:
T      ID        KEY    MODE         OWNER    GROUP  CREATOR   CGROUP CBYTES  Q
q       0 0x417c02d8 --rw-------      root   system     root   system      0   4

Shared Memory:
T      ID        KEY    MODE         OWNER    GROUP  CREATOR   CGROUP NATTCH
m       0          0 D-rw-rw----      root informix     root informix      1   0
m       1          0 D-rw-rw----      root informix     root informix      1   0
m     770 0x52574801 --rw-rw----      root informix     root informix     13   0
m     771 0x52574802 --rw-rw----      root informix     root informix     13   0

Semaphores:
T      ID        KEY    MODE         OWNER    GROUP  CREATOR   CGROUP NSEMS   O
s       0 0x417c02d8 --ra-------      root   system     root   system     1 11:4
s       1 0x417c029e --ra-------      root   system     root   system     1 11:5
s    2050          0 --ra-ra----      root informix     root informix    10 15:0
s       3          0 --ra-ra----      root informix     root informix     1 12:8
s       4          0 --ra-ra----      root informix     root informix     1 12:8
s       5          0 --ra-ra----      root informix     root informix     1 12:8

论坛徽章:
0
6 [报告]
发表于 2004-06-08 15:46 |只看该作者

配置Informix的时候出现Fatal error in shared memory creation

用命令onmode -ky可以杀掉进程

论坛徽章:
0
7 [报告]
发表于 2004-06-08 16:34 |只看该作者

配置Informix的时候出现Fatal error in shared memory creation

好像还是不行,共享内存杀掉了,再oninit ,onstat 就出现shared memory not initialized for INFORMIXSERVER 'a1200b' .......

论坛徽章:
11
数据库技术版块每日发帖之星
日期:2016-06-25 06:20:00数据库技术版块每日发帖之星
日期:2016-06-24 06:20:00数据库技术版块每日发帖之星
日期:2016-05-03 06:20:00数据库技术版块每日发帖之星
日期:2016-04-21 06:20:00数据库技术版块每日发帖之星
日期:2016-01-23 06:20:00数据库技术版块每日发帖之星
日期:2015-12-03 06:20:00综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-19 06:20:00数据库技术版块每日发帖之星
日期:2015-08-20 06:20:002015年辞旧岁徽章
日期:2015-03-03 16:54:15数据库技术版块每日发帖之星
日期:2016-07-30 06:20:00
8 [报告]
发表于 2004-06-08 18:22 |只看该作者

配置Informix的时候出现Fatal error in shared memory creation

是不是启动了几个informix实例呀?
informix已经在共享内存中了

论坛徽章:
0
9 [报告]
发表于 2004-06-08 20:59 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
10 [报告]
发表于 2004-06-09 18:00 |只看该作者

配置Informix的时候出现Fatal error in shared memory creation

我也出现这种问题,不知道你解决没?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP