免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6135 | 回复: 8
打印 上一主题 下一主题

数据库启动不了,,不知啥原因。。。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-09-04 15:14 |只看该作者 |倒序浏览
$onstat -

shared memory not initialized form INFORMIXSERVER 'mmk'




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

Sat Sep  4 15:03:51 2010

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

15:03:58  Informix Dynamic Server Initialized -- Complete Disk Initialized.
15:03:58  ( connection rejected - no calls allowed for sqlexec
15:03:58  listener-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:58  listener-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:59  listener-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:59  listener-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:59  listener-thread: err = -27002: oserr = 0: errstr = : No connections are allowed in Dynamic Server quiescent mode.

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

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

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

15:04:10  Server stopped.

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

论坛徽章:
0
2 [报告]
发表于 2010-09-04 15:15 |只看该作者
高人指点我。。。先谢!!!

论坛徽章:
0
3 [报告]
发表于 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'

论坛徽章:
1
15-16赛季CBA联赛之江苏
日期:2017-04-05 11:23:15
4 [报告]
发表于 2010-09-04 16:34 |只看该作者
listener-thread: err = -931: oserr = 0: errstr = online_serv: Cannot locate online_serv service/tcp service in /etc/servic

是不是端口配的有问题?

论坛徽章:
0
5 [报告]
发表于 2010-09-15 23:57 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
6 [报告]
发表于 2010-09-24 10:30 |只看该作者
已解决。谢!!!

论坛徽章:
0
7 [报告]
发表于 2010-09-24 20:14 |只看该作者
回复 6# huzou_cn


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

论坛徽章:
0
8 [报告]
发表于 2011-03-21 19:49 |只看该作者
改了

论坛徽章:
0
9 [报告]
发表于 2011-03-21 20:26 |只看该作者
应该是端口问题吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP