oracle安装补丁时报ollect2: ld terminated with signal 9 [Killed]1.报错信息Make failed to invoke "/usr/bin/make -f
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
--结束END--
本文标题: Oracle安装补丁时报ollect2: ld terminated with signal 9 [Killed]
本文链接: https://www.lsjlt.com/news/38899.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-16
2024-05-16
2024-05-16
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0