Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

oozie ssh-action execute command failed

avatar
Contributor

my 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.

1 ACCEPTED SOLUTION

avatar
Contributor

hello.everyone.  the first step in ssh-action is "source /home/oracle/bash_profile",and then you can run oracle command. thanks

View solution in original post

2 REPLIES 2

avatar
Super Collaborator

This looks like it is a duplicate of what I already answered in: this thread

avatar
Contributor

hello.everyone.  the first step in ssh-action is "source /home/oracle/bash_profile",and then you can run oracle command. thanks