Oracle安装补丁时报ollect2: ld terminated with signal 9 [Killed]

前端之家收集整理的这篇文章主要介绍了Oracle安装补丁时报ollect2: ld terminated with signal 9 [Killed]前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。


Oracle安装补丁时报ollect2: ld terminated with signal 9 [Killed]


1.报错信息

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]

make: *** [/u01/app/oracle/product/11.2/db_1/rdbms/lib/oracle] Error 1


2.原因及解决办法

编译出错主要原因是服务器虚拟内存不足导致,而服务器刚好又没有swap分区,所以需要建个swap分区,参考方法如下:

# dd if=/dev/zero of=/opt/other/swapfile bs=1024 count=512K

# mkswap /opt/other/swapfile

# swapon /opt/other/swapfile

# swapon -s

Filename Type Size Used Priority

/opt/other/swapfile file 524280 0 -1


3.将该参数添加到系统启动文件

cat >> /etc/rc.local <<EOF

swapon /opt/other/swapfile

EOF

猜你在找的Oracle相关文章