2 Replies Latest reply on Jun 18, 2016 11:13 AM by 984556

    Rapid clone terminates abruptly on preclone script

    984556

      platform AIX

      Oracle EBS 11.5.9 and oracle Database 9i

       

      This is recent clone and while running pre-clone scripts on a recent clone this is the error message

      DB Tier and Apps Tier both are running ... and on executing pre-clone scripts

       

      oraprod@clodb1:/oratech/proddb/9.2.0/appsutil/scripts/PROD_clodb1>perl adpreclone.pl dbTier

      Running Rapid Clone with command...

              perl /oratech/proddb/9.2.0/appsutil/bin/adclone.pl java=/oratech/proddb/9.2.0/appsoui/jre/1.3.1 mode=stage stage=/oratech/proddb/9.2.0/appsutil/clone component=dbTier method=CUSTOM dbctx=/oratech/proddb/9.2.0/appsutil/PROD_clodb1.xml  showProgress

       

       

      Beginning database tier Stage - Mon Jun 20 02:42:32 2016

      APPS Password : apps

      Log file located at /oratech/proddb/9.2.0/appsutil/log/PROD_clodb1/StageDBTier_06200242.log

        |      5% completed       Killed

        \      5% completed       db/9.2.0/appsutil/scripts/PROD_clodb1>

       

      checking the log file /oratech/proddb/9.2.0/appsutil/log/PROD_clodb1/StageDBTier_06200242.log

       

      root@clodb1:/>tail -f /oratech/proddb/9.2.0/appsutil/log/PROD_clodb1/StageDBTier_06200242.log

      Zip at /usr/bin/zip

      ZIP used: Zip 2.3 (November 29th 1999). Usage:

      # Calling StageDBTechStack...

      Creating Staging Area

      Cloning Stage Area already exists, updating existing area.

      Making ORACLE_HOME cloneable: /oratech/proddb/9.2.0

      Attempting incremental staging of ORACLE_HOME ...

      Making ORACLE_HOME cloneable: /oratech/proddb/9.2.0

      Generating file list from instconf.drv....

      Parsing file system to find new and changed files.....

      Completed file system parsing.....

      Examining ORACLE_HOME for incremental cloning ...Mon Jun 20 02:46:33 AST 2016

      Templatizing '/oratech/proddb/9.2.0/startup.sh' to '/oratech/proddb/9.2.0/appsutil/template/startup.sh'

      Templatizing '/oratech/proddb/9.2.0/bin/runInstaller.sh' to '/oratech/proddb/9.2.0/appsutil/template/bin/runInstaller.sh'

      Templatizing '/oratech/proddb/9.2.0/dbs/backup/backup/initPROD.ora' to '/oratech/proddb/9.2.0/appsutil/template/dbs/backup/backup/initPROD.ora'

      Templatizing '/oratech/proddb/9.2.0/dbs/backup/backup/initPROD_backup.ora' to '/oratech/proddb/9.2.0/appsutil/template/dbs/backup/backup/initPROD_backup.ora'

      Templatizing '/oratech/proddb/9.2.0/logs_db.txt' to '/oratech/proddb/9.2.0/appsutil/template/logs_db.txt'

      Completed 5 templates...

      Making logs_db.txt @ 02:46

      Templatizing '/oratech/proddb/9.2.0/bin/runInstaller.ORG' to '/oratech/proddb/9.2.0/appsutil/template/bin/runInstaller.ORG'

      Templatizing '/oratech/proddb/9.2.0/dbs/initPROD.ora_old' to '/oratech/proddb/9.2.0/appsutil/template/dbs/initPROD.ora_old'

      Templatizing '/oratech/proddb/9.2.0/dbs/backup/initPROD_noaq.ora' to '/oratech/proddb/9.2.0/appsutil/template/dbs/backup/initPROD_noaq.ora'

      Templatizing '/oratech/proddb/9.2.0/dbs/backup/backup/initPROD_noaq.ora' to '/oratech/proddb/9.2.0/appsutil/template/dbs/backup/backup/initPROD_noaq.ora'

      Templatizing '/oratech/proddb/9.2.0/dbs/initPROD.ora.bk.orig' to '/oratech/proddb/9.2.0/appsutil/template/dbs/initPROD.ora.bk.orig'

      Completed 10 templates...

      Making dbs/initPROD.ora.bk.orig @ 02:46

      Templatizing '/oratech/proddb/9.2.0/dbs/backup/initPROD.ora' to '/oratech/proddb/9.2.0/appsutil/template/dbs/backup/initPROD.ora'

      Templatizing '/oratech/proddb/9.2.0/snap_2_oradb.lst' to '/oratech/proddb/9.2.0/appsutil/template/snap_2_oradb.lst'

      Templatizing '/oratech/proddb/9.2.0/stop.sh' to '/oratech/proddb/9.2.0/appsutil/template/stop.sh'

      Templatizing '/oratech/proddb/9.2.0/prod_snap.lst' to '/oratech/proddb/9.2.0/appsutil/template/prod_snap.lst'

      Templatizing '/oratech/proddb/9.2.0/dbs/backup/backup/initPROD.oraaaa' to '/oratech/proddb/9.2.0/appsutil/template/dbs/backup/backup/initPROD.oraaaa'

      Completed 15 templates...

      Making dbs/backup/backup/initPROD.oraaaa @ 02:46

      Killed

       

      Rapid clone on Application Tier also exits

      applprod@cloapp1:/oraapp/prodcomn/admin/scripts/PROD_cloapp1>perl adpreclone.pl appsTier

      Running Rapid Clone with command...

              perl /oraapp/prodappl/ad/11.5.0/bin/adclone.pl java=/oraapp/prodora/iAS/appsoui/jre/1.3.1 mode=stage stage=/oraapp/prodcomn/clone component=appsTier method=CUSTOM appctx=/oraapp/prodappl/admin/PROD_cloapp1.xml  showProgress

       

       

       

       

      ERROR: The version of the OUI found in /oraapp/prodora/iAS/appsoui (2.1.0.17.0) is too low. Please make sure that you have applied the latest OUI patch required by Rapid Clone.

       

       

      Restart adclone.pl after performing required corrections.

      applprod@cloapp1:/oraapp/prodcomn/admin/scripts/PROD_cloapp1>

       

      Alert.log shows root@clodb1:/>tail -f /oratech/proddb/9.2.0/admin/PROD_clodb1/bdump/alert_PROD.log

      Beginning log switch checkpoint up to RBA [0x2d.2.10], SCN: 0x0001.22038d8f

      Thread 1 advanced to log sequence 45

        Current log# 2 seq# 45 mem# 0: /oradata/proddata/log02a.dbf

        Current log# 2 seq# 45 mem# 1: /oradata/proddata/log02b.dbf

      Mon Jun 20 02:42:13 2016

      ORA-1654: unable to extend index APPLSYS.SYS_IOT_TOP_245802 by 466610 in tablespace           APPLSYSD

      ORA-1654: unable to extend index APPLSYS.SYS_IOT_TOP_245802 by 466610 in tablespace           APPLSYSD

      Mon Jun 20 02:42:15 2016

      Completed checkpoint up to RBA [0x2d.2.10], SCN: 0x0001.22038d8f

      Mon Jun 20 02:50:09 2016

      Beginning log switch checkpoint up to RBA [0x2e.2.10], SCN: 0x0001.2203a36c

      Thread 1 advanced to log sequence 46

        Current log# 1 seq# 46 mem# 0: /oradata/proddata/log01a.dbf

        Current log# 1 seq# 46 mem# 1: /oradata/proddata/log01b.dbf

      Mon Jun 20 02:50:39 2016

      ORA-1654: unable to extend index APPLSYS.SYS_IOT_TOP_245802 by 466610 in tablespace           APPLSYSD

      ORA-1654: unable to extend index APPLSYS.SYS_IOT_TOP_245802 by 466610 in tablespace           APPLSYSD

      Mon Jun 20 02:50:39 2016

       

       

       

       

      Running AutoConfig on DB Tier and Apps Tier while DB and Apps are up and running

       

      DB Tier

      oraprod@clodb1:/oratech/proddb/9.2.0/appsutil/bin>./adconfig.sh contextfile=/oratech/proddb/9.2.0/appsutil/PROD_clodb1.xml

      Enter the APPS user password:

      AutoConfig is configuring the Database environment...

      ...

      ....

      ....

      AutoConfig completed successfully.

      The log file for this session is located at: /oratech/proddb/9.2.0/appsutil/log/PROD_clodb1/06200333/adconfig.log

       

      Apps Tier

      applprod@cloapp1:/home/applprod>e=/oraapp/prodappl/admin/PROD_cloapp1.xml appspass=apps                                                     <

      AutoConfig is configuring the Applications environment...

      ....

      .....

      ....

      AutoConfig completed successfully.

      The log file for this session is located at: /oraapp/prodappl/admin/PROD_cloapp1/log/06180644/adconfig.log

      applprod@cloapp1:/home/applprod>

       

      What could be the issue for pre-clone script on DB and Apps tier is getting killed automatically ?


      Strangest fact: From the source machine I made clone perfectly

      Source --> Clone

      now when I make from Clone --> NewClone

      it fails !! environment is all same... O/S ...versions...etc

       

       

      Message was edited by: 984556 Added AutoConfig Results

        • 1. Re: Rapid clone terminates abruptly on preclone script
          984556

          For the Apps Tier Problem Version of OUI too low (Cloning) | TriniDBA

           

          applprod@cloapp1:/oraapp/prodcomn/admin/scripts/PROD_cloapp1>perl adpreclone.pl appsTier

          Running Rapid Clone with command...

                  perl /oraapp/prodappl/ad/11.5.0/bin/adclone.pl java=/oraapp/prodora/iAS/appsoui/jre/1.3.1 mode=stage stage=/oraapp/prodcomn/clone component=appsTier method=CUSTOM appctx=/oraapp/prodappl/admin/PROD_cloapp1.xml  showProgress

           

           

           

           

          ERROR: The version of the OUI found in /oraapp/prodora/iAS/appsoui (2.1.0.17.0) is too low. Please make sure that you have applied the latest OUI patch required by Rapid Clone.

           

           

          Restart adclone.pl after performing required corrections.

          applprod@cloapp1:/oraapp/prodcomn/admin/scripts/PROD_cloapp1>

          s

          applprod@cloapp1:/oraapp/prodora/iAS/oui21/setup>ls

          OUISetup.jar  OUIsetup.pl

          applprod@cloapp1:/oraapp/prodora/iAS/oui21/setup>perl OUIsetup.pl

                  ORACLE_HOME  : /oraapp/prodora/iAS (APPSIAS_PROD)

                  OUI Location : /oraapp/prodora/iAS/appsoui/oui

                  CLASSPATH    : /oraapp/prodora/iAS/oui21/setup/OUISetup.jar:/oraapp/prodora/iAS/appsoui/oui/lib/OraInstaller.jar:/oraapp/prodora/iAS/appsoui/oui/lib/xmlparserv2.jar

                  JRE_INST     : /oraapp/prodora/iAS/appsoui/jre/1.1.8

           

           

          Executing OUI setup now:

          /oraapp/prodora/iAS/appsoui/jre/1.3.1/bin/java -classpath /oraapp/prodora/iAS/oui21/setup/OUISetup.jar:/oraapp/prodora/iAS/appsoui/oui/lib/OraInstaller.jar:/oraapp/prodora/iAS/appsoui/oui/lib/xmlparserv2.jar -DDEBUG_MODE=false oracle.apps.ad.util.OUISetup /oraapp/prodora/iAS /oraapp/prodora/iAS/appsoui/oui /oraapp/prodora/iAS/appsoui/jre/1.1.8 APPSIAS_PROD

           

           

          Log file : /oraapp/prodora/iAS/oui21/setup/OUIsetup.log

          Checking inventory ...

          Updating registration of ORACLE_HOME in global inventory...

          Oracle home registration completed.

          Removing OUI entries from the global inventory: /home/applprod/oraInventory/ContentsXML/comps.xml

          Registering the OUI component with local inventory...

          OUI 2.2 is already present in the inventory - skipping registration.

          applprod@cloapp1:/oraapp/prodora/iAS/oui21/setup>

           

           

          applprod@cloapp1:/oraapp/prodcomn/admin/scripts/PROD_cloapp1>perl adpreclone.pl appsTier

          Running Rapid Clone with command...

                  perl /oraapp/prodappl/ad/11.5.0/bin/adclone.pl java=/oraapp/prodora/iAS/appsoui/jre/1.3.1 mode=stage stage=/oraapp/prodcomn/clone component=appsTier method=CUSTOM appctx=/oraapp/prodappl/admin/PROD_cloapp1.xml  showProgress

           

           

           

           

          ERROR: The version of the OUI found in /oraapp/prodora/iAS/appsoui (2.1.0.17.0) is too low. Please make sure that you have applied the latest OUI patch required by Rapid Clone.

           

           

          Restart adclone.pl after performing required corrections.

          applprod@cloapp1:/oraapp/prodcomn/admin/scripts/PROD_cloapp1>

           

           

          s

          anyone have solution for this ?

           

          s

          • 2. Re: Re: Rapid clone terminates abruptly on preclone script
            984556

            I tried by the way of trial and error and found it working

             

            Error on DB Tier

            oraprod@clodb1:/oratech/proddb/9.2.0/appsutil/scripts/PROD_clodb1>perl adpreclone.pl dbTier


            just increase the memory to be atleast 2GB and run autoconfig and then pre-clone script


            Error on Apps Tier --- Too Low version

            applprod@cloapp1:/oraapp/prodcomn/admin/scripts/PROD_cloapp1>perl adpreclone.pl appsTier



            then change the version in oraparam.ini from 2.1.0.17.0 to 2.2.0.19.0 inventory.xml

             

             

            applprod@cloapp1:/home/applprod/oraInventory/ContentsXML>ls

            comps.xml      inventory.xml  libs.xml

            applprod@cloapp1:/home/applprod/oraInventory/ContentsXML>cat inventory.xml

            <?xml version="1.0" standalone="yes" ?>

            <!-- Copyright (c) 2001 Oracle Corporation. All rights Reserved -->

            <!-- Do not modify the contents of this file by hand. -->

            <INVENTORY>

            <VERSION_INFO>

               <SAVED_WITH>2.2.0.19.0</SAVED_WITH>

               <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>

            </VERSION_INFO>

            <HOME_LIST>

            <HOME NAME="APPSIAS_PROD" LOC="/oraapp/prodora/iAS" TYPE="O" IDX="1"/>

            </HOME_LIST>

            </INVENTORY>

             

             

             

             

            root@cloapp1:/oraapp/prodora/iAS/appsoui/oui>cat oraparam.ini

            [Oracle]

            DISTRIBUTION=FALSE

            SOURCE=

            LICENSE_LOCATION=

            JRE_LOCATION=/oraapp/prodora/iAS/oui21/jre/1.3.1/jre

            OUI_LOCATION=.

             

             

            DEFAULT_HOME_LOCATION=

            DEFAULT_HOME_NAME=

            NLS_ENABLED=TRUE

            JRE_MEMORY_OPTIONS=" -mx48m"

            NO_BROWSE=/net

            BOOTSTRAP=FALSE

            OUI_VERSION=2.1.0.17.0

             

            did not run

             

             

            /oraapp/prodora/iAS/oui21/setup/OUIsetup.pl

            /oraapp/patches/clone/appsoui/setup/OUIsetup.pl

             

            1 person found this helpful