- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to set 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
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
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
тАО04-02-2009 09:46 PM
тАО04-02-2009 09:46 PM
how to set oracle environment variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2009 09:53 PM
тАО04-02-2009 09:53 PM
Re: how to set oracle environment variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2009 10:24 PM
тАО04-02-2009 10:24 PM
Re: how to set oracle environment variables
Error 6 initializing SQL*Plus
Message file sp1
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
Does any one know?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2009 10:34 PM
тАО04-02-2009 10:34 PM
Re: how to set oracle environment variables
Copy oracle user's .profile from other server into this server and edit as per required.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2009 10:46 PM
тАО04-02-2009 10:46 PM
Re: how to set oracle environment variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2009 11:13 PM
тАО04-02-2009 11:13 PM
Re: how to set oracle environment variables
2 prerequisites:
1) to use . oraenv
oraenv should be located in your /usr/local/bin
2) To use /etc/oratab
P01:/usr/oracle/product/10.2:Y
then login as your oracle user and run
create and run you source file:
so vi ora_env.src
PATH=/usr/local/bin:$PATH
export PATH
ORACLE_SID=P01
ORAENV_ASK=NO
export ORACLE_SID ORAENV_ASK
. oreanv
ORAENV_ASK=YES
print -u1 "Your env is $ORACLE_HOME for $ORACLE_SID"
:wq!
# . ora_env
(so the dot and the space after it are deliberate, this inserts the variables in your current session)
If you need more help let us know,
F.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 12:19 AM
тАО04-03-2009 12:19 AM
Re: how to set oracle environment variables
you need to set these environmental variables with the unix user's profile file.
It should be .profile if you are using sh or ksh.
It should contain,
ORACLE_HOME=<...>
ORACLE_SID=<...>
NLS_LANG=<...>
PATH=$PATH:$ORACLE_HOME/bin
etc..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2009 11:20 PM
тАО04-03-2009 11:20 PM
Re: how to set oracle environment variables
You can check below link as follows,
http://www.dba-oracle.com/t_environment_variables_linux_unix.htm
http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.ii.doc/opt/tlsorc13.htm
RGds//
Taifur