1 2 3 Previous Next 39 Replies Latest reply on Feb 15, 2016 3:38 AM by dralmostright

    AutoConfig could not successfully execute the following scripts: .... ERP 12.1.1 post cloining

    dralmostright

      Dear Experts,

       

      I am trying to clone oracle EBS 12.1.1 ( multinode, OEL6 x86-64) and have successfully cloned dbTeir while cloining apps Tier i am facing the following issues:

       

      [applmgr@ebsdb bin]$ perl adcfgclone.pl appsTier

       

                           Copyright (c) 2002 Oracle Corporation

                              Redwood Shores, California, USA

       

                              Oracle Applications Rapid Clone

                                       Version 12.0.0

                            adcfgclone Version 120.31.12010000.12

       

      Enter the APPS password :

      ---------------------------------------

      --------------------------------------

      ----------------------------------------

      Beginning application tier Apply - Fri Jan 22 10:46:35 2016

       

       

      /u003/oracle/app1211/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true  -Doracle.installer.oui_loc=/oui -classpath /u003/oracle/app1211/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/u003/oracle/app1211/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/u003/oracle/app1211/apps/apps_st/comn/clone/jlib/java:/u003/oracle/app1211/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/u003/oracle/app1211/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/u003/oracle/app1211/apps/apps_st/comn/clone/jlib/oui/share.jar:/u003/oracle/app1211/apps/apps_st/comn/clone/jlib/oui/srvm.jar:/u003/oracle/app1211/apps/apps_st/comn/clone/jlib/ojmisc.jar  oracle.apps.ad.clone.ApplyAppsTier -e /u003/oracle/app1211/inst/apps/PROD_ebsdb/appl/admin/PROD_ebsdb.xml -stage /u003/oracle/app1211/apps/apps_st/comn/clone    -showProgress

      APPS Password : Log file located at /u003/oracle/app1211/inst/apps/PROD_ebsdb/admin/log/ApplyAppsTier_01221046.log

        /      0% completed       RC-50004: Fatal: Error occurred in ApplyAppsTechStack:

      RC-50013: Fatal: Failed to instantiate driver /u003/oracle/app1211/apps/tech_st/10.1.3/appsutil/driver/regclone.drv

       

       

      ERROR while running Apply...

      Fri Jan 22 10:46:51 2016

       

       

      ERROR: Failed to execute /u003/oracle/app1211/apps/apps_st/comn/clone/bin/adclone.pl

       

       

      Please check logfile.

       

       

      And refering to logfile /u003/oracle/app1211/inst/apps/PROD_ebsdb/admin/log/ApplyAppsTier_01221046.log

      i got the following messaage:

       

      AutoConfig could not successfully execute the following scripts:

          Directory: /u003/oracle/app1211/apps/tech_st/10.1.3/perl/bin/perl -I /u003/oracle/app1211/apps/tech_st/10.1.3/perl/lib/5.8.3 -I /u003/oracle/app1211/apps/tech_st/10.1.3/perl/lib/site_per

      l/5.8.3 -I /u003/oracle/app1211/apps/apps_st/appl/au/12.0.0/perl -I /u003/oracle/app1211/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi /u003/oracle/a

      pp1211/apps/tech_st/10.1.3/appsutil/clone

            ouicli.pl               INSTE8_APPLY       1

       

      AutoConfig is exiting with status 1

       

       

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

      /u003/oracle/app1211/apps/tech_st/10.1.3/appsutil/driver/regclone.drv

       

       

      I have gone through the docs and various blogs not found similar issues anyone expert can please help to track out issue. Any help is highly appriciated.

       

      Thanks and regards

        • 2. Re: AutoConfig could not successfully execute the following scripts: .... ERP 12.1.1 post cloining
          dralmostright

          @Narsi M-Oracle,

           

          Thank you for your prompt response,

           

          I am going through the docs and will update.

           

          Thanks and regards

          • 3. Re: AutoConfig could not successfully execute the following scripts: .... ERP 12.1.1 post cloining
            dralmostright

            @Narsi M-Oracle,


            I have gone though the docs but no luck .


            But i found

            "ouicli.pl fails with: "NON-COMPLIANT: <$ORACLE_HOME>/oraInst.loc does not point to an inventory inside the current ORACLE_HOME"

             

            and gone though the docs and the message did not appear but below messages appeared.

             

            Beginning OUI CLI cloning for s_weboh_ohSat Jan 23 22:31:46 2016

            /u003/oracle/app1211/apps/tech_st/10.1.3/jdk/bin/java -classpath /u003/oracle/app1211/apps/apps_st/comn/clone/jlib/java:/u003/oracle/app1211/apps/tech_st/10.1.3/oui/jlib/OraInstaller.jar:/u0

            03/oracle/app1211/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/u003/oracle/app1211/apps/apps_st/comn/clone/jlib/ojdbc14.jar  oracle.apps.ad.clone.util.OracleHomeCloner  -OUICLI -e /u003/ora

            cle/app1211/inst/apps/PROD_ebsdb/appl/admin/PROD_ebsdb.xml -nolink -oaVar s_weboh_oh -homestub weboh -log /u003/oracle/app1211/inst/apps/PROD_ebsdb/admin/log/ohclone.log

            Finished OUI CLI cloning for s_weboh_oh with return code: 1Sat Jan 23 22:31:47 2016

             

            .end std out.

             

            And further more going through this sctions:

            - RC-50004: Fatal: Error occurred in ApplyAppsTechStack:

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

             

            The issues i faced raised from <10.1.3> home and no opmn process were running.

             

            From some blog I have found the solution to the problem can be solved by setting environment variables :

            export ORACLE_HOME=/u003/oracle/app1211/apps/tech_st/10.1.3

            export PERL5LIB=$ORACLE_HOME/perl/lib/5.8.3:$ORACLE_HOME/perl/lib/site_perl/5.8.3:

            export PERL5LIB=$PERL5LIB:$ORACLE_HOME/perl/lib/site_perl/5.8.3/i686-linux-thread-multi:$PERL5LIB

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

             

            But still the errors retains .

             

            In addition i found the doc : https://support.oracle.com/epmos/faces/DocumentDisplay?id=1328464.1 and the issues seems to be same but only different is Environment ( Doc explained issues for Windows , and issues i face is on OEL 6),

             

            Experts i am completely nonplussed, please help me to track out this issue,

             

            Thanks and regards.



            • 4. Re: AutoConfig could not successfully execute the following scripts: .... ERP 12.1.1 post cloining
              dralmostright

              Dear Oracle Geeks,

               

              With further more inspection of logs i found the following entry in log file ohclone.log

               

              Checking for oracle home version

              The context variable s_database doesn't contain any value  in database context file. Please ensure the database context variable s_database contain correct value. This value should be like db111 or db112 or db121 pattern and re run the clone.

               

              And checking the config file (XML) there was no field with s_database parameter.

               

              Can anyone suggest me whats missing in the config file and what should be done to correct the above issue.

               

              Thanks and regards

              • 5. Re: AutoConfig could not successfully execute the following scripts: .... ERP 12.1.1 post cloining
                Narsi M-Oracle

                Hello,

                 

                Following should be the entries:

                cat <DB_CONTEXT_FILE>.xml | grep -i s_database

                      <config_option type="database" oa_var="s_database">db112</config_option>

                      <config_option type="database" oa_var="s_database_type"/>

                 

                Above are the entries that should be present.

                 

                Are you cloning for the 1st time on this server.

                Was cloning successful before on this server.

                Can you check if "applmgr" has write permissions on the inventory

                Suspect, there could be some missing prerequisites

                Would advise you to run the RDA report to check if any missing:

                Follow Metalink note 250262.1 (RDA 4 - Health Check / Validation Engine Guide), install and then run "Oracle E-Business Suite Release 12 (12.1.1) Preinstall (Linux x86 and x86_64)" diagnostic test.

                Make sure you run it using the following syntax:

                 

                rda.sh -T hcve

                 

                Then select the options that corresponds to "Oracle E-Business Suite Release 12 (12.1.1) Preinstall (Linux x86 and x86_64)" diagnostic test.

                 

                Regards,

                Narsi

                • 6. Re: AutoConfig could not successfully execute the following scripts: .... ERP 12.1.1 post cloining
                  dralmostright

                  @Narsi M-Oracle,


                  Thank u for your valuable suggestion and help will update u soon after going through the docs and diagnostic test.


                  Thanks and regards.

                  • 7. Re: AutoConfig could not successfully execute the following scripts: .... ERP 12.1.1 post cloining
                    Narsi M-Oracle

                    Additionally, if your DB Context File is not pointing correctly, check if the cloning completed successfully on db tier.

                    Also, check if u are able to run Autoconfig successfully on db tier.

                    • 8. Re: AutoConfig could not successfully execute the following scripts: .... ERP 12.1.1 post cloining
                      Narsi M-Oracle

                      Please follow Metalink note 250262.1 (RDA 4 - Health Check / Validation Engine Guide), install and then run "Oracle E-Business Suite Release 12 (12.1.1) Preinstall (Linux x86 and x86_64)" diagnostic test.

                      Make sure you run it using the following syntax:

                       

                      rda.sh -T hcve

                       

                      Then select the options that corresponds to "Oracle E-Business Suite Release 12 (12.1.1) Preinstall (Linux x86 and x86_64)" diagnostic test.

                       

                      This report will give you a consolidated list of missing/available prerequisites.

                       

                       

                      Regards,

                      Narsi

                      • 9. Re: AutoConfig could not successfully execute the following scripts: .... ERP 12.1.1 post cloining
                        dralmostright

                        This is the first time i am performing cloning within this machine. Moreover I have used the oracle supplied ebs-preinstall rpm to configure prerequisites and other by using oracle

                        Doc ID 761566.1.

                         

                        And yes i applmgr user have R/W permisson on Inventory. As i have made oracle Inventory on respective home(10.1.2 and 10.1.3) by using applmgr user and edited the oraInst.loc file to point the respective Inventory.

                         

                        Yes i am able to run autoconfig on db tier successfully and the clone of dbtier is successful and the parameters are present in the dbTier config file but are missing in APPS tier,

                         

                        ---

                        The output of config file of cloned DB Tier

                        ---

                        [oracle@ebs1211 appsutil]$ cat PROD_ebs1211.xml | grep database

                              <global_database_name oa_var="s_global_database_name">PROD.localdomain</global_database_name>

                              <cluster_database oa_var="s_dbCluster">false</cluster_database>

                              <cluster_database_instances oa_var="s_dbClusterInst">1</cluster_database_instances>

                              <config_option type="database" oa_var="s_database">db111</config_option>

                              <config_option type="database" oa_var="s_database_type"/>

                              <config_option type="database" oa_var="s_bits">64</config_option>

                        [oracle@ebs1211 appsutil]$

                         

                        And also i looked to prior Apps Tier (server) and the config file was missing the above parameters.

                         

                        Additionally please find the output of the RDA:

                         

                        Test "Oracle E-Business Suite Release 12 (12.1.1) Preinstall (Linux x86 and x86_64)" executed at 24-Jan-2016 23:28:38

                         

                        Test Results

                        ~~~~~~~~~~~~

                         

                         

                        ID     NAME                 RESULT  VALUE

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

                        A00100 OS Type              RECORD  OL6 64

                        A00200 OS Certified?        PASSED  Adequate

                        A00210 RPM OL4/32 OK?       SKIPPED Not Oracle Linux 4 32-bit

                        A00220 RPM OL4/64 OK?       SKIPPED Not Oracle Linux 4 64-bit

                        A00230 RPM OL5/32 OK?       SKIPPED Not Oracle Linux 5 32-bit

                        A00240 RPM OL5/64 OK?       SKIPPED Not Oracle Linux 5 64-bit

                        A00241 RPM OL6/32 OK?       SKIPPED Not Oracle Linux 6 32-bit

                        A00242 RPM OL6/64 OK?       PASSED  OL6/64rpmsOK

                        A00270 RPM RH4/32 OK?       SKIPPED Not Red Hat Enterprise Linux 4 32-bit

                        A00280 RPM RH4/64 OK?       SKIPPED Not Red Hat Enterprise Linux 4 64-bit

                        A00290 RPM RH5/32 OK?       SKIPPED Not Red Hat Enterprise Linux 5 32-bit

                        A00300 RPM RH5/64 OK?       SKIPPED Not Red Hat Enterprise Linux 5 64-bit

                        A00301 RPM RH6/32 OK?       SKIPPED Not Red Hat Enterprise Linux 6 32-bit

                        A00302 RPM RH6/64 OK?       SKIPPED Not Red Hat Enterprise Linux 6 64-bit

                        A00330 RPM SLES10/32 OK?    SKIPPED Not SuSE Linux Enterprise 10 32-bit

                        A00340 RPM SLES10/64 OK?    SKIPPED Not SuSE Linux Enterprise 10 64-bit

                        A00342 RPM SLES11/64 OK?    SKIPPED Not SuSE Linux Enterprise 11 64-bit

                        A00350 Motif Link           FAILED  BadMotifLink

                        A00360 ENV Variable Unset   SKIPPED Not SuSE Linux Enterprise 10

                        A00370 Got Software Tools?  PASSED  tools_found

                        A00400 IP Address           RECORD  NotFound

                        A00410 Domain Name          RECORD  NotFound

                        A00420 DNS Lookup           FAILED  Host not known

                        A00430 /etc/hosts format    PASSED  Adequate IPv4 entry

                        A00440 SysNetw File         FAILED  Missing host.domain

                        A00450 NoNetwProf File      PASSED  OK

                        A00460 DNS Settings         PASSED  DNSOptionsOK

                        A00470 Net Service Access?  PASSED  PermOk

                        A00480 Port 6000            PASSED  Free

                        A00500 Kernel Params OK?    PASSED  KernelOK

                        A00510 Port Range OK?       FAILED  LowValue HighValue

                        A00520 Limit Processes      PASSED  Adequate

                        A00530 Limit Descriptors    PASSED  Adequate

                        A00600 ApplTierDirectory    RECORD  /u003/oracle/app1211

                        A00610 A_T Valid?           PASSED  ATexists

                        A00620 A_T Permissions OK?  PASSED  CorrectPerms

                        A00630 A_T Disk Space       FAILED  NotOK

                        A00640 Space in tmp         PASSED  Available

                        Result file: output/collect/APPS_HCVE_A_EBS1211_lin_res.htm

                        [root@ebsdb rda]#

                         

                        With regard to the failed prerequisites please find the output below:

                         

                        FOR: A00350 Motif Link           FAILED  BadMotifLink

                        -- the package is installed as stated by the Doc ID 761566.1.

                         

                         

                        FOR : A00440 SysNetw File         FAILED  Missing host.domain

                         

                        [root@ebsdb rda]# cat /etc/sysconfig/network

                        NETWORKING=yes

                        HOSTNAME=ebsdb.localdomain

                        [root@ebsdb rda]#

                        ( where there is fully qualified domain name)

                         

                        FOR: A00420 DNS Lookup           FAILED  Host not known

                         

                        [root@ebsdb ~]# nslookup ebsdb.localdomain

                        Server:         192.168.179.143

                        Address:        192.168.179.143#53

                         

                        Name:   ebsdb.localdomain

                        Address: 192.168.179.142

                         

                         

                        [root@ebsdb ~]# nslookup ebs1211.localdomain

                        Server:         192.168.179.143

                        Address:        192.168.179.143#53

                         

                        Name:   ebs1211.localdomain

                        Address: 192.168.179.141

                         

                        [root@ebsdb ~]# ping ebsdb.localdomain

                        PING ebsdb.localdomain (192.168.179.142) 56(84) bytes of data.

                        64 bytes from ebsdb.localdomain (192.168.179.142): icmp_seq=1 ttl=64 time=0.039 ms

                        ^C

                        --- ebsdb.localdomain ping statistics ---

                        1 packets transmitted, 1 received, 0% packet loss, time 825ms

                        rtt min/avg/max/mdev = 0.039/0.039/0.039/0.000 ms

                         

                        [root@ebsdb ~]# ping ebs1211.localdomain

                        PING ebs1211.localdomain (192.168.179.141) 56(84) bytes of data.

                        64 bytes from ebs1211.localdomain (192.168.179.141): icmp_seq=1 ttl=64 time=0.317 ms

                        64 bytes from ebs1211.localdomain (192.168.179.141): icmp_seq=2 ttl=64 time=0.306 ms

                        ^C

                        --- ebs1211.localdomain ping statistics ---

                        2 packets transmitted, 2 received, 0% packet loss, time 1032ms

                        rtt min/avg/max/mdev = 0.306/0.311/0.317/0.018 ms

                        [root@ebsdb ~]#

                         

                        For: A00510 Port Range OK?       FAILED  LowValue HighValue


                        [root@ebsdb ~]# cat /etc/sysctl.conf | grep net.ipv4.ip_local_port_range

                        # oracle-rdbms-server-11gR2-preinstall setting for net.ipv4.ip_local_port_range is 9000 65500

                        # oracle-ebs-server-R12-preinstall setting for net.ipv4.ip_local_port_range is 9000 65500

                        net.ipv4.ip_local_port_range = 9000 65500

                         

                        FOR: A00630 A_T Disk Space       FAILED  NotOK

                        [root@ebsdb rda]# df -h

                        Filesystem                           Size  Used Avail Use% Mounted on

                        /dev/sda5                            9.5G  4.0G  5.1G  45% /

                        tmpfs                                2.5G  808K  2.5G   1% /dev/shm

                        /dev/mapper/vol_archive-log_archive   20G   44M   19G   1% /archive

                        /dev/mapper/vol_oradata-log_oradata  118G   80G   34G  71% /u003  => there is available 32 GB ( with copy of clone apps tier)

                        /dev/mapper/vol_u01-log_u01          118G   47G   67G  42% /u009

                        /dev/sr0                             3.7G  3.7G     0 100% /media/OL6.5 x86_64 Disc 1 20131125

                        [root@ebsdb rda]#

                         

                        Thanks and regards

                        • 10. Re: AutoConfig could not successfully execute the following scripts: .... ERP 12.1.1 post cloining
                          dralmostright

                          Hello experts,

                           

                          I am again facing the issues as i am doing cloning in my uat environment, i am completely stuck here.

                           

                          As i have followed each steps described in docs:

                          Cloning Oracle Applications Release 12 with Rapid Clone (Doc ID 406982.1)

                          Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 (Doc ID 761566.1)

                           

                          And all the steps have been completed without any errors, as i have monitored each log files for each step.


                          Guys please help

                          Hussein Sawwan-Oracle

                          Narsi M-Oracle

                           

                          If needed i can explain my scenario in detail.

                           

                          Thanks and regards,

                          • 11. Re: AutoConfig could not successfully execute the following scripts: .... ERP 12.1.1 post cloining
                            Narsi M-Oracle

                            Have you fixed all the issues as per RDA output.

                            What are the errors you are encountering now

                             

                            Regards,

                            Narsi

                            • 12. Re: AutoConfig could not successfully execute the following scripts: .... ERP 12.1.1 post cloining
                              dralmostright

                              My scenario :

                              ---

                              I have multinode ERP, one DB server and other Apps server and i am trying to clone apps server  to current db server  and db to current apps server. And the cloning of db is successful but when every i try to run adcfgclone.pl script i encounter the error as described in first. As prior to cloning all the services are up and running for both database and apps and have no issues.

                               

                              ---

                              As all other issues are fixed and i have not left a step in the above guide. As the database cloning is successful but no gain in apps tier cloining. With further more investigating i only find the following message in  log file while running adcfgclone.pl durning cloning of application tier.

                              ---

                               

                              [oracle@ebsdbs ~]$ more /u003/oracle/app12/inst/apps/suman_ebsdbs/admin/log/ohclone.log

                              copying /u003/oracle/app12/apps/tech_st/10.1.3/jlib/ojmisc.jar into jdk/jre/lib

                              copying /u003/oracle/app12/apps/tech_st/10.1.3/jlib/ojmisc.jar into jdk/jre/lib

                              checking - /u003/oracle/app12/apps/tech_st/10.1.3/oraInst.loc

                              Validating oraInst.loc - /u003/oracle/app12/apps/tech_st/10.1.3/oraInst.loc

                              Found oraInst.loc at - /u003/oracle/app12/apps/tech_st/10.1.3/oraInst.loc

                              checking - /etc/oraInst.loc

                              Validating oraInst.loc - /etc/oraInst.loc

                              Found oraInst.loc at - /etc/oraInst.loc

                              Checking for oracle home version

                              The context variable s_database doesn't contain any value  in database context file. Please ensure the database context variable s_database contain correct value. This

                              value should be like db111 or db112 or db121 pattern and re run the clone.

                               

                               

                               

                              ------

                              As i have performed the exact steps mentioned in Doc ID 406982.1 and none of the steps have any issues all were completed successfully.

                              I don't know if we need to do extras for multinode cloning more than the docs specified.


                              I have gone through various blogs and docs but not found any uselful one.


                              Thanks and regards.

                              • 13. Re: AutoConfig could not successfully execute the following scripts: .... ERP 12.1.1 post cloining
                                Kirushna

                                Hi,

                                 

                                You have cloned database successfully and can you re-run autoconfig in DB side and check if its completing successful.

                                 

                                Post the output of FND_NODES.

                                 

                                Have completed all pre-requisites in both servers?

                                 

                                Have you added host entries in both machine (/etc/hosts)

                                 

                                Can you attach the logfile - application side?

                                 

                                Regards,

                                Kirushna

                                • 14. Re: AutoConfig could not successfully execute the following scripts: .... ERP 12.1.1 post cloining
                                  Narsi M-Oracle

                                  Can you provide the contents of db xml file.

                                  cat <DB_CONTEXT>.xml| grep -i s_database

                                   

                                  Regards,

                                  Narsi

                                  1 2 3 Previous Next