免费注册 查看新帖 |

Chinaunix

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

数据库启动未报错,但onstat -看不到数据库起来了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-12-21 10:45 |只看该作者 |倒序浏览
[root@test59 ~]# su - informix
[informix@test59 ~]$ 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
[informix@test59 ~]$ onstat -
shared memory not initialized for INFORMIXSERVER 'test59'
[informix@test59 ~]$ onstat -
shared memory not initialized for INFORMIXSERVER 'test59'
[informix@test59 ~]$ onstat -
shared memory not initialized for INFORMIXSERVER 'test59'
[informix@test59 ~]$ onstat -m
shared memory not initialized for INFORMIXSERVER 'test59'
Message Log File: /home/informix/tmp/online.log
18:34:22  Physical Recovery Started at Page (2:7283).
18:34:22  Physical Recovery Complete: 0 Pages Examined, 0 Pages Restored.
18:34:22  Logical Recovery Started.
18:34:22  10 recovery worker threads will be started.
18:34:22  Logical Recovery has reached the transaction cleanup phase.
18:34:22  Logical Recovery Complete.
          6 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks

18:34:23  Dataskip is now OFF for all dbspaces
18:34:23  Checkpoint Completed:  duration was 0 seconds.
18:34:23  Wed Dec 21 - loguniq 19, logpos 0x8f6018, timestamp: 0x1690f8 Interval: 348

18:34:23  Maximum server connections 0
18:34:23  Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0, Plog used 12, Llog used 1

18:34:23  On-Line Mode
18:34:25  SCHAPI: Started dbScheduler thread.
18:34:26  Booting Language <spl> from module <>
18:34:26  Loading Module <SPLNULL>
18:34:26  SCHAPI: Started 2 dbWorker threads.

论坛徽章:
0
2 [报告]
发表于 2011-12-21 10:47 |只看该作者
找到原因了,INFORMIXSERVER环境变量被人改了

论坛徽章:
0
3 [报告]
发表于 2011-12-23 17:31 |只看该作者
就怕这个,乱改,弄出毛病,还不好找

论坛徽章:
0
4 [报告]
发表于 2012-01-29 13:07 |只看该作者
看来服务器一般最好别让他人动啊。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP