HP-informix 数据库启动报错?急!
wcdmadb1-/opt/informix> oninit -vChecking group membership to determine server run mode...succeeded
Reading configuration file '/opt/informix/etc/onconfig.snmos'...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 519910 kbytes...succeeded
Allocating 20016 kbytes for buffer pool of 2K page size...succeeded
Creating infos file "/opt/informix/etc/.infos.snmosserver"...succeeded
Linking conf file "/opt/informix/etc/.conf.snmosserver"...succeeded
Initializing rhead structure...succeeded
Writing to infos file...succeeded
Initialization of Encryption...succeeded
Initializing ASF...succeeded
Initializing Dictionary Cache and SPL Routine Cache...succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Onlining 0 additional cpu vps...succeeded
Onlining 2 IO vps...succeeded
Forking main_loop thread...succeeded
Initializing DR structures...succeeded
Forking 1 'soctcp' listener threads...succeeded
Starting tracing...succeeded
Initializing 8 flushers...succeeded
oninit: Fatal error in shared memory initialization
WARNING: server initialization failed, or possibly timed out (if -w was used).
Check the message log, online.log, for errors.
日志报错:
15:43:09IBM Informix Dynamic Server Started.
Fri Dec 30 15:43:09 2011
15:43:09Event alarms enabled.ALARMPROG = '/opt/informix/etc/alarmprogram.sh'
15:43:09Booting Language <c> from module <>
15:43:09Loading Module <CNULL>
15:43:09Booting Language <builtin> from module <>
15:43:09Loading Module <BUILTINNULL>
15:43:15DR: DRAUTO is 0 (Off)
15:43:15DR: ENCRYPT_HDR is 0 (HDR encryption Disabled)
15:43:15Fast poll /dev/poll enabled.
15:43:15IBM Informix Dynamic Server Version 11.50.FC5 Software Serial Number AAA#B000000
15:43:15Cannot Open Primary Chunk '/opt/informix/chunk/snmos/rootchk', errno = 6
15:43:15oninit: Fatal error in shared memory initialization
15:43:15IBM Informix Dynamic Server Stopped.
15:43:15mt_shm_remove: WARNING: may not have removed all/correct segments 用root执行ipcs -M查看共享内存段有没有释放?如没有,清除后在启动试试
再次,检查/opt/informix/chunk/snmos/rootchk 回复 2# hugolin168
wcdmadb1-/opt/informix/chunk/snmos> ls -lrt
total 16
lrwxr-xr-x 1 informix informix 21 May 122011 rootchk -> /dev/snmosvg/rlv_s001
这个文件没有问题,这个机器刚重启过!不会是内存问题。
/opt/informix/chunk/snmos/rootchk权限660 IDS 11.5里清除内存可以用onclean -ky! #define ENXIO 6 /* No such device or address */
vgdisplay snmosvg看vg是否激活。 /dev/snmosvg/rlv_s001
检查这个设备的状态,另外对应的vg情况 好像内存什么的有问题啊。
页:
[1]