- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Oracle ENvironment variables
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 12:01 AM
тАО06-03-2004 12:01 AM
Also , there are other Oracle env variables like ORACRT(which echoes value wy120) and ORALIST( which echoes my home directory). How can I find out where it is set. It is not under my .profile. How can I set this for users on the new server to get their respective terminal types, login names etc. Many Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 12:11 AM
тАО06-03-2004 12:11 AM
SolutionYour current scripts for setting them will probably work with little modification.
terminal types and such have not really evolved, so the users .profile can probably be copied, at least the relavent sections. If there is an oracle section of /etc/profile, copy it.
Oracles database doc is very explicit, at least on the subject of environment variables. I also recommend checking the OS patch list and kernel modifications required at http://technet.oracle.com or http://metalink.oracle.com
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 12:14 AM
тАО06-03-2004 12:14 AM
Re: Oracle ENvironment variables
Copy your /etc/profile to the new machine. Carefully check your home .profile and /etc/profile, making sure they aren't "sourcing" other profiles. If they are then they also need to be copied to the "new" machine.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 12:25 AM
тАО06-03-2004 12:25 AM
Re: Oracle ENvironment variables
So if you have multiple env file, you'll have to maintain all by hand.
=> If you have only version of Oracle and not you don't plan to add another, and if you have only one instance, all users can source a unique file.
Put all the environnnement variable in a file (ex :/var/opt/oracle/env_ora.sh ) and source it in /etc/profile.
=> Normaly, this is not was is done because there might be multiple Oracle installation and because if there's various instances, you need to set the ORACLE_SID variable accordingly.
Classics Oracle variables :
ORACLE_HOME
ORACLE_SID
TNS_ADMIN
NLS_...
Don't forget also to add all needed to the path and library path, if not, you'll have some error messages.
Cheers
Nicolas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 12:25 AM
тАО06-03-2004 12:25 AM
Re: Oracle ENvironment variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 02:34 AM
тАО06-03-2004 02:34 AM
Re: Oracle ENvironment variables
You'll find a lot of information on this on the net.
Cheers
Nicolas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2004 04:09 PM
тАО06-03-2004 04:09 PM
Re: Oracle ENvironment variables
As others mentioned, environment variables for the user that installs the oracle RDBMS which would be (Oracle belonging to dba group) and the other users that access the oracle databases are
ORACLE_BASE
ORACLE_HOME
ORACLE_SID
TNS_ADMIN
PATH
TERM
ORACLE_OWNER
ORACLE_PATH
TWO_TASK
NLS_
. oraenv and .coraenv utilities,
Also check if there were variables to define the location of the parameter file (init
And for the users check if LD_LIBRARY_PATH or SHLIB_PATH is set.
To get their respective terminal types, login names, you can define the PS1 int eh individual user profiles like
PS1=`echo ${LOGNAME}`:'$PWD:($ORACLE_SID)>'
Where you get the logname, from UNIX variable LOGNAME, terminal from TERM
And verify your "INSTALLATION AND CONFIGURATION GUIDE" for each product full description and list of variables.
Attached is a document that details about the Oracle and UNIX environemtn variables that are required.
Indira A