simon_solaris 发表于 2009-10-12 12:31

“shared memory not initialized for INFORMIXSERVER” 该如何解决?

在redhat as4上安装informix的时候出现“shared memory not initialized for INFORMIXSERVER”,下面是配置的方式,应该如何解决啊?谢谢



********************************************************************

    Database Server Configuration of: test

    Server Number:         1
    Maximum Number of Users: 20
    Number of physical CPUs: 1

    *** DBSPACES ***
    DBSPACE_NAME:            rootdbs
    ROOT_CHUNK_PATH:         /data/informix_dbs/test_root.dbs
    ROOT_CHUNK_SIZE:         524288 Kbytes
    ROOT_CHUNK_OFFSET:       0 Kbytes

    DBSPACE_NAME:            temp
    TEMP_CHUNK_PATH:         /data/informix_dbs/test_temp.dbs
    TEMP_CHUNK_SIZE:         1048576 Kbytes
    TEMP_CHUNK_OFFSET:       0 Kbytes

    DBSPACE_NAME:            log
    LOG_CHUNK_PATH:          /data/informix_dbs/test_log.dbs
    LOG_CHUNK_SIZE:          524288 Kbytes
    LOG_CHUNK_OFFSET:      0 Kbytes

    DBSPACE_NAME:            ccm
    CCM_CHUNK_PATH:          /data/informix_dbs/test_ccm_1.dbs
    CCM_CHUNK_SIZE:          2097150 Kbytes
    CCM_CHUNK_OFFSET:      0 Kbytes

********************************************************************

liaosnet 发表于 2009-10-12 13:08

没启动~仅此而已~

simon_solaris 发表于 2009-10-12 13:15

我是安装的时候出现的这个问题,
那应该如何启动啊?

liaosnet 发表于 2009-10-12 13:28

安装到那出现这个提示?

simon_solaris 发表于 2009-10-12 14:16

安装到最后的时候出现的。

liaosnet 发表于 2009-10-12 14:38

最后?~?那步?帖当时的安装记录.

simon_solaris 发表于 2009-10-12 14:46

$ ./ccmsrv create -s hzscmtest

You may type a value, <ctrl-c> to quit, or <return> to accept the default

Please enter the name of the database server [ hzscmtest ] test

Please enter the database server number (1 - 255): [ 1 ] 1

Please enter the maximum number of users [ 20 ] 20

Please enter the primary chunk path for the rootdbs dbspace
[ /data/informix_dbs ]
Preparing chunk file '/data/informix_dbs/test_root.dbs' for dbspace creation...

Size in Kbytes [ 20480 ]

Offset in Kbytes [ 0 ]

Please enter the primary chunk path for the temp dbspace
[ /data/informix_dbs/test_temp.dbs ]
Preparing chunk file '/data/informix_dbs/test_temp.dbs' for dbspace creation...

Size in Kbytes [ 20480 ]

Offset in Kbytes [ 0 ]

Please enter the primary chunk path for the log dbspace
[ /data/informix_dbs/test_log.dbs ]
Preparing chunk file '/data/informix_dbs/test_log.dbs' for dbspace creation...

Size in Kbytes [ 20480 ]

Offset in Kbytes [ 0 ]

Please enter the primary chunk path for the ccm dbspace
[ /data/informix_dbs/test_ccm.dbs ]
Preparing chunk file '/data/informix_dbs/test_ccm.dbs' for dbspace creation...

Size in Kbytes [ 40960 ]

Offset in Kbytes [ 0 ]

Number of physical CPUs [ 1 ]

********************************************************************

    Database Server Configuration of: test

    Server Number:         1
    Maximum Number of Users: 20
    Number of physical CPUs: 1

    *** DBSPACES ***
    DBSPACE_NAME:            rootdbs
    ROOT_CHUNK_PATH:         /data/informix_dbs/test_root.dbs
    ROOT_CHUNK_SIZE:         20480 Kbytes
    ROOT_CHUNK_OFFSET:       0 Kbytes

    DBSPACE_NAME:            temp
    TEMP_CHUNK_PATH:         /data/informix_dbs/test_temp.dbs
    TEMP_CHUNK_SIZE:         20480 Kbytes
    TEMP_CHUNK_OFFSET:       0 Kbytes

    DBSPACE_NAME:            log
    LOG_CHUNK_PATH:          /data/informix_dbs/test_log.dbs
    LOG_CHUNK_SIZE:          20480 Kbytes
    LOG_CHUNK_OFFSET:      0 Kbytes

    DBSPACE_NAME:            ccm
    CCM_CHUNK_PATH:          /data/informix_dbs/test_ccm.dbs
    CCM_CHUNK_SIZE:          40960 Kbytes
    CCM_CHUNK_OFFSET:      0 Kbytes

********************************************************************


Would you like to create the database server? (Y/N) y
Adding database server 'test' to the sqlhosts file
    '/usr/local/ccm/informix/etc/sqlhosts' ...

Creating the database server configuration file
   /usr/local/ccm/informix/etc/test ...
Initializing the database server 'test' ....
Building the 'sysmaster' database
'sysmaster' database built successfully
Building the 'sysutils' database .
'sysutils' database created successfully
Bring the database server to quiescent mode ...
Creating temp dbspace ...
Creating log dbspace ...
Creating 20 logical logs ....................
Shutdown the database server ...
Bring the database server to quiescent mode ...
Drop the first six original logical logs in the rootdbs dbspace ......
Performing level 0 archive ...
Creating ccm dbspace with 40960 Kbytes ...

WARNING: unable to create ccm dbspace
shared memory not initialized for INFORMIXSERVER 'test'

Cleaning up...

Shutting down the database server ...
Removing the configuration file /usr/local/ccm/informix/etc/test ...
Removing chunk files /data/informix_dbs/test_root.dbs ...
Removing chunk files /data/informix_dbs/test_temp.dbs ...
Removing chunk files /data/informix_dbs/test_log.dbs ...
Removing chunk files /data/informix_dbs/test_ccm.dbs ...
Removing tape device /usr/local/ccm/informix/etc/test.tapedev ...
Removing boot strap file /usr/local/ccm/informix/etc/oncfg_test.1 ...
Removing temporary files /tmp/ccmsrv_create2_6207 and /tmp/ccmsrv_create1_6207 ...
Removing 'test' record from '/usr/local/ccm/informix/etc/sqlhosts' ...
72
0



说明一下:我安装的是一个软件配置管理工具synergy cm ,它自带的数据库是informix。我是安装这个informix 的时候出错的。

liaosnet 发表于 2009-10-12 15:21

看 informix 的online.log
位於 /usr/local/ccm/informix/目錄下~

myusa 发表于 2009-10-19 07:52

synergy server? lz是delphi的么?
好像是叫tod的人做内部支持
页: [1]
查看完整版本: “shared memory not initialized for INFORMIXSERVER” 该如何解决?