sqlplus "command not found" connecting with ssh



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@host script.sh
The script only connects sqlplus (sqlplus user@pass/DB_SID)
And I get the followin message:
bash: sqlplus: command not found


Any ideas?

Thanks a lot

.



Relevant Pages

  • Re: sqlplus "command not found" connecting with ssh
    ... I'm trying to execute an script which uses sqlplus from a remote ssh ... The script runs ok executing it from the server. ...
    (comp.security.ssh)
  • Re: sqlplus "command not found" connecting with ssh
    ... I'm trying to execute an script which uses sqlplus from a remote ssh ... The script runs ok executing it from the server. ...
    (comp.security.ssh)
  • Jumpstart: syntax error and trying to load from /cdrom media, which disk to use for Solaris 8 image
    ... I'm not sure if I need to use that disk or the Solaris 8 Installation ... Using RPC Bootparams for network configuration information. ... Using finish script: diag_drv.fin ... Executing JumpStart preinstall phase... ...
    (SunManagers)
  • Re: understanding lambda
    ... All functions in the script are created when the script is parsed. ... A lambda function is created when the script is executing - and is not created unless that statement is executed. ... a new solid -- say, a cylinder, I would take two steps: ...
    (alt.php)
  • QUESTION: shared libraries
    ... how would I create a package easy-to-install for a new user? ... we could use a script to install the package. ... I have seen some scripts executing from a ... Gouvernement du Canada / Government of Canada ...
    (comp.os.linux.development.apps)