- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sqlplus:command not found-------- help :(
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
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
тАО06-19-2008 04:01 AM
тАО06-19-2008 04:01 AM
I instaleld the Oracle 9i in our HP UX yesterday, and tried to run the command sqlplus, but i got this error
$ sqlplus
sh: sqlplus: not found.
the path
$ echo $PATH
/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/ipf/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/fcms/bin:/usr/bin/X11:/opt/resmon/bin:/usr/contrib/kwdb/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/graphics/common/bin:/usr/sbin/diag/contrib:/opt/sfm/bin:/opt/upgrade/bin:/opt/sec_mgmt/bastille/bin:/opt/dsau/bin:/opt/dsau/sbin:/opt/firefox:/opt/gnome/bin:/opt/mozilla:/opt/perl/bin:/opt/sec_mgmt/spc/bin:/opt/ssh/bin:/opt/hpsmh/bin:/opt/thunderbird:/opt/gwlm/bin:/usr/contrib/bin/X11:/opt/ignite/bin:/opt/swa/bin
$ echo $ORACLE_HOME
and the environment,
$ env | grep -i oracle
LOGNAME=oracle
HOME=/home/oracle
during installation, i set the ORACLE_HOME variable in /opt/oracle...
Please, any one help ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 04:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 04:19 AM
тАО06-19-2008 04:19 AM
Re: sqlplus:command not found-------- help :(
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 04:21 AM
тАО06-19-2008 04:21 AM
Re: sqlplus:command not found-------- help :(
i run the ./sqlplus in bin...but it prompt for the username and password ? i didnt set it yet thought..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 04:22 AM
тАО06-19-2008 04:22 AM
Re: sqlplus:command not found-------- help :(
sorry, i just learn oracle 2 days ago :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 04:26 AM
тАО06-19-2008 04:26 AM
Re: sqlplus:command not found-------- help :(
but when i issue STARTUP
it prompt up sltln:environment variable cannot be evaluated..
do i need to set the environment var ? how to do that ? pls someone teach me :D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 04:27 AM
тАО06-19-2008 04:27 AM
Re: sqlplus:command not found-------- help :(
A closer look at the ORACLE installation guide would have avoided some of this.
It tells you about the PATH and what variables need to be set to make sqlplus work correctly.
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-19-2008 05:05 AM
тАО06-19-2008 05:05 AM
Re: sqlplus:command not found-------- help :(
$ ./oraenv
ORACLE_SID = [oracle] ? CG
./oraenv[65]: dbhome: not found.
ORACLE_HOME = [] ? /opt/oracle
./oraenv[104]: Syntax error at line 104 :
and when i do the db startup,
Connected.
SQL> STARTUP
ORA-07217: sltln: environment variable cannot be evaluated.
help :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 09:41 AM
тАО06-19-2008 09:41 AM
Re: sqlplus:command not found-------- help :(
try the following:
export ORACLE_HOME=/
export PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_SID=
then try to run your sqlplus commands.
what do you get now? what other environment variable have you set?
revert!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2008 10:31 AM
тАО06-19-2008 10:31 AM
Re: sqlplus:command not found-------- help :(
i cant access to the server right now..
but if the command is working, where should i add the command ? which file ?
sorry for those question, i just starting to learn oracle 2 days ago :D