loopoko 发表于 2011-08-27 23:09

疑难问题,各位来看看

onmonitor看到Off-Line

# onstat -
Incorrectly built binary which accesses errno or h_errno directly. Needs to be f
ixed.
shared memory not initialized for INFORMIXSERVER 'db840'

# oninit -v
Checking group membership to determine server run modesucceeded
Reading configuration file '/opt/informix/etc/onconfig'...succeeded
Creating /INFORMIXTMP/.infxdirs ... succeeded
Creating infos file "/opt/informix/etc/.infos.'db840'" ... FAILED
Writing to infos file ... FAILED
Checking config parameters...succeeded
Allocating and attaching to shared memory...FAILED
oninit: Fatal error in shared memory creation



dbaccess 却能看到库,能查出数据,外部程序查数据库也很正常。

loopoko 发表于 2011-08-27 23:15

onling.log

22:11:43Fuzzy Checkpoint Completed:duration was 0 seconds, 486 buffers not f
lushed.
22:11:43Checkpoint loguniq 5191, logpos 0x206d788

22:11:43Maximum server connections 803
22:33:56Informix Dynamic Server Started.
22:33:56shmget: : key 52564801: shared memory already exists
22:33:56mt_shm_init: can't create resident segment

liaosnet 发表于 2011-08-28 01:20

因为数据库已经正在运行了~
只是没使用你这个指定的服务名。。
使用onstat -g dis 查看当前服务器所有的实例~

loopoko 发表于 2011-08-28 17:31

果然是有两个不同的服务名!!
可我看onconfig和sqlhosts都是相同的文件呢,怎么会有两个的呢??
页: [1]
查看完整版本: 疑难问题,各位来看看