onmode -ky停止数据库是否不能清空共享内存
数据库安装完成后,oninit -ivy一直不成功,报共享内存问题,后来修改相关参数后,成功了,onstat -m查看,发现有两个系统表没有建立成功,后来onmode -ky了,结果在onstat -i就又报shared memory not initialized for INFORMIXSERVER “XXX"问题。是否停止数据库后没有清空共享内存呀。
后来再试着onclean
Do you wish to continue (y/n)? y
- Looking for semaphore ID: 10682396
- Looking for the shmem key: 52564801
- Looking for the shmem key: 52564802
好像没有清空,因为还是报
oninit: Fatal error in shared memory initialization。
有遇到过的帮忙响应一下,ths> 用root用户ipcrm删除掉共享内存 oninit -v时,出现如下内容,是啥意思呀:
Illegal log buffer size 262100, changed to 65534
oninit: Fatal error in shared memory creation
Reading configuration file '/home/informix/etc/onconfig.online'...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...FAILED
WARNING: server initialization failed, or possibly timed out (if -w was used).
Check the message log, online.log, for errors. Illegal log buffer size 262100, changed to 65534
发下日志看下。。 12:50:37Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
13:05:38Checkpoint Completed:duration was 0 seconds.
13:05:38Tue Mar 27 - loguniq 2, logpos 0xf82018, timestamp: 0x29786 Interval: 376
13:05:38Maximum server connections 1
13:05:38Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
13:20:39Checkpoint Completed:duration was 0 seconds.
13:20:39Tue Mar 27 - loguniq 2, logpos 0xf84018, timestamp: 0x29790 Interval: 377
13:20:39Maximum server connections 1
13:20:39Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
13:35:40Checkpoint Completed:duration was 0 seconds.
13:35:40Tue Mar 27 - loguniq 2, logpos 0xf86018, timestamp: 0x2979a Interval: 378
13:35:40Maximum server connections 1
13:35:40Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
13:50:41Checkpoint Completed:duration was 0 seconds.
13:50:41Tue Mar 27 - loguniq 2, logpos 0xf88018, timestamp: 0x297a4 Interval: 379
13:50:41Maximum server connections 1
13:50:41Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
14:05:42Checkpoint Completed:duration was 0 seconds.
14:05:42Tue Mar 27 - loguniq 2, logpos 0xf8a018, timestamp: 0x297ae Interval: 380
14:05:42Maximum server connections 1
14:05:42Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
14:20:43Checkpoint Completed:duration was 0 seconds.
14:20:43Tue Mar 27 - loguniq 2, logpos 0xf8c018, timestamp: 0x297b8 Interval: 381
14:20:43Maximum server connections 1
14:20:43Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
14:35:44Checkpoint Completed:duration was 0 seconds.
14:35:44Tue Mar 27 - loguniq 2, logpos 0xf8e018, timestamp: 0x297c2 Interval: 382
14:35:44Maximum server connections 1
14:35:44Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
14:50:45Checkpoint Completed:duration was 0 seconds.
14:50:45Tue Mar 27 - loguniq 2, logpos 0xf90018, timestamp: 0x297cc Interval: 383
14:50:45Maximum server connections 1
14:50:45Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
15:05:46Checkpoint Completed:duration was 0 seconds.
15:05:46Tue Mar 27 - loguniq 2, logpos 0xf92018, timestamp: 0x297d6 Interval: 384
15:05:46Maximum server connections 1
15:05:46Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
15:20:47Checkpoint Completed:duration was 0 seconds.
15:20:47Tue Mar 27 - loguniq 2, logpos 0xf94018, timestamp: 0x297e0 Interval: 385
15:20:47Maximum server connections 1
15:20:47Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
15:35:48Checkpoint Completed:duration was 0 seconds.
15:35:48Tue Mar 27 - loguniq 2, logpos 0xf96018, timestamp: 0x297ea Interval: 386
15:35:48Maximum server connections 1
15:35:48Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
15:50:49Checkpoint Completed:duration was 0 seconds.
15:50:49Tue Mar 27 - loguniq 2, logpos 0xf98018, timestamp: 0x297f4 Interval: 387
15:50:49Maximum server connections 1
15:50:49Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
16:05:50Checkpoint Completed:duration was 0 seconds.
16:05:50Tue Mar 27 - loguniq 2, logpos 0xf9a018, timestamp: 0x297fe Interval: 388
16:05:50Maximum server connections 1
16:05:50Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
16:20:51Checkpoint Completed:duration was 0 seconds.
16:20:51Tue Mar 27 - loguniq 2, logpos 0xf9c018, timestamp: 0x29808 Interval: 389
16:20:51Maximum server connections 1
16:20:51Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
16:35:52Checkpoint Completed:duration was 0 seconds.
16:35:52Tue Mar 27 - loguniq 2, logpos 0xf9e018, timestamp: 0x29812 Interval: 390
16:35:52Maximum server connections 1
16:35:52Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 2, Llog used 2
16:35:55IBM Informix Dynamic Server Started.
16:35:55Warning: The IBM IDS Innovator-C Edition license restriction limits
16:35:55the total shared memory size for this server to 2097152 KB.
16:35:55The maximum allowable shared memory was reset to this size to start the database server.
16:35:55shmget: : key 52564801: shared memory already exists
16:35:55mt_shm_init: can't create resident segment ipcm -m看一下,共享内存被占用了
页:
[1]