running the script
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: running the script

  1. #1
    Join Date
    Nov 2002
    Posts
    5

    running the script

    stecal,
    I'm not sure how to execute your script. Do just need to change the SIDs and the paths and run the script. Can you be a little more specific on how I ge the script to run.

  2. #2
    Join Date
    Nov 2000
    Location
    Pittsburgh, PA
    Posts
    3,999
    When I run the script I type ". oraenv" and press enter. I will then be prompted for the sid. I will type in the sid that I want to connect to and then my environment will be changed to that sid. We use it in a multi-homed system. I'm not 100% sure how it will work on your system. But you can do a sqlplus system/manager press enter and then type select * from global_name to verify that you are where you should be.

  3. #3
    Join Date
    Nov 2001
    Posts
    335
    After you install oracle your oraenv script should be located in /usr/local/bin/oraenv. Verify that that is the case and make sure that /usr/local/bin/oraenv is inluded in the path.
    Also make sure that oratab file normally located in /etc has entries
    for all databases with properly set oracle_home:

    type . oraenv and you will be prompt to enter ORACLE_SID if you set
    ORAENV_ASK to "YES"
    One, who thinks that the other one who thinks that know and does not know, does not know either!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width