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