The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 02-12-2002
thehoghunter
Guest
 

Posts: n/a
First thing - if you have those asterisks in the file they will cause a problem.

Second - you don't export the ORACLE_SID=avoora2.

Third - it worked fine when I added it to my /etc/profile ( I only tested the following lines:
#########################
MAIL=/usr/mail/${LOGNAME:?}
ORACLE_HOME=/scratch/oracle/8.1.7
export ORACLE_HOME

ORACLE_SID=avoora2

JAVA_HOME=/usr/j2se
export JAVA_HOME

LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ORACLE_HOME}/lib
export LD_LIBRARY_PATH

TNS_NAMES=${ORACLE_HOME}/network/admin
export TNS_NAMES


What is the shell and userid that you are testing?
Reply With Quote