加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-12 14:54:19 所属栏目:百科 来源:网络整理
导读: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


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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读