从错误信息看,错误有以下几个1、ONCONFIG('/home/informix/etc/onconfig.snkf')文件中"INFORMIXSERVER"参数与环境变量"INFORMIXSERVER"值不一致,前者显示为localhost(实际可能为空),后者显示为mydata2、SHMBASE参数设置与操作系统不吻合,错误信息指示,须设置为0x70000001000...
显示全部从错误信息看,错误有以下几个
1、ONCONFIG('/home/informix/etc/onconfig.snkf')文件中"INFORMIXSERVER"参数与环境变量"INFORMIXSERVER"值不一致,前者显示为localhost(实际可能为空),后者显示为mydata
2、SHMBASE参数设置与操作系统不吻合,错误信息指示,须设置为0x700000010000000
分析:ONCONFIG设置不正确,指向了错误的onconfig文件,INFORMIXSERVER及SHMBASE都不对,该文件很可能是其他操作系统拷贝过来的。
解决:设置正确的ONCONFIG,或者直接修改onconfig文件。目前错误看,需修改INFORMIXSERVER及SHMBASE
Reading configuration file '/home/informix/etc/onconfig.snkf'...succeeded
WARNING : If you intend to use J/Foundation or GLS for Unicode feature(GLU) with this Server instance, please make sure that your SHMBASE
value specifies in onconfig is 0x700000010000000 or above. Otherwise you will have problems while attaching or dynamically adding virtual
shared memory segments. Please refer to Server machine notes for more information.
Creating infos file "/home/informix/etc/.infos.localhost"...succeeded
Linking conf file "/home/informix/etc/.conf.localhost"...succeeded
shared memory not initialized for INFORMIXSERVER 'mydata'
收起