数据库启动未报错,但onstat -看不到数据库起来了
# su - informix$ oninit -v
Checking group membership to determine server run mode...succeeded
Reading configuration file '/home/informix/etc/test59.cfg'...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Creating infos file "/home/informix/etc/.infos.ontest59"...succeeded
Linking conf file "/home/informix/etc/.conf.ontest59"...succeeded
Checking config parameters...succeeded
Writing to infos file...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 14704 kbytes...succeeded
Allocating 100016 kbytes for buffer pool of 2K page size...succeeded
Initializing rhead structure...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
Initializing SDS Server network connections...succeeded
Initializing log/checkpoint information...succeeded
Initializing dbspaces...succeeded
Opening primary chunks...succeeded
Opening mirror chunks...succeeded
Validating chunks...succeeded
Initialize Async Log Flusher...succeeded
Starting B-tree Scanner...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
Creating periodic thread...succeeded
Starting scheduling system...succeeded
Verbose output complete: mode = 5
$ onstat -
shared memory not initialized for INFORMIXSERVER 'test59'
$ onstat -
shared memory not initialized for INFORMIXSERVER 'test59'
$ onstat -
shared memory not initialized for INFORMIXSERVER 'test59'
$ onstat -m
shared memory not initialized for INFORMIXSERVER 'test59'
Message Log File: /home/informix/tmp/online.log
18:34:22Physical Recovery Started at Page (2:7283).
18:34:22Physical Recovery Complete: 0 Pages Examined, 0 Pages Restored.
18:34:22Logical Recovery Started.
18:34:2210 recovery worker threads will be started.
18:34:22Logical Recovery has reached the transaction cleanup phase.
18:34:22Logical Recovery Complete.
6 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks
18:34:23Dataskip is now OFF for all dbspaces
18:34:23Checkpoint Completed:duration was 0 seconds.
18:34:23Wed Dec 21 - loguniq 19, logpos 0x8f6018, timestamp: 0x1690f8 Interval: 348
18:34:23Maximum server connections 0
18:34:23Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 12, Llog used 1
18:34:23On-Line Mode
18:34:25SCHAPI: Started dbScheduler thread.
18:34:26Booting Language <spl> from module <>
18:34:26Loading Module <SPLNULL>
18:34:26SCHAPI: Started 2 dbWorker threads. 找到原因了,INFORMIXSERVER环境变量被人改了:((
就怕这个,乱改,弄出毛病,还不好找 看来服务器一般最好别让他人动啊。
页:
[1]