银行数据库

各位大侠 求助 oninit -v

各位大虾:昨晚我在执行导库操作 dbimport  应该是失败了,早上来的时候就看到磁盘空间空闲为0了,数据库也进不去,于是  我就oninit -v 执行了一下  起不来  下面是错误信息:$ oninit -vChecking group membership to determine s...显示全部
各位大虾:
昨晚我在执行导库操作 dbimport  应该是失败了,早上来的时候就看到磁盘空间空闲为0了,数据库也进不去,于是  我就oninit -v 执行了一下  起不来  下面是错误信息:
$ oninit -v
Checking group membership to determine server run mode...succeeded
Reading configuration file '/home/informix/etc/onconfig.snkf'...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Checking config parameters...succeeded
20:25:48  IBM Informix Dynamic Server Started.
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.
20:25:48  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 dynamimically addi
ng virtual shared memory segments. Please refer to Server machine notes for more information.
Allocating and attaching to shared memory...succeeded
Creating resident pool 2032 kbytes...succeeded
Allocating 8016 kbytes for buffer pool of 4K page size...succeeded
Creating infos file "/home/informix/etc/.infos.localhost"...succeeded
Linking conf file "/home/informix/etc/.conf.localhost"...succeeded
oninit: DBSERVERNAME 'localhost' not in sqlhosts file or sqlhosts file contents
are damaged.
WARNING: server initialization failed, or possibly timed out (if -w was used).
Check the message log, online.log, for errors.
$



在执行其他的informix命令的时候都是提示我:
shared memory not initialized for INFORMIXSERVER 'mydata'

请问这是什么原因啊 ???应该如何解决呢  谢谢

我重启过机器,现在online.log也不写了收起
参与13

查看其它 12 个回答marvelyu的回答

marvelyumarvelyu软件开发工程师IBM
如果之前正常的话,那么需要确认如下:
ipcs -m看看关闭数据库后,内存段是否释放
onstat -g seg也可以看到。
数据库关闭后disk繁忙率还是100%?
如果informix的共享内存段海存在的话,通过ipcs -rm 删除共享内存段后才能正常启动
互联网服务 · 2011-08-30
浏览1409

回答者

marvelyu
软件开发工程师IBM

marvelyu 最近回答过的问题

回答状态

  • 发布时间:2011-08-30
  • 关注会员:0 人
  • 回答浏览:1409
  • X社区推广