再次发informix初始化问题!!!

发布于 2022-09-23 13:05:52 字数 4782 浏览 8 评论 0

我的rhel5.2安装informix10的,装好后,初始化:
[informix@sxs ~]$ oninit -yv
Checking group membership to determine server run mode...succeeded
Reading configuration file '/home/informix/etc/sxs.cfg'...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Creating infos file "/home/informix/etc/.infos.onsxs"...succeeded
Linking conf file "/home/informix/etc/.conf.onsxs"...succeeded
Writing to infos file...succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 6720 kbytes...succeeded
Allocating 100016 kbytes for buffer pool of 2K page size...succeeded
Initializing rhead structure...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
Initialization of Encryption...succeeded
Forking main_loop thread...succeeded
Initializing DR structures...succeeded
Forking 1 'soctcp' listener threads...succeeded
Starting tracing...succeeded
Initializing 1 flushers...succeeded
Initializing log/checkpoint information...succeeded
Opening primary chunks...succeeded
Opening mirror chunks...succeeded
Initializing dbspaces...succeeded
Validating chunks...succeeded
Initialize Async Log Flusher...succeeded
Forking btree cleaner...succeeded
Initializing DBSPACETEMP list...succeeded
Checking database partition index...succeeded
Checking location of physical log...succeeded
Initializing dataskip structure...succeeded
Checking for temporary tables to drop...succeeded
Forking onmode_mon thread...succeeded
Verbose output complete: mode = 5

成功了,但之后又down了。不知道怎么回事!
[informix@sxs ~]$ onstat -

IBM Informix Dynamic Server Version 10.00.UC4     -- On-Line -- Up 00:00:12 -- 123364 Kbytes

[informix@sxs ~]$ onstat -

IBM Informix Dynamic Server Version 10.00.UC4     -- On-Line -- Up 00:00:18 -- 123364 Kbytes

[informix@sxs ~]$ onstat -
shared memory not initialized for INFORMIXSERVER 'onsxs'
[informix@sxs ~]$

以下是on_line.log日志信息:
[informix@sxs ~]$cat on-line.log
Sun Dec  7 17:03:13 2008

17:03:13  Event alarms enabled.  ALARMPROG = '/home/informix/etc/alarmprogram.sh'
17:03:13  Booting Language <c> from module <>
17:03:13  Loading Module <CNULL>
17:03:13  Booting Language <builtin> from module <>
17:03:13  Loading Module <BUILTINNULL>
17:03:18  Dynamically allocated new virtual shared memory segment (size 8192KB)
17:03:18  DR: DRAUTO is 0 (Off)
17:03:18  IBM Informix Dynamic Server Version 10.00.UC4     Software Serial Number AAA#B000000
17:03:19  IBM Informix Dynamic Server Initialized -- Shared Memory Initialized.

17:03:19  Physical Recovery Started at Page (1:270).
17:03:19  Physical Recovery Complete: 0 Pages Examined, 0 Pages Restored.
17:03:19  Logical Recovery Started.
17:03:19  10 recovery worker threads will be started.
17:03:22  Logical Recovery has reached the transaction cleanup phase.
17:03:22  Logical Recovery Complete.
          0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks

17:03:23  Onconfig parameter ONLIDX_MAXMEM modified from 5120 to 51200.
17:03:23  Dataskip is now OFF for all dbspaces
17:03:23  Checkpoint Completed:  duration was 0 seconds.
17:03:23  Checkpoint loguniq 1, logpos 0x1018, timestamp: 0x61

17:03:23  Maximum server connections 0
17:03:23  On-Line Mode
17:03:23  Building 'sysmaster' database ...
17:03:32  listener-thread: err = -930: oserr = 0: errstr = sxs: Cannot connect to database server (sxs).

17:03:32  sql_listener: ASF_LISTEN failed

17:03:32  Attempting to bring listener thread down.

17:03:32  Server stopped.

17:03:32  IBM Informix Dynamic Server Stopped.

17:03:32  mt_shm_remove: WARNING: may not have removed all/correct segments
[informix@sxs ~]$

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我乃一代侩神 2022-09-30 13:05:52

初始化是:oninit -ivy吧,沒有參數i,不能生成sysmaster,sysuser,sysutils三个库。

半步萧音过轻尘 2022-09-30 13:05:52

回复 1# sxs1986

    主机名改了,vi /etc/sysconfig/network
   hostname XXX

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文