1 2 Previous Next 18 Replies Latest reply on May 11, 2016 9:32 AM by Beauty_and_dBest

    EBS R12.2 Cloning from OL6 to OL7

    Beauty_and_dBest

      Hi ALL,

       

      EBS R12.2

      OL5,6,7

       

       

      When you install or clone EBS, the tedious part is installing the required linux RPMs one by one.

      Luckily Oracle has grouped this in one package which downloadable as per Doc ID 1330701.1.


      E-Business Suite Pre-Install RPM (available for Oracle Linux 5, 6 and 7)

      The E-Business Suite pre-install package (oracle-ebs-server-R12-preinstall) for Oracle Linux 5, 6 and 7 is available on the Oracle Unbreakable Linux Network (ULN, which requires a support contract) or from the Oracle public yum repository (under the 'Add-ons' channel) for these Oracle Linux operating systems. It is recommended that this x86_64 rpm be installed on top of a 'minimal' install of Oracle Linux to provide just the necessary packages to install and run Oracle E-Business Suite.

       

      My question is, is this package applicable to all the three versions ol5,6, & 7?

       

      I noticed in the instruction a little confusing, being said as:

      # wget http://public-yum.oracle.com/public-yum-ol6.repo

       

      The version mentioned above is ol6. Do I need to change it to ol7 if my OS is ol7, or ol5 is my OS is ol5?

       

       

      Please help...

       

      Kind regards,

      jc

        • 1. Re: EBS R12.2 Required RPMs for OL5,6,7
          Narsi M-Oracle

          Hello Jenna,

           

          Yes. One would have to change the entry to 5,6, or 7, based on their Linux OS version.

           

          This is already mentioned in the doc in Section "E-Business Suite Pre-Install RPM (available for Oracle Linux 5, 6 and 7) ":

          For Oracle Linux 5 or 7, users should replace 'public-yum-ol6.repo' in the command above with 'public-yum-el5.repo' or 'public-yum-ol7.repo' respectively.

           

          Hope this helps!!!

           

           

          Regards,

          Narsi

          1 person found this helpful
          • 2. Re: EBS R12.2 Required RPMs for OL5,6,7
            Pravin Takpire

            in the same note


            For Oracle Linux 5 or 7, users should replace 'public-yum-ol6.repo' in the command above with 'public-yum-el5.repo' or 'public-yum-ol7.repo' respectively


            regards

            Pravin

            1 person found this helpful
            • 3. Re: EBS R12.2 Required RPMs for OL5,6,7
              Beauty_and_dBest

              Thanks Narsi, Pravin,

               

              Our new server is OL7, and I already downloaded and install the E-Business Suite Pre-Install RPMs for OL7,

               

              Then I start cloning on Linux 7,

              I finished cloning the db tier.

              Then perform cloning on the apps tier >  perl adcfgclone.pl appsTier

               

              but I got error below

               

               

              I see error below as > Can't locate Switch.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib

              But the log file does not give the details.

               

              Please help....

               

              Log file located at /home/appprod/PROD/fs1/EBSapps/comn/clone/bin/CloneContext_0510100159.log

              Check Clone Context logfile /home/appprod/PROD/fs1/EBSapps/comn/clone/bin/CloneContext_0510100159.log for details.

               

              Running Rapid Clone with command:

              Running:

              perl /home/appprod/PROD/fs1/EBSapps/comn/clone/bin/adclone.pl java=/home/appprod/PROD/fs1/EBSapps/comn/clone/bin/../jre mode=apply stage=/home/appprod/PROD/fs1/EBSapps/comn/clone component=appsTier method=CUSTOM appctxtg=/home/appprod/PROD/fs1/inst/apps/PROD_app/appl/admin/PROD_app.xml showProgress contextValidated=true

              Can't locate Switch.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/appprod/PROD/fs1/EBSapps/comn/clone/bin/adclone.pl line 40.

              BEGIN failed--compilation aborted at /home/appprod/PROD/fs1/EBSapps/comn/clone/bin/adclone.pl line 40             .

               

              ERROR: Failed to execute /home/appprod/PROD/fs1/EBSapps/comn/clone/bin/adclone.pl

               

              Please check logfile.


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


              I found this in google:


              Solution:

              ===========

              1. Update PERL5LIB value in CONTEXT_FILE as shown below (Update ORACLE_HOME path according to your instance)

              <PERL5LIB oa_var=”s_perl5lib” osd=”unix”>/u01/app/oracle/product/12.1.0.2/dbhome_1/perl/lib/5.14.1:/u01/app/oracle/product/12.1.0.2/dbhome_1/perl/lib/site_perl/5.14.1:/u01/app/oracle/product/12.1.0.2/dbhome_1/perl/lib/5.14.1/CGI:/u01/app/oracle/product/12.1.0.2/dbhome_1/appsutil/perl</PERL5LIB>

              2. Run autoconfig

              3. Source the environment.

              4. Run preclone now

              perl adpreclone.pl dbTier


              I check the value of our CONTEXT_FILE and it seems correct?

              How do I update the ORACLE_HOME path?


                       <PERL5LIB oa_var="s_perl5lib" osd="LINUX_X86-64">/home/appprod/PROD/fs1/FMW_Home/webtier/perl/lib/5.10.0:/home/appprod/PROD/fs1/FMW_Home/webtier/perl/lib/site_perl/5.10.0:/home/appprod/PROD/fs1/EBSapps/appl/au/12.0.0/perl:/home/appprod/PROD/fs1/FMW_Home/webtier/ohs/mod_perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi</PERL5LIB>

                       <FORMS_RESTRICT_ENTER_QUERY oa_var="s_forms_restrict_enter_query">TRUE</FORMS_RESTRICT_ENTER_QUERY>

                       <COMMON_TOP oa_var="s_com">/home/appprod/PROD/fs1/EBSapps/comn</COMMON_TOP>

              • 4. Re: EBS R12.2 Required RPMs for OL5,6,7
                Kj - Kiran Jadhav

                Hi,

                 

                Steps you found on google are related to DB node.

                I think you are having issue on application node and PERL5LIB in CONTEXT_FILE looks good.

                 

                On application node can you check:

                 

                cd /home/appprod/PROD/fs1/FMW_Home/webtier/perl/lib/5.10.0

                find . -name Switch.pm

                 

                also check -

                 

                $ perl -version

                $ echo $PATH

                $ echo $PERL5LIB

                 

                Regards,

                Kiran

                1 person found this helpful
                • 5. Re: EBS R12.2 Required RPMs for OL5,6,7
                  Beauty_and_dBest

                  Hi kiran and ALL,

                   

                  There is no env yet because I am starting a fresh clone . All that exist is the folder >  /home/appprod/PROD/fs1/EBSapps

                  By the way the CONTEXT file above is taken from the source instance.



                  Thanks,

                  • 6. Re: EBS R12.2 Required RPMs for OL5,6,7
                    Beauty_and_dBest

                    Hi Kj,

                     

                    $ perl -version

                     

                    This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi

                    (with 29 registered patches, see perl -V for more detail)

                    Copyright 1987-2012, Larry Wall

                     

                    Perl may be copied only under the terms of either the Artistic License or the

                    GNU General Public License, which may be found in the Perl 5 source kit.

                     

                    Complete documentation for Perl, including FAQ lists, should be found on

                    this system using "man perl" or "perldoc perl".  If you have access to the

                    Internet, point your browser at http://www.perl.org/, the Perl Home Page.

                     

                     

                    $ echo $PATH

                    /usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/appprod/.local/bin:/home/appprod/bin

                     

                     

                    $ echo $PERL5LIB

                    [blank]

                    • 7. Re: EBS R12.2 Required RPMs for OL5,6,7
                      Beauty_and_dBest

                      Hi kj and all,

                       

                       

                      I found the file. Is this executable?

                       

                      $ cd /home/appprod/PROD/fs1/EBSapps

                      $ find . -name Switch.pm

                      ./10.1.2/perl/lib/5.6.1/CGI/Switch.pm

                       

                      How do I source it in the $PATH?

                       

                      $ export PATH=$PATH://home/appprod/PROD/fs1/EBSapps/10.1.2/perl/lib/5.6.1/CGI

                      or

                      $ export PATH=$PATH://home/appprod/PROD/fs1/EBSapps/10.1.2/perl/lib/5.6.1/CGI/Switch.pm

                       

                      I done both above but still the error persist


                      Running Rapid Clone with command:

                      Running:

                      perl /home/appprod/PROD/fs1/EBSapps/comn/clone/bin/adclone.pl java=/home/appprod/PROD/fs1/EBSapps/comn/clone/bin/../jre mode=apply stage=/home/appprod/PROD/fs1/EBSapps/comn/clone component=appsTier method=CUSTOM appctxtg=/home/appprod/PROD/fs1/inst/apps/PROD_app/appl/admin/PROD_app.xml showProgress contextValidated=true

                      Can't locate Switch.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/appprod/PROD/fs1/EBSapps/comn/clone/bin/adclone.pl line 40.

                      BEGIN failed--compilation aborted at /home/appprod/PROD/fs1/EBSapps/comn/clone/bin/adclone.pl line 40.

                       

                      ERROR: Failed to execute /home/appprod/PROD/fs1/EBSapps/comn/clone/bin/adclone.pl

                       

                      What exactly is the error?


                      Please help...


                      Thanks

                      • 8. Re: EBS R12.2 Required RPMs for OL5,6,7
                        2940211

                        Hi Jenna,

                         

                        It seems to be you did not set PERL5LIB, please set PERL5LIB then run adcfgclone.

                        Please refer below.

                         

                        Cloning Oracle E-Business Suite Release 12.2 with Rapid Clone (Doc ID 1383621.1)

                        4. Verify Source and Target System software components and versions

                        Perl     5.10.x (or higher)     All Target System nodes     Use the version of Perl shipped with Oracle Fusion Middleware 11g and Oracle Database 11g, or download from Perl.com.

                                                                                Perl must be in your $PATH and $PERL5LIB must be set correctly before cloning.

                         

                        Regards,

                        Dileep

                        • 9. Re: EBS R12.2 Required RPMs for OL5,6,7
                          Kj - Kiran Jadhav

                          You need to use perl shipped with FMW:

                           

                          export path as below and retry:

                           

                          export PERL5LIB=/home/appprod/PROD/fs1/FMW_Home/webtier/perl/lib/5.10.0:$PERL5LIB

                          export PATH=/home/appprod/PROD/fs1/FMW_Home/webtier/perl/bin:$PATH

                           

                          then verify perl:

                           

                          $ which perl

                          $ perl -version

                           

                          Regards,

                          Kiran

                          1 person found this helpful
                          • 10. Re: EBS R12.2 Required RPMs for OL5,6,7
                            Beauty_and_dBest

                            Hi Dileep,

                             

                             

                            Perl is already in my PATH because I can run:

                             

                            $ perl -version

                             

                             

                            This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi

                            (with 29 registered patches, see perl -V for more detail)

                             

                            Copyright 1987-2012, Larry Wall

                             

                            Perl may be copied only under the terms of either the Artistic License or the

                            GNU General Public License, which may be found in the Perl 5 source kit.

                             

                            Complete documentation for Perl, including FAQ lists, should be found on

                            this system using "man perl" or "perldoc perl".  If you have access to the

                            Internet, point your browser at http://www.perl.org/, the Perl Home Page.

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

                             

                            I also set

                            $ echo $PERL5LIB

                            /home/appprod/PROD/fs1/EBSapps/appl/au/12.0.0/perl

                            [appprod@app bin]$ ls -l /home/appprod/PROD/fs1/EBSapps/appl/au/12.0.0/perl

                            total 12

                            drwxr-xr-x. 2 appprod dba 4096 Nov  5  2014 ADOP

                            drwxr-xr-x. 3 appprod dba   17 Nov 24  2012 ADX

                            drwxr-xr-x. 3 appprod dba   27 Nov 24  2012 FND

                            drwxr-xr-x. 2 appprod dba 4096 Nov  5  2014 MSI

                            drwxr-xr-x. 3 appprod dba 4096 Nov  5  2014 TXK

                             

                             

                            But still error persist

                             

                             

                            Please help...

                             

                            Thanks

                            • 11. Re: EBS R12.2 Required RPMs for OL5,6,7
                              Beauty_and_dBest

                              Hi Kj and ALL,

                               

                              You need to use perl shipped with FMW:

                               

                              export path as below and retry:

                               

                              export PERL5LIB=/home/appprod/PROD/fs1/FMW_Home/webtier/perl/lib/5.10.0:$PERL5LIB

                              export PATH=/home/appprod/PROD/fs1/FMW_Home/webtier/perl/bin:$PATH

                               

                              then verify perl:

                               

                              $ which perl

                              $ perl -version

                               

                              Since this is a new fresh machine OL7, those files are non-existent yet.

                              I need to copy those files from source  in a separate folder and include them in the PATH?

                              Then proceed to cloning.

                               

                               

                              Thanks,

                              • 12. Re: EBS R12.2 Required RPMs for OL5,6,7
                                Kj - Kiran Jadhav

                                why are you setting perl to $AU_TOP?

                                 

                                As mentioned earlier set it to $FMW_HOME/webtier/perl

                                 

                                export PERL5LIB=/home/appprod/PROD/fs1/FMW_Home/webtier/perl/lib/5.10.0:$PERL5LIB

                                export PATH=/home/appprod/PROD/fs1/FMW_Home/webtier/perl/bin:$PATH

                                1 person found this helpful
                                • 13. Re: EBS R12.2 Required RPMs for OL5,6,7
                                  Kj - Kiran Jadhav

                                  Ok. Got It.

                                   

                                  It seems bug: Bug 18742107 - exception in using 'switch' module as deprecated in perl version 5.10 onwards

                                   

                                  Can you check :

                                   

                                  cd /usr/lib

                                  find . -name Switch.pm

                                   

                                  Please try to install:

                                  # yum install perl-Switch.noarch


                                  and retry

                                   

                                  Regards,

                                  Kiran

                                  1 person found this helpful
                                  • 14. Re: EBS R12.2 Required RPMs for OL5,6,7
                                    Bashar.

                                    Do you mean the fs1/FMW_Home does not exist yet?

                                    Try executing these commands and try again:

                                     

                                    PERL5LIB=/home/appprod/PROD/fs1/FMW_Home/webtier/perl/lib/5.10.0:/home/appprod/PROD/fs1/FMW_Home/webtier/perl/lib/site_perl/5.10.0:/home/appprod/PROD/fs1/EBSapps/appl/au/12.0.0/perl:/home/appprod/PROD/fs1/FMW_Home/webtier/ohs/mod_perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi

                                    export PERL5LIB


                                    Regards,

                                    Bashar

                                    1 person found this helpful
                                    1 2 Previous Next