3 Replies Latest reply on Mar 6, 2016 2:15 AM by Narsi M-Oracle

    RC-00118

    2907350

      EBSR12.2.4

      Oracle Linux 6.5

      Oracle Database 11gR2

       

      Hello,

       

      when running adcfgclone.pl on dbTier, I am getting the error below:

       

       

          Connection could not be obtained; returning null

       

       

      -------------------ADX Database Utility Finished---------------

       

       

      WARNING: RC-00118: Error occurred during creation of database

      Raised by oracle.apps.ad.clone.ApplyDatabase

       

       

       

       

      StackTrace:

      java.lang.Exception: Control file creation failed

        at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyDatabase.java:658)

        at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDatabase.java:493)

        at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:384)

        at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:116)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

        at oracle.apps.ad.clone.util.CloneProcessor.run(Unknown Source)

        at java.lang.Thread.run(Thread.java:724)

       

      Rgds,

      Roshan

        • 1. Re: RC-00118
          VishnuVinnakota

          Please upload the entire log or the exact error. This shows only that the control file creation failed but there is no reason in the data you provided...

           

          What backup are you using? Cold backup only I believe?

          • 2. Re: RC-00118
            2907350

            Hi,

             

            I exported export ORACLE_SID=PREPROD, export ORACLE_HOME=/u01/oracle/PREPROD/db/11.2.0, 

            export PATH=/u01/oracle/PREPROD/db/11.2.0/bin/:/u01/oracle/PREPROD/db/11.2.0/OPatch/:$PATH

            export LD_LIBRARY_PATH=/u01/oracle/PREPROD/db/11.2.0/lib/

            I cannot attach it. Please find below:

             

            #############################################################

            Started ApplyDBTier at Sat Mar 05 12:14:15 MUT 2016

            Version:

              ApplyDBTier.java : 120.11.12020000.3

            #############################################################

            ApplyDBTier (prog) -1 true true true...

             

             

            START: Calling ApplyDBTechStack...

             

             

            START: ApplyDBTechStack Completed Successfully.

             

             

             

             

            START: Executing runInstallDriver...

             

             

            START: Started unzipping files...

             

             

            END: Unzipped files.

             

             

            START: Validate context.

             

             

             

             

            END: Validate context.

             

             

             

             

            END: Completed runInstallDriver.

             

             

             

             

            Executing home registration for s_db_oh...

            Determining Source system database type ("single" or "rac").

            Source system indentified as being of type "single"!

             

             

            instantiate file:

               source : /u01/oracle/PREPROD/db/11.2.0/appsutil/template/adouidb.pl

               dest   : /u01/oracle/PREPROD/db/11.2.0/appsutil/clone/ouicli.pl

               backup : /u01/oracle/PREPROD/db/11.2.0/appsutil/clone/ouicli.pl to /u01/oracle/PREPROD/db/11.2.0/appsutil/out/ouicli8.pl

               setting permissions: 700

               setting ownership: oratest:oinstall

             

             

            instantiate file:

               source : /u01/oracle/PREPROD/db/11.2.0/appsutil/template/config_ux.tmp

               dest   : /u01/oracle/PREPROD/db/11.2.0/rdbms/lib/config.c

               backup : /u01/oracle/PREPROD/db/11.2.0/rdbms/lib/config.c to /u01/oracle/PREPROD/db/11.2.0/appsutil/out/config9.c

               setting permissions: 700

               setting ownership: oratest:oinstall

             

             

            instantiate file:

               source : /u01/oracle/PREPROD/db/11.2.0/appsutil/template/adlnkoh.sh

               dest   : /u01/oracle/PREPROD/db/11.2.0/appsutil/clone/adlnkoh.sh

               backup : /u01/oracle/PREPROD/db/11.2.0/appsutil/clone/adlnkoh.sh to /u01/oracle/PREPROD/db/11.2.0/appsutil/out/adlnkoh8.sh

               setting permissions: 700

               setting ownership: oratest:oinstall

             

             

            Executing script in InstantiateFile:

            /u01/oracle/PREPROD/db/11.2.0/perl/bin/perl -I /u01/oracle/PREPROD/db/11.2.0/perl/lib/5.10.0 -I /u01/oracle/PREPROD/db/11.2.0/perl/lib/site_perl/5.10.0 -I /u01/oracle/PREPROD/db/11.2.0/appsutil/perl /u01/oracle/PREPROD/db/11.2.0/appsutil/clone/ouicli.pl

             

             

            script returned:

            ****************************************************

            Beginning OUI CLI cloning for s_db_ohSat Mar  5 12:14:17 2016

            /u01/oracle/PREPROD/db/11.2.0/appsutil/jre/bin/java -classpath /u01/oracle/PREPROD/db/11.2.0/appsutil/java:/u01/oracle/PREPROD/db/11.2.0/oui/jlib/OraInstaller.jar:/u01/oracle/PREPROD/db/11.2.0/appsutil/java/xmlparserv2.jar  oracle.apps.ad.clone.util.OracleHomeCloner  -OUICLI -e /u01/oracle/PREPROD/db/11.2.0/appsutil/PREPROD_erppreprod01.xml -nolink -oaVar s_db_oh -homestub db -log /u01/oracle/PREPROD/db/11.2.0/appsutil/log/PREPROD_erppreprod01/ohclone.log

            Running OUI CLI home cloning from within OracleHomeCloner:

              /u01/oracle/PREPROD/db/11.2.0/oui/bin/runInstaller  -clone -silent -waitForCompletion -invPtrLoc /u01/oracle/PREPROD/db/11.2.0/admin/oui/PREPROD_erppreprod01/oraInst.loc ORACLE_HOME=/u01/oracle/PREPROD/db/11.2.0 ORACLE_BASE=/u01/oracle/PREPROD/db/11.2.0 ORACLE_HOME_NAME=PREPROD_DB__u01_oracle_PREPROD_db_11_2_0 oracle_install_OSDBA=oinstall oracle_install_OSOPER=oinstall -noConfig -nowait

            Finished OUI CLI cloning for s_db_oh with return code: 1Sat Mar  5 12:14:24 2016

             

             

            .end std out.

             

             

            .end err out.

            ****************************************************

             

             

             

             

            Executing script in InstantiateFile:

            /u01/oracle/PREPROD/db/11.2.0/appsutil/clone/adlnkoh.sh

             

             

            script returned:

            ****************************************************

             

             

            adlnkoh.sh started at Sat Mar  5 12:14:24 MUT 2016

            Log file located at /u01/oracle/PREPROD/db/11.2.0/appsutil/log/PREPROD_erppreprod01/make_03051214.log

             

             

            Using make file "ins_emagent.mk" for linking SYSMAN utilities...

             

             

            adlnkoh.sh completed sucessfully

             

             

            .end std out.

             

             

            .end err out.

            ****************************************************

             

             

             

             

            instantiate file:

               source : /u01/oracle/PREPROD/db/11.2.0/appsutil/template/adouidb.pl

               dest   : /u01/oracle/PREPROD/db/11.2.0/appsutil/clone/ouicli.pl

               backup : /u01/oracle/PREPROD/db/11.2.0/appsutil/clone/ouicli.pl to /u01/oracle/PREPROD/db/11.2.0/appsutil/out/ouicli9.pl

               setting permissions: 700

               setting ownership: oratest:oinstall

             

             

            instantiate file:

               source : /u01/oracle/PREPROD/db/11.2.0/appsutil/template/config_ux.tmp

               dest   : /u01/oracle/PREPROD/db/11.2.0/rdbms/lib/config.c

               backup : /u01/oracle/PREPROD/db/11.2.0/rdbms/lib/config.c to /u01/oracle/PREPROD/db/11.2.0/appsutil/out/config10.c

               setting permissions: 700

               setting ownership: oratest:oinstall

             

             

            instantiate file:

               source : /u01/oracle/PREPROD/db/11.2.0/appsutil/template/adlnkoh.sh

               dest   : /u01/oracle/PREPROD/db/11.2.0/appsutil/clone/adlnkoh.sh

               backup : /u01/oracle/PREPROD/db/11.2.0/appsutil/clone/adlnkoh.sh to /u01/oracle/PREPROD/db/11.2.0/appsutil/out/adlnkoh9.sh

               setting permissions: 700

               setting ownership: oratest:oinstall

             

             

             

             

             

             

            WARNING: [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>

             

             

              [APPLY PHASE]

              AutoConfig could not successfully execute the following scripts:

                Directory: /u01/oracle/PREPROD/db/11.2.0/perl/bin/perl -I /u01/oracle/PREPROD/db/11.2.0/perl/lib/5.10.0 -I /u01/oracle/PREPROD/db/11.2.0/perl/lib/site_perl/5.10.0 -I /u01/oracle/PREPROD/db/11.2.0/appsutil/perl /u01/oracle/PREPROD/db/11.2.0/appsutil/clone

                  ouicli.pl               INSTE8_APPLY       1

             

             

             

             

             

             

            AutoConfig is exiting with status 1

             

             

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

            /u01/oracle/PREPROD/db/11.2.0/appsutil/driver/regclone.drv

            • 3. Re: RC-00118
              Narsi M-Oracle

              Hello,

               

              Please review:

              Troubleshooting RapidClone issues with Oracle Applications R12 (Doc ID 603104.1)

               

              Refer Sections:

               

              - Cloning fails at 50% with RC-00118 or RC-50004 after creating control files

              - RC-50013: Fatal: Failed to instantiate driver <10.1.2 ORACLE_HOME>/appsutil/driver/regclone.drv

               

              Hope this helps!!!

               

               

              Regards,

              Narsi