Home » Infrastructure » Linux » How to start sqlplus in Linux
icon4.gif  How to start sqlplus in Linux [message #180985] Thu, 06 July 2006 03:10 Go to next message
sinpal
Messages: 7
Registered: August 2005
Location: India
Junior Member
Hi, I have successfully installed Oracle 9i on Red Hat Linux 9. After installing my system crash because of power failure.

when I login to oracle as

# su - oracle - it gives me
-bash-2.xx $ - now when i type
$ sqlplus - it gives me
bash:sqlplus: - comand not found

Now tell me how to start SQLPLUS and other tools like DBCA, OEM
Re: How to start sqlplus in Linux [message #181041 is a reply to message #180985] Thu, 06 July 2006 08:18 Go to previous messageGo to next message
tarundua
Messages: 1072
Registered: June 2005
Location: India
Senior Member


Check the value for PATH and ORACLE_HOME. Are they set correctly??
Re: How to start sqlplus in Linux [message #181356 is a reply to message #180985] Sun, 09 July 2006 02:58 Go to previous messageGo to next message
sinpal
Messages: 7
Registered: August 2005
Location: India
Junior Member
Yes, they were not set. Thanks.

But, everytime when I login as user oracle, i have to set these env variables. I know that i can set these variables in a profile file, but where is that file located.
Re: How to start sqlplus in Linux [message #181357 is a reply to message #181356] Sun, 09 July 2006 03:18 Go to previous messageGo to next message
tarundua
Messages: 1072
Registered: June 2005
Location: India
Senior Member

1. Login as Oracle user

2. Go to the home directory if not there
$cd $HOME


3. Use the following command
$ls -la

This will list the hidden files and a .profile file also.

4. Edit that file , save it, log off and log in again.

Note: Read some proper installation document so that you don't face this trouble further..
Re: How to start sqlplus in Linux [message #181361 is a reply to message #181357] Sun, 09 July 2006 03:35 Go to previous messageGo to next message
sinpal
Messages: 7
Registered: August 2005
Location: India
Junior Member
Thanks again.
Re: How to start sqlplus in Linux [message #201998 is a reply to message #180985] Tue, 07 November 2006 14:58 Go to previous messageGo to next message
sssss
Messages: 9
Registered: November 2006
Junior Member
hi Sinpal

can you please give me the 9i version to install on oracle RHEL as i had the same problem. and couldnt fix it.

or, if you can send me the steps from whr u found problem n solution, in installation.

Thanks for your help
Re: How to start sqlplus in Linux [message #203146 is a reply to message #201998] Tue, 14 November 2006 01:42 Go to previous message
sinpal
Messages: 7
Registered: August 2005
Location: India
Junior Member
You can download oracle setup for Linux from oracle site.
Check out the link below for complete installations, problems and solution steps.

http://www.puschitz.com
Previous Topic: Taking Backup After 15 minutes
Next Topic: setup on suse
Goto Forum:
  


Current Time: Wed Apr 23 18:03:19 CDT 2014

Total time taken to generate the page: 0.13316 seconds