How to correctly set the ORACLE_HOME variable on Ubuntu 9.x?

后端 未结 9 1903
春和景丽
春和景丽 2020-12-23 13:34

I have the same problem as listed here: How to recover or change Oracle sysdba password although I did not lose the password, I entered it twice in the configure script orig

9条回答
  •  执笔经年
    2020-12-23 14:10

    Usually the msb file not found problems are the result of an environment setting problem, but in your case I'm a little suspicious of the installation (I've never used the apt-get + configure method).

    To check the sanity of the installation:

    • ORACLE_HOME should be set to a directory path one level above the bin directory where sqlplus executable is found.
    • There should some .msb files under $ORACLE_HOME/sqlplus/mesg
    • There should be hundreds (not sure of the number with XE) of .msb files under $ORACLE_HOME (try find $ORACLE_HOME -name "*.msb" -print to show them)
    • Your PATH should include $ORACLE_HOME/bin.
    • All files under ORACLE_HOME should be owned by user:oracle group:dba.

提交回复
热议问题