solo226 发表于 2012-01-12 18:04

informix启动时报错

-bash-3.2$ oninit -ivy
Checking group membership to determine server run mode...succeeded
oninit: NETTYPE 'soctp,4,100,NET' is not a supported IBM Informix Dynamic ServerNET
protocol.
Reading configuration file '/home/informix/etc/onconfig.onnacidscs'...FAILED

WARNING: server initialization failed, or possibly timed out (if -w was used).
Check the message log, online.log, for errors.

liaosnet 发表于 2012-01-12 18:42

soctcp not soctp

solo226 发表于 2012-01-13 00:20

:-L犯了这样的错,灰常感谢
咕~~(╯﹏╰)b
现在其他都正常了
oninit还是没有启动
-bash-3.2$ oninit -ivy         
Checking group membership to determine server run mode...succeeded
Reading configuration file '/home/informix/etc/onconfig.onnacidscs'...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 353360 kbytes...succeeded
Allocating 100016 kbytes for buffer pool of 2K page size...succeeded
Allocating 3200016 kbytes for buffer pool of 8K page size...succeeded
Creating infos file "/home/informix/etc/.infos.onnacidscs"...succeeded
Linking conf file "/home/informix/etc/.conf.onnacidscs"...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 2 additional cpu vps...succeeded
Onlining 2 IO vps...succeeded
Forking main_loop thread...succeeded
succeeded
Starting tracing...succeeded
Initializing 32 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.

solo226 发表于 2012-01-13 00:39

-bash-3.2$ onstat -g seg
shared memory not initialized for INFORMIXSERVER 'onnacidscs'

solo226 发表于 2012-01-13 00:40

-bash-3.2$ ipcs

------ Shared Memory Segments --------
key      shmid      owner      perms      bytes      nattch   status      

------ Semaphore Arrays --------
key      semid      owner      perms      nsems   

------ Message Queues --------
key      msqid      owner      perms      used-bytes   messages

solo226 发表于 2012-01-13 01:03

$vi onconfig.test

RESIDENT 0
SHMBASE 0x44000000L
SHMVIRTSIZE 1048576
SHMADD 262144
EXTSHMADD 8192

liaosnet 发表于 2012-01-13 09:56

回复 3# solo226


    online.log please!

hugolin168 发表于 2012-01-13 10:28

检查环境变量的informixServer跟onconfig

solo226 发表于 2012-01-13 10:49

16:18:13IBM Informix Dynamic Server Started.

Fri Jan 13 16:18:15 2012

16:18:15Warning: ONCONFIG dump directory (DUMPDIR) '/informix.dump' has insecure permissions
16:18:15Event alarms enabled.ALARMPROG = '/home/informix/etc/no_log.sh'
16:18:15Booting Language <c> from module <>
16:18:15Loading Module <CNULL>
16:18:15Booting Language <builtin> from module <>
16:18:15Loading Module <BUILTINNULL>
16:18:22DR: DRAUTO is 0 (Off)
16:18:22DR: ENCRYPT_HDR is 0 (HDR encryption Disabled)
16:18:22Event notification facility epoll enabled.
16:18:22IBM Informix Dynamic Server Version 11.50.FC6   Software Serial Number AAA#B000000
16:18:22Warning: stat() failed for chunk file /informix.links/nac/rootchk
16:18:22Cannot Open Primary Chunk '/informix.links/nac/rootchk', errno = 2
16:18:22oninit: Fatal error in shared memory initialization

16:18:22IBM Informix Dynamic Server Stopped.

16:18:22mt_shm_remove: WARNING: may not have removed all/correct segments

solo226 发表于 2012-01-13 10:50

16:18:22Cannot Open Primary Chunk '/informix.links/nac/rootchk', errno = 2
16:18:22oninit: Fatal error in shared memory initialization
页: [1] 2 3
查看完整版本: informix启动时报错