Saturday, January 23, 2021

adcfgclone dbTechStack failing with ouicli.pl INSTE8_APPLY 1

 Dear Folks,

Recently, we have came across issue while configuring database ( 12.1.0.2) and failing with below error.

  [APPLY PHASE]

  AutoConfig could not successfully execute the following scripts:

 Directory: /u01/app/oraki/kTAAI/db/tech_st/12.1.0.2/perl/bin/perl -I /u01/app/oraki/kTAAI/db/tech_st/12.1.0.2/perl/lib/5.14.1 -I /u01/app/oraki/kTAAI/db/tech_st/12.1.0.2/perl/lib/site_perl/5.14.1 -I /u01/app/oraki/kTAAI/db/tech_st/12.1.0.2/appsutil/perl /u01/app/oraki/kTAAI/db/tech_st/12.1.0.2/appsutil/clone

 ouicli.pl               INSTE8_APPLY       1

AutoConfig is exiting with status 1

WARNING: RC-50013: Fatal: Instantiate driver did not complete successfully.

/u01/app/oraki/kTAAI/db/tech_st/12.1.0.2/appsutil/driver/regclone.drv

1)

Checked if jre folder doesn't exist under $ORACLE_HOME/appsutil  and found it was there.

/u01/app/oraki/kTAAI/db/tech_st/12.1.0.2/appsutil/jre/bin/java

Able to get java -version output 

java version "1.7.0_45"
OpenJDK Runtime Environment (rhel-2.4.3.3.el6-x86_64 u45-b15)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)

So this case doesn't suit for this issue 

2) Exported below env varaible and ran adcfg clone. But we got same issue.

export PATH=$ORACLE_HOME/perl/bin:$PATH

============

Finally, have found DB home already registered in inventory.xml file.

Hence, we have moved file and ran adcfgclone and completed successfully.

Thanks.