ulimit -a
检查系统限制,必要时修改/etc/security/limits.conf
bash
yum install -y glibc libstdc++ compat-libstdc++ gcc make kernel-devel
bash
apt-get install -y libc6 libstdc++6 gcc make linux-headers-$(uname -r)
bash
groupadd informix
useradd -g informix -d /opt/informix -m informix
bash
chown -R informix:informix /opt/informix
chmod -R 775 /opt/informix
.bashrc
或.bash_profile
中添加:
bash
export INFORMIXDIR=/opt/informix
export PATH=$INFORMIXDIR/bin:$PATH
export INFORMIXSERVER=ol_informix
export ONCONFIG=onconfig.ol_informix
export INFORMIXSQLHOSTS=$INFORMIXDIR/etc/sqlhosts
source ~/.bashrc
使更改生效/etc/sysctl.conf
:
bash
kernel.shmmax = 4294967296
kernel.shmall = 2097152
kernel.shmmni = 4096
sysctl -p
应用更改oninit -ivy
命令失败$INFORMIXDIR/online.log
$INFORMIXDIR/etc/onconfig
和$INFORMIXDIR/etc/sqlhosts
配置正确检查数据库状态:
onstat -
测试连接:
dbaccess - -
创建测试数据库:
CREATE DATABASE testdb;
$INFORMIXDIR/online.log
/tmp/ids_install.log
onstat -m
查看最近的系统消息如需针对特定错误代码或场景的详细解决方案,请提供具体的错误信息。