- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How can I run sqlplus on HP-UX console
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
тАО05-28-2003 07:24 AM
тАО05-28-2003 07:24 AM
1. login as root
2.change path to the oracle/bin directory
3.su oracle
4.enter sqlplus
But I get the response as;
sh: sqlplus : not found
How can I run sqlplus on HP-UX console.
Thankes
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 07:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 07:28 AM
тАО05-28-2003 07:28 AM
Re: How can I run sqlplus on HP-UX console
su - oracle
and then try sqlplus.
If that doesn't do it, enter the full path name:
/oracle/bin/sqlplus (or wherever it's located).
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 07:28 AM
тАО05-28-2003 07:28 AM
Re: How can I run sqlplus on HP-UX console
1. login as root
2. su - oracle
3.change path to the oracle/bin directory
4.enter ./sqlplus
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 07:30 AM
тАО05-28-2003 07:30 AM
Re: How can I run sqlplus on HP-UX console
Adding the - to the su will cause the .profile to get read.
# su - oracle
$ sqlplus
Otherwise (without the - in the su command)
# su oracle
$ cd /path/to/oracle/bin
$ ./sqlplus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 07:38 AM
тАО05-28-2003 07:38 AM
Re: How can I run sqlplus on HP-UX console
other have answered on how to do sqlplus start from oracle user.
But if you want to start it as root,
do the following:
- export ORACLE_HOME=...
- export ORACLE_SID=..
- export PATH=$PATH:$ORACLE_HOME/bin
now you will be able to run sqlplus, but without internal or /, toy should use normal system/password sintax.
If you use system/password@SID and you cannot find the SID, check ownership and perms of
$ORACLE_HOME/network/admin/*.ora files and /etc/*.ora files .
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 09:15 AM
тАО05-28-2003 09:15 AM
Re: How can I run sqlplus on HP-UX console
I get in sqlplus by,
#su - oracle
$sqlplus
Or
# su oracle
$ cd /path/to/oracle/bin
$ ./sqlplus
thank youa again
Dong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 09:17 AM
тАО05-28-2003 09:17 AM
Re: How can I run sqlplus on HP-UX console
login as root,
# su - oracle c "sqlplus"
or
# su - oracle c "sqlplus /nolog"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 12:09 PM
тАО05-28-2003 12:09 PM
Re: How can I run sqlplus on HP-UX console
If for example you use sqlplus to start the database as root, the shared memory areas could be inaccessible to regular users.
What you are proposing is okay, but its not exactly the same as a native oracle login.
Another possible other problem is the TERM variable, which sqlplus might not like.
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
тАО05-28-2003 10:26 PM
тАО05-28-2003 10:26 PM
Re: How can I run sqlplus on HP-UX console
i don't understand why you cannot login as the oracle user itself on the HP-UX console?
please revert.
regards
Yogeeraj