Unix/Linux Go Back    


UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics.

Problem on SQLplus command ""bash: sqlplus: command not found""

UNIX and Linux Applications


Tags
solved

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 03-07-2015
clerck clerck is offline
Registered User
 
Join Date: Mar 2015
Last Activity: 12 March 2015, 9:04 AM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Problem on SQLplus command ""bash: sqlplus: command not found""

Hi all,
i face an error related to my server ""it's running server"" when i use sqlplus command

Code:
[oracle@srv1 bin]$ sqlplus
bash: sqlplus: command not found

the data base is up and running i just need to access the sqlplus to import the dump file as a daily backup.

i already check the directory '/u01/app/oracle/product/11.2.0/db_1/bin' and test sqlplus but the same error exist

appreciate any help

Thanks in advanced

---------- Post updated at 06:36 AM ---------- Previous update was at 06:35 AM ----------

also i try to change the permission 777 for sqlplus

Last edited by vbe; 03-07-2015 at 09:37 AM.. Reason: code tags
Sponsored Links
    #2  
Old Unix and Linux 03-07-2015
vbe's Unix or Linux Image
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 19 September 2017, 3:05 PM EDT
Location: Switzerland - GE
Posts: 6,453
Thanks: 283
Thanked 549 Times in 511 Posts
Well not found is quite clear...
Whatever shell you use typiing
Code:
which sqlplus

should return the path of where the shell found the command/program...
If not there then you have to add the path to the command to your $PATH variable
Sponsored Links
    #3  
Old Unix and Linux 03-11-2015
clerck clerck is offline
Registered User
 
Join Date: Mar 2015
Last Activity: 12 March 2015, 9:04 AM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
thanks the problem solved after add the path to $PATH
    #4  
Old Unix and Linux 03-11-2015
vbe's Unix or Linux Image
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 19 September 2017, 3:05 PM EDT
Location: Switzerland - GE
Posts: 6,453
Thanks: 283
Thanked 549 Times in 511 Posts
Thanks in keeping us up to date!
Sponsored Links
    #5  
Old Unix and Linux 04-15-2015
Scott's Unix or Linux Image
Scott Scott is offline Forum Staff  
Administrator
 
Join Date: Jun 2009
Last Activity: 18 September 2017, 4:38 AM EDT
Location: Zürich
Posts: 8,627
Thanks: 347
Thanked 1,111 Times in 959 Posts
I'm not sure that just setting the path is the right way. Oracle has a script you should source to set the right environment for the instance you're connecting to.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Using "mailx" command to read "to" and "cc" email addreses from input file asjaiswal UNIX for Dummies Questions & Answers 2 10-11-2014 09:32 PM
"Command not found" doing a while loop in bash/shell phpchick Shell Programming and Scripting 3 02-25-2013 03:31 PM
awk command to replace ";" with "|" and ""|" at diferent places in line of file shis100 Shell Programming and Scripting 7 03-16-2011 08:59 AM
How to distinguish between "command not found" and "command with no result" iitmadhu Shell Programming and Scripting 5 08-31-2009 05:59 AM



All times are GMT -4. The time now is 03:00 AM.