Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: sqlplus "command not found" connecting with ssh

Re: sqlplus "command not found" connecting with ssh

From: sybrandb <sybrandb_at_gmail.com>
Date: 11 Dec 2006 04:47:54 -0800
Message-ID: <1165841274.611975.163120@j44g2000cwa.googlegroups.com>

_mamarin_ wrote:
> Hi you all,
>
> I'm trying to execute an script which uses sqlplus from a remote ssh
> client.
> The script runs ok executing it from the server.
>
> I'm executing the following line: ssh user_at_host script.sh
> The script only connects sqlplus (sqlplus user_at_pass/DB_SID)
> And I get the followin message:
> bash: sqlplus: command not found
>
>
> Any ideas?
>
> Thanks a lot

Usually logging in using rsh, ssh, rexec or similar tools, doesn't execute .profile

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Mon Dec 11 2006 - 06:47:54 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US