然后rootdbs、rootpath、tmpdbs也都修改了,和第一个实例也不一样。
不知道是哪些参数配错了。内存什么情况下会重合呀?
另外因为第一个实例正在运行,我用ipcs -a|grep informix,如果我ipcrm的话,会不会影响第一个实例呀?
回复 #11 weikunbei 的帖子
基于你提供的信息来看17:56:16create_vp: cannot allocate semaphore
18:10:25IBM Informix Dynamic Server Started.
18:10:25semget: errno = 28
是受资源限制了...至于具体是什么原来.得看你的系统 errno = 28 是什么?
在hp-ux下errno可以在/usr/include/errno.h 里看到.....其它的太清楚.
[ 本帖最后由 liaosnet 于 2009-12-17 22:32 编辑 ] 我把第一个实例停了,想验证一下是否是系统资源分配的问题,话说初始化,之前的报错没了,但是停在了一行不动了,我查看数据库状态是online状态
S10-SV03-/opt/informix3/etc> oninit -viy
Checking group membership to determine server run mode...succeeded
Reading configuration file '/opt/informix3/etc/onconfig.serverwei'...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Creating infos file "/opt/informix3/etc/.infos.serverwei"...succeeded
Linking conf file "/opt/informix3/etc/.conf.serverwei"...succeeded
Writing to infos file...succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 1218598 kbytes...succeeded
Allocating 4800016 kbytes for buffer pool of 2K page size...succeeded
Initializing rhead structure...succeeded
Initializing ASF...succeeded
Initializing Dictionary Cache and SPL Routine Cache...succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Onlining 6 additional cpu vps...succeeded
Onlining 10 IO vps...succeeded
Initialization of Encryption...succeeded
Forking main_loop thread...succeeded
Initializing DR structures...succeeded
S10-SV03-/opt/informix3/etc> Forking 1 'soctcp' listener threads...succeeded
Starting tracing...succeeded
Initializing 28 flushers...succeeded
Initializing log/checkpoint information...succeeded
Initializing dbspaces...succeeded
Opening primary chunks...succeeded
Opening mirror chunks...succeeded
Validating chunks...succeeded
Creating database partition...succeeded
Initialize Async Log Flusher...succeeded
Forking btree cleaner...succeeded
Initializing DBSPACETEMP list...succeeded
Checking database partition index...succeeded
Initializing dataskip structure...succeeded
Checking for temporary tables to drop...succeeded
Forking onmode_mon thread...succeeded
Starting scheduling system...succeeded
Verbose output complete: mode = 5 原帖由 weikunbei 于 2009-12-18 14:07 发表 http://bbs2.chinaunix.net/images/common/back.gif
我把第一个实例停了,想验证一下是否是系统资源分配的问题,话说初始化,之前的报错没了,但是停在了一行不动了,我查看数据库状态是online状态
S10-SV03-/opt/informix3/etc> oninit -viy
Checking group me ...
正常! 初始化第二个实例的时候报这个错误了?请问对于初始化成功的rootdbs(online),再次初始化这个rootdbs会出错误吗?比如造成裸设备故障?(我误操作了,之前第二个实例都online了,结果我打成oninit -viy了)
Checking group membership to determine server run mode...succeeded
Reading configuration file '/opt/informix3/etc/onconfig.serverwei...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Creating infos file "/opt/informix3/etc/.infos.serverwei"...succeeded
Linking conf file "/opt/informix3/etc/.conf.serverwei"...succeeded
Writing to infos file...succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 1218598 kbytes...succeeded
Allocating 4800016 kbytes for buffer pool of 2K page size...succeeded
Initializing rhead structure...succeeded
Initializing ASF...succeeded
Initializing Dictionary Cache and SPL Routine Cache...succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Onlining 6 additional cpu vps...succeeded
Onlining 10 IO vps...succeeded
Initialization of Encryption...succeeded
Forking main_loop thread...succeeded
Initializing DR structures...succeeded
S10-SV03-/opt/informix3/etc> Forking 1 'soctcp' listener threads...succeeded
Starting tracing...succeeded
Initializing 28 flushers...succeeded
oninit: Fatal error in shared memory initialization
oninit日志如下
18:43:27Warning: ONCONFIG dump directory (DUMPDIR) '/tmp' has insecure permissions
18:43:27Event alarms enabled.ALARMPROG = '/opt/informix3/etc/alarmprogram.sh'
18:43:27Booting Language <c> from module <>
18:43:27Loading Module <CNULL>
18:43:27Booting Language <builtin> from module <>
18:43:27Loading Module <BUILTINNULL>
18:43:32DR: DRAUTO is 0 (Off)
18:43:32DR: ENCRYPT_HDR is 0 (HDR encryption Disabled)
18:43:32Fast poll /dev/poll enabled.
18:43:32IBM Informix Dynamic Server Version 11.10.FC2 Software Serial Number AAA#B000000
18:43:32Cannot Open Primary Chunk '/opt/informix3/chk/server1rootchk', errno = 6
18:43:32IBM Informix Dynamic Server Stopped.
18:43:32mt_shm_remove: WARNING: may not have removed all/correct segments 问题解决了。。。。原来是物理设备没有挂上。。。。我得神。。。谢谢大家。。。这次又学到不少东西 初始化另外一個實例,需要將正在運行的實例關閉。不然會報共享內存錯誤。 原帖由 hanner_cheung 于 2009-12-22 17:19 发表 http://bbs2.chinaunix.net/images/common/back.gif
初始化另外一個實例,需要將正在運行的實例關閉。不然會報共享內存錯誤。
没有遇到过这种问题!
页:
1
[2]