huzou_cn 发表于 2010-09-04 15:14

数据库启动不了,,不知啥原因。。。

$onstat -

shared memory not initialized form INFORMIXSERVER 'mmk'




$ vi online.log
"online.log" 43 lines, 2304 characters
15:03:51Requested shared memory segment size rounded from 8000KB to 8192KB

Sat Sep4 15:03:51 2010

15:03:51Event alarms enabled.ALARMPROG = '/usr/informix/etc/log_full.sh'
15:03:56DR: DRAUTO is 0 (Off)
15:03:56Requested shared memory segment size rounded from 588KB to 4096KB
15:03:57Informix Dynamic Server Version 7.31.UC7    Software Serial Number AAC#J954250
15:03:58(5) connection rejected - no calls allowed for sqlexec
15:03:58listener-thread: err = -27002: oserr = 0: errstr = : No connections are allowed in Dynamic Server quiescent mode.

15:03:58Informix Dynamic Server Initialized -- Complete Disk Initialized.
15:03:58(8) connection rejected - no calls allowed for sqlexec
15:03:58listener-thread: err = -27002: oserr = 0: errstr = : No connections are allowed in Dynamic Server quiescent mode.

15:03:58(11) connection rejected - no calls allowed for sqlexec
15:03:58listener-thread: err = -27002: oserr = 0: errstr = : No connections are allowed in Dynamic Server quiescent mode.

15:03:59(12) connection rejected - no calls allowed for sqlexec
15:03:59listener-thread: err = -27002: oserr = 0: errstr = : No connections are allowed in Dynamic Server quiescent mode.

15:03:59(13) connection rejected - no calls allowed for sqlexec
15:03:59listener-thread: err = -27002: oserr = 0: errstr = : No connections are allowed in Dynamic Server quiescent mode.

15:03:59(14) connection rejected - no calls allowed for sqlexec
15:03:59listener-thread: err = -27002: oserr = 0: errstr = : No connections are allowed in Dynamic Server quiescent mode.

15:03:59Checkpoint Completed:duration was 0 seconds.
15:03:59(15) connection rejected - no calls allowed for sqlexec
15:03:59listener-thread: err = -27002: oserr = 0: errstr = : No connections are allowed in Dynamic Server quiescent mode.

15:03:59Dataskip is now OFF for all dbspaces
15:03:59On-Line Mode
15:03:59Building 'sysmaster' database ...
15:04:10listener-thread: err = -931: oserr = 0: errstr = online_serv: Cannot locate online_serv service/tcp service in /etc/servic
es.

15:04:10Attempting to bring listener thread down.

15:04:10Server stopped.

15:04:10Informix Dynamic Server Stopped.
15:04:11mt_shm_remove: WARNING: may not have removed all/correct segments

huzou_cn 发表于 2010-09-04 15:15

高人指点我。。。先谢!!!

huzou_cn 发表于 2010-09-04 15:43

重起了一下,,,先是成功。。。几秒钟之的失败了。。。
$ oninit -iy
$ onstat -

Informix Dynamic Server Version 7.31.UC7    -- On-Line -- Up 00:00:17 -- 12288 Kbytes

$ onstat -

Informix Dynamic Server Version 7.31.UC7    -- On-Line -- Up 00:00:21 -- 12288 Kbytes

$ onstat -

Informix Dynamic Server Version 7.31.UC7    -- On-Line -- Up 00:00:24 -- 12288 Kbytes

$ onstat -
shared memory not initialized for INFORMIXSERVER 'mmk'

yunzhongyue 发表于 2010-09-04 16:34

listener-thread: err = -931: oserr = 0: errstr = online_serv: Cannot locate online_serv service/tcp service in /etc/servic

是不是端口配的有问题?

czw1413_cn 发表于 2010-09-15 23:57

huzou_cn 发表于 2010-09-24 10:30

已解决。谢!!!

hanner_cheung 发表于 2010-09-24 20:14

回复 6# huzou_cn


    请问是/etc/service文件里端口没有配置造成的么? LZ是怎样解决的?? 是按楼上大神们的说法改的么?

huzou_cn 发表于 2011-03-21 19:49

改了

HalfCamel 发表于 2011-03-21 20:26

应该是端口问题吧
页: [1]
查看完整版本: 数据库启动不了,,不知啥原因。。。