Oracle 12cR1 Relink時報錯:ld.so.1: skgxpinfo: fatal: libons.so: open failed: No such file or directory,oracledirectory

來源:互聯網
上載者:User

Oracle 12cR1 Relink時報錯:ld.so.1: skgxpinfo: fatal: libons.so: open failed: No such file or directory,oracledirectory

來源於:
Oracle 12cR1 Relink Error: "ld.so.1: skgxpinfo: fatal: libons.so: open failed: No such file or directory" (文檔 ID 1957810.1)

適用於:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Generic UNIX


癥狀:
使用如下命令 relink 時,拋出錯誤:

$ORACLE_HOME/oui/bin/runInstaller -relink -waitForCompletion -maketargetsxml $ORACLE_HOME/inventory/make/makeorder.xml -logDir $ORACLE_HOME/install ORACLE_HOME=$ORACLE_HOME > $ORACLE_HOME/install/relink.log 2>&1

拋出的錯誤在log日誌中

INFO: ld.so.1: skgxpinfo: fatal: libons.so: open failed: No such file or directory

原因:

在當前的UNIX shell中沒有設定"LD_LIBRARY_PATH" 變數

解決方案:
1. 使用正確的值設定環境變數LD_LIBRARY_PATH

  比如:export LD_LIBRARY_PATH=$ORACLE_HOME/lib

2. 重新運行relink

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.