Home » Infrastructure » Unix » oraenv script prompts for values when ORAENV_ASK set to no
oraenv script prompts for values when ORAENV_ASK set to no [message #629126] Wed, 03 December 2014 10:56 Go to previous message
11gOP
Messages: 18
Registered: November 2014
Junior Member
When I put a reference to the oraenv script in a user's profile script the user gets prompted for a SID and ORACLE_HOME every time even when I set these before calling the script and set ORAENV_ASK=NO.

Here are the lines I've added:

export ORACLE_HOME=/opt/oracle/app/oracle/product/11.2.0/dbhome_1/
export PATH=$PATH:$ORACLE_HOME/bin
export ORAENV_ASK=NO
export ORACLE_SID=DB1
. /usr/local/bin/oraenv


What am I missing here?

[Updated on: Wed, 03 December 2014 10:57]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: setting passwords for configuration assistant accounts
Next Topic: Send file in the email attachment using shell script
Goto Forum:
  


Current Time: Fri Apr 26 00:25:19 CDT 2024