IT其它 informix 11.5

建立表空间时出现 shared memory not initialized for INFORMIXSERVER

如题出现错误,建立表空间失败,具体情况如下:
输入:onspaces -c -d plogdbs -p /opt/informix/chunks/plogchk -o 0 -s 2000000
输出:shared memory not initialized for INFORMIXSERVER 'testserver'

查看onstat -m:
IBM Informix Dynamic Server Version 11.50.FC9DE -- On-Line -- Up 01:19:12 -- 149196 Kbytes

Message Log File: /opt/informix/tmp/online.log
20:14:43  Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2

20:29:44  Checkpoint Completed:  duration was 0 seconds.
20:29:44  Thu Nov  6 - loguniq 1, logpos 0x6018, timestamp: 0xe1 Interval: 5

20:29:44  Maximum server connections 0
20:29:44  Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2

20:44:44  Checkpoint Completed:  duration was 0 seconds.
20:44:44  Thu Nov  6 - loguniq 1, logpos 0x8018, timestamp: 0xeb Interval: 6

20:44:44  Maximum server connections 0
20:44:44  Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2

20:59:45  Checkpoint Completed:  duration was 0 seconds.
20:59:45  Thu Nov  6 - loguniq 1, logpos 0xa018, timestamp: 0xf5 Interval: 7

20:59:45  Maximum server connections 0
20:59:45  Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2

查看ipcs:
------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x52564801 655364     informix   660        119336960  9                       
0x52564802 688133     informix   660        33439744   9                       

------ Semaphore Arrays --------
key        semid      owner      perms      nsems     
0x00000000 163844     root       660        9         
0x00000000 196613     root       660        9         
0x00000000 327686     informix   660        9         

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages   

小弟初学,感谢各位大神的帮助!!

补充一下,初步认为是Maximum server connections 数量的问题...不明白为什么是0,能不能改?
参与19

18 同行回答

大力水手 大力水手 售前技术支持 北京南天软件股份有限公司
.profile里面配置的INFORMIXSERVER是testserver吗?显示全部
.profile里面配置的INFORMIXSERVER是testserver吗? 收起
系统集成 · 2015-02-05
浏览2623
大力水手 大力水手 售前技术支持 北京南天软件股份有限公司
问题可能出在.bash_profile上,里面的informixserver是testserver吗?据说那个要和onconfig文件里面的dbserver一样的显示全部
问题可能出在.bash_profile上,里面的informixserver是testserver吗?据说那个要和onconfig文件里面的dbserver一样的 收起
系统集成 · 2015-01-26
浏览2602

    提问者

    PumChi
    其它 UCSD
    评论14

    问题状态

  • 发布时间:2014-11-06
  • 关注会员:1 人
  • 问题浏览:22917
  • 最近回答:2016-02-23
  • X社区推广