- 论坛徽章:
- 0
|
我rhel5.2安装informix10.0,安装成功之后,首次在执行oninit -ivy没有成功,然后找了相关资料用ipcs 查看共享内存,再用ipcrm —M 清除当前的共享内存,再reboot ,重启再执行[informix@sxs ~]$ oninit -v
Checking group membership to determine server run mode...succeeded
Reading configuration file '/home/informix/etc/sxs.cfg'...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Creating infos file "/home/informix/etc/.infos.onsxs"...succeeded
Linking conf file "/home/informix/etc/.conf.onsxs"...succeeded
Writing to infos file...succeeded
Checking config parameters...Invalid value of DUMPDIR '/usr/informix/tmp' in onconfig file. Setting it to default value
'/home/informix/tmp'...succeeded
15:04:58 IBM Informix Dynamic Server Started.
Allocating and attaching to shared memory...succeeded
Creating resident pool 19388 kbytes...succeeded
Allocating 10016 kbytes for buffer pool of 2K page size...succeeded
Initializing rhead structure...succeeded
Sun Dec 7 15:04:58 2008
15:04:58 Event alarms enabled. ALARMPROG = '/usr/informix/etc/alarmprogram.sh'
Initializing ASF...succeeded
Initializing Dictionary Cache and SPL Routine Cache...15:04:58 Booting Language <c> from module <>
15:04:58 Loading Module <CNULL>
15:04:58 Booting Language <builtin> from module <>
15:04:58 Loading Module <BUILTINNULL>
succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Onlining 0 additional cpu vps...succeeded
Onlining 2 IO vps...succeeded
Initialization of Encryption...succeeded
Forking main_loop thread...succeeded
Initializing DR structures...15:05:03 DR: DRAUTO is 0 (Off)
succeeded
Forking 1 'soctcp' listener threads...succeeded
15:05:03 IBM Informix Dynamic Server Version 10.00.UC4 Software Serial Number AAA#B000000
Starting tracing...succeeded
Initializing 1 flushers...succeeded
Initializing log/checkpoint information...succeeded
Opening primary chunks...succeeded
Opening mirror chunks...succeeded
Initializing dbspaces...succeeded
Validating chunks...succeeded
Initialize Async Log Flusher...succeeded
15:05:04 IBM Informix Dynamic Server Initialized -- Shared Memory Initialized.
Forking btree cleaner...succeeded
Initializing DBSPACETEMP list...succeeded
15:05:04 Physical Recovery Started at Page (1:267).
15:05:04 Physical Recovery Complete: 0 Pages Examined, 0 Pages Restored.
15:05:04 Logical Recovery Started.
15:05:04 10 recovery worker threads will be started.
15:05:07 Logical Recovery has reached the transaction cleanup phase.
15:05:07 Logical Recovery Complete.
0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks
Checking database partition index...succeeded
Checking location of physical log...succeeded
Initializing dataskip structure...15:05:08 Dataskip is now OFF for all dbspaces
succeeded
Checking for temporary tables to drop...succeeded
Forking onmode_mon thread...succeeded
15:05:08 Checkpoint Completed: duration was 0 seconds.
15:05:08 Checkpoint loguniq 1, logpos 0x6018, timestamp: 0xaf
15:05:08 Maximum server connections 0
Verbose output complete: mode = 5
[informix@sxs ~]$ 15:05:08 On-Line Mode
15:05:08 Building 'sysmaster' database ...
这里都提示成功了 我马上用onstat - 查看,是ON-LINE!
大约过了5-6秒后,系统提示:
[informix@sxs ~]$ onstat -15:05:17 listener-thread: err = -930: oserr = 0: errstr = sxs: Cannot connect to database server (sxs).
15:05:17 sql_listener: ASF_LISTEN failed
15:05:17 Attempting to bring listener thread down.
15:05:17 Server stopped.
15:05:17 IBM Informix Dynamic Server Stopped.
15:05:17 mt_shm_remove: WARNING: may not have removed all/correct segments
shared memory not initialized for INFORMIXSERVER 'onsxs' |
|