12 Replies Latest reply on Jul 2, 2013 4:38 PM by Hussein Sawwan-Oracle

    R12.1.3 - clone issues now after DB upgrade to 11gr2


      R12.1.3 on RH Linux x86_64.

      Upgraded the dB from to over the weekend and now trying to do rapid clone and having some challenges.

      1. adcfgclone.pl dbTechStack

      First issue was after refreshing dbTier files and running "perl adcfgclone.pl dbTechStack".

      RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack

      Errors about perl 5.10 vs 5.8 or something

      o Ended up being because the $Oracle_Home/appsutil/jre directory didn't exist.

      o Which still needs to be sorted out in Prod but for now I just copied it from Test.

      o Then "export PATH=/app/oracle/ebsd/db/tech_st/11.2.0/perl/bin/:$PATH" to make it use new perl version.

      Edit:  This thread seems to be very similar but I still don't see the jre step that I missed that he refers to here.



      I did re-run "How To Recreate the /appsutil/scripts/ directory [ID 377495.1]" but I see now that just creates the scripts directory and not my missing jre.

      I do have it on a Test instance I upgraded some time ago.  Can I just copy from there?



      2. Then I used rman to refresh my database. This step worked ok.


      3. adcfgclone.pl dbTier

      Now trying to run this step and first issue is:

      RC-20200: Fatal: Could not find Unzip. At this time only Native UnZip 5.X is supported.

      Please make sure you have UnZip 5.X in your path and try again...

      I see some others pots on this but I can't apply patch yet so just modify PATH to use Linux unzip vs unzip 6 in $Oracle_Home.


      Now I get:

      RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack


      If I check the log file at the end I see this:

      [AutoConfig Error Report]

      The following report lists errors AutoConfig encountered during each

      phase of its execution.  Errors are grouped by directory and phase.

      The report format is:

            <filename>  <phase>  <return code where appropriate>



        AutoConfig could not successfully instantiate the following files:

          Directory: /app/oracle/ebsd/db/tech_st/11.2.0/appsutil/install/EBSD_db6t

            adcrdb.sh               INSTE8


      AutoConfig is exiting with status 1


      RC-50014: Fatal: Execution of AutoConfig was failed

      Raised by oracle.apps.ad.clone.ApplyDBTechStack


      One thing I do notice is when providing my responses it is suggesting my Dev Oracle_Home with the old 11.1.0 path instead of the path for my Prod server and the 11.2.0 directory.

      Also the display is already set to my Test server while it should be making me change it from Prod.

      Is that clear?  Something is not right here... (obviously)