1

I am using sqlplus-script-runner plugin to run my sql command at remote server as my screenshot, but I got error:

ERROR: ORACLE_HOME directory [10.53.253.161:1521/u01/app/oracle/product/12.1.0/dbhome_1] does not exist!

Do you know how to config Oracle_home of remote db ? enter image description here

2 Answers 2

3

I found the answer: Oracle_home is oracle path on my local machine andenter image description here include the remote ip on the instance

Sign up to request clarification or add additional context in comments.

Comments

-1

Try changing your url to 10.53.253.161:1521/u01/app/oracle/product/12.1.0

Does Jenkins user have visibility to that folder?

5 Comments

I still get error. I can access db using pls sql developer with tnsname as below (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.53.253.161)(PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = test12cp1) ) )
I can access ftp to that path, too
Is ORACLE_HOME variable setted on remote computer?
yes, at server 10.53.253.161, ORACLE_HOME is set to /u01/app/oracle/product/12.1.0/dbhome_1
I tried to change instance to " (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.53.253.161)(PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = test12cp1) ) )", but still got the same error

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.