sqlplus 啟動報錯

e71hao發表於2017-08-10
1.sp2-0667 :message file sp1<lang>
解答:設定環境變數path ORACLE_HOME
2../sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory
解答:設定環境變數LD_LIBRARY_PATH
3../sqlplus: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
解答:沒有安裝libaio.rpm包


全部解決
ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/112/baza
ORACLE_SID=ORA11GR2
LD_LIBRARY_PATH=$ORACLE_HOME/baza/software/lib
PATH=$PATH:/usr/local/bin:$ORACLE_HOME/baza/software/bin


export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30393770/viewspace-2143355/,如需轉載,請註明出處,否則將追究法律責任。

相關文章