当前位置: 技术问答>linux和unix
informix初始化新问题!急!
来源: 互联网 发布时间:2014-11-29
本文导语: 我执行oninit -i -v 后: This action will initialize Informix Dynamic Server 2000; any existing Informix Dynamic Server 2000 databases will NOT be accessible - Do you wish to continue (y/n)? y Checking group membership to determine server run mode...
我执行oninit -i -v 后:
This action will initialize Informix Dynamic Server 2000;
any existing Informix Dynamic Server 2000 databases will NOT be accessible -
Do you wish to continue (y/n)? y
Checking group membership to determine server run modesucceeded
Reading configuration file '/var/informix/etc/onconfig.cc08md'...succeeded
Creating /INFORMIXTMP/.infxdirs ... succeeded
Creating infos file "/var/informix/etc/.infos.online" ... "/var/informix/etc/.cd
Writing to infos file ... succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 618 kbytes...succeeded
Creating buffer pool 2002 kbytes...succeeded
Initializing rhead structure...succeeded
Initializing ASF ...
------------------然后就自动退出!
查看online.log,内容如下:
Mon May 20 22:55:16 2002
22:55:16 Event alarms enabled. ALARMPROG = '/var/informix/etc/log_full.sh'
22:55:17 Assert Failed: net_init.c, line 327, thread 1, errno=1, error in updating /INFORMIXTMP.
22:55:17 Informix Dynamic Server 2000 Version 9.21.HC5
22:55:17 Who: Session(0, @, 0, 0)
Thread(1, main_thread, 0, 1)
File: neterrb.c Line: 658
22:55:17 stack trace for pid 2045 written to /tmp/af.3e9ef54
22:55:17 See Also: /tmp/af.3e9ef54, shmem.3e9ef54.0
22:55:18 Unable to create output file '/tmp/shmem.3e9ef54.0' errno = 28
22:55:18 neterrb.c, line 658, thread 1, proc id 2045, net_init.c, line 327, thread 1, errno=1, error in updating /INFORMIXTMP..
22:55:18 PANIC: Attempting to bring system down
什么原因?
This action will initialize Informix Dynamic Server 2000;
any existing Informix Dynamic Server 2000 databases will NOT be accessible -
Do you wish to continue (y/n)? y
Checking group membership to determine server run modesucceeded
Reading configuration file '/var/informix/etc/onconfig.cc08md'...succeeded
Creating /INFORMIXTMP/.infxdirs ... succeeded
Creating infos file "/var/informix/etc/.infos.online" ... "/var/informix/etc/.cd
Writing to infos file ... succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...succeeded
Creating resident pool 618 kbytes...succeeded
Creating buffer pool 2002 kbytes...succeeded
Initializing rhead structure...succeeded
Initializing ASF ...
------------------然后就自动退出!
查看online.log,内容如下:
Mon May 20 22:55:16 2002
22:55:16 Event alarms enabled. ALARMPROG = '/var/informix/etc/log_full.sh'
22:55:17 Assert Failed: net_init.c, line 327, thread 1, errno=1, error in updating /INFORMIXTMP.
22:55:17 Informix Dynamic Server 2000 Version 9.21.HC5
22:55:17 Who: Session(0, @, 0, 0)
Thread(1, main_thread, 0, 1)
File: neterrb.c Line: 658
22:55:17 stack trace for pid 2045 written to /tmp/af.3e9ef54
22:55:17 See Also: /tmp/af.3e9ef54, shmem.3e9ef54.0
22:55:18 Unable to create output file '/tmp/shmem.3e9ef54.0' errno = 28
22:55:18 neterrb.c, line 658, thread 1, proc id 2045, net_init.c, line 327, thread 1, errno=1, error in updating /INFORMIXTMP..
22:55:18 PANIC: Attempting to bring system down
什么原因?
|
这个问题我也碰到过,这是因为你的sqlhosts文件里的nettype和onconfig里的配置不同,你仔细检查一下,在这个文件里应该有servername,ontlitcp,sqlexec.并且不能被注释掉。这个问题曾经困扰了我一段时间,我的QQ:115926406,可以在线讨论。如有msn,那就更好。
|
我已经弹尽粮绝了。看一下这里的文章了,不行,就再安装一变了。
http://www.texiao.net/asp/index.asp?pgtype=ifx
http://www.texiao.net/asp/index.asp?pgtype=ifx
|
你看一下是不是你的/tmp是不是沒有空間了?
|
配置online做初始化的几个主要参数:
ROOTPATH 改为chunk的路径。
MSGPATH 和home director及informixdir统一
TAPEDEV /dev/null
LTAPEDEV /dev/null
DBSERVERNAME 同.profile中informixserver名字和sqlhosts中统一
ROOTPATH 改为chunk的路径。
MSGPATH 和home director及informixdir统一
TAPEDEV /dev/null
LTAPEDEV /dev/null
DBSERVERNAME 同.profile中informixserver名字和sqlhosts中统一
|
你再看一下你的sqlhosts,共有4列, 第一列是dbservername要和 onconfig中的
DBSERVERNAME一致,第二列是NETTYPE這個要和ONCONFIG中的NETTYPE一致,
第三列是HOSTNAME 要和hosts文件中的hostname一致,再試一下,看如何!
DBSERVERNAME一致,第二列是NETTYPE這個要和ONCONFIG中的NETTYPE一致,
第三列是HOSTNAME 要和hosts文件中的hostname一致,再試一下,看如何!
|
LOOK /usr/informix/etc/sqlhosts for "ASF..."