Oracle安装补丁时报ollect2: ld terminated with signal 9 [Killed]服务器
1.报错信息oracle
Make failed to invoke "/usr/bin/make -f ins_rdbms.mk ioracle ORACLE_HOME=/u01/app/oracle/product/11.2/db_1"....'collect2: ld terminated with signal 9 [Killed]app
make: *** [/u01/app/oracle/product/11.2/db_1/rdbms/lib/oracle] Error 1ide
2.缘由及解决办法spa
编译出错主要缘由是服务器虚拟内存不足致使,而服务器恰好又没有swap分区,因此须要建个swap分区,参考方法以下:内存
# dd if=/dev/zero of=/opt/other/swapfile bs=1024 count=512Kit
# mkswap /opt/other/swapfileio
# swapon /opt/other/swapfile编译
# swapon -sclass
Filename Type Size Used Priority
/opt/other/swapfile file 524280 0 -1
3.将该参数添加到系统启动文件中
cat >> /etc/rc.local <<EOF
swapon /opt/other/swapfile
EOF