sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory

前端 未结 12 1121
忘掉有多难
忘掉有多难 2021-02-04 02:57

Please suggest a solution for solving this issue?? While giving the command:

sqlplus /nolog

the error that occurred:

 sqlplus:          


        
12条回答
  •  孤城傲影
    2021-02-04 03:35

    PERMISSIONS: I want to stress the importance of permissions for "sqlplus".

    1. For any "Other" UNIX user other than the Owner/Group to be able to run sqlplus and access an ORACLE database , read/execute permissions are required (rx) for these 4 directories :

      $ORACLE_HOME/bin , $ORACLE_HOME/lib, $ORACLE_HOME/oracore, $ORACLE_HOME/sqlplus

    2. Environment. Set those properly:

      A. ORACLE_HOME (example: ORACLE_HOME=/u01/app/oranpgm/product/12.1.0/PRMNRDEV/)

      B. LD_LIBRARY_PATH (example: ORACLE_HOME=/u01/app/oranpgm/product/12.1.0/PRMNRDEV/lib)

      C. ORACLE_SID

      D. PATH

       export PATH="$ORACLE_HOME/bin:$PATH"
      

提交回复
热议问题