Created on 12-19-2017 06:43 PM - edited 09-16-2022 05:39 AM
my oozie ssh-action problem is that, run "ls" or"pwd" or "mkdir dirtest" or "java -version" with ssh action is successful. but, when i run "sqlplus","sqlplus user/pass","sqlplus user/pass@localhost/pdb1 @test.sql " is failed and there is not any useful log in "log" tab or "oozie-oozie" directory. and you know i want execute some oracle sql statement bu oozie ssh action. thank you very much.
Created 12-30-2017 06:06 PM
hello.
the cause of this probelm is ENV variable. so,executing 'source /home/oracle/bash_profile' before any shell.
Created 12-19-2017 10:34 PM
hello . i find in the log "oozie-oozi/0000085-171216193057252-oozie-oozi-W/ssh-10af--ssh/ssh-wrapper.sh: line 49: sqlplus: command not found" ---sqlplus: command not found
but sqlplus command is executed successfully on the local machine by user oracle . ...........what can i do ?
Created 12-30-2017 06:06 PM
hello.
the cause of this probelm is ENV variable. so,executing 'source /home/oracle/bash_profile' before any shell.