9 Replies Latest reply: May 30, 2013 6:44 AM by EdStevens RSS

    hi, i have problem in setting environment

    974427
      i did installation of 11g R2 on OEL5, have set bash profile also, but there seems to be some problem which i am not able to find out... help me to figure it out and solve it..

      [oracle@localhost ~]$ vi .bash_profile
      [oracle@localhost ~]$ . .bash_profile
      [oracle@localhost ~]$ . oraenv
      ORACLE_SID = [oracle] ?
      ORACLE_HOME = [home/oracle] ?
      ORACLE_BASE environment variable is not being set since this
      information is not available for the current user ID oracle.
      You can set ORACLE_BASE manually if it is required.
      [oracle@localhost ~]$ sqlplus / as sysdba
      bash: sqlplus: command not found
      [oracle@localhost ~]$ . oraenv
      ORACLE_SID = [oracle] ?
      ORACLE_HOME = [home/oracle] ? /u01/home/oracle
      ORACLE_BASE environment variable is not being set since this
      information is not available for the current user ID oracle.
      You can set ORACLE_BASE manually if it is required.

      my bash profile is as below
      NOTE: oracle base was set by me, manually after installing 11g R2

      export PATH
      export ORACLE_BASE=/u01/app/
      export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
      export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
      export PATH=$ORACLE_HOME/bin:$PATH