1 2 Previous Next 21 Replies Latest reply on May 20, 2015 4:48 PM by Luis Brieva

    adop phase=prepare error R12.2

    Luis Brieva

      Hello, I am going to install a patch in EBS 12.2 server. VIS demo versión

       

      I am using adop. but in the first step when I am in: adop phase=prepare I got the I got an ERROR:

       

      error_adop_prepare.png

       

      Anybody can help me.

       

      I have attached the log.

       

      Thanks!

        • 1. Re: adop phase=prepare error R12.2
          Bashar.

          Hi,

           

          Why are you using the "root" user?!

           

          Did you initialize the environment for the run file system before you started?

          Check for active adop sessions using the command:

          adop -status

           

          Regards,

          Bashar

          • 2. Re: Re: adop phase=prepare error R12.2
            Luis Brieva

            Bashar. escribió:

             

            Hi,

             

            Why are you using the "root" user?!

             

            Because when I used "applmgr" user I got another ERROR.

             

            Bashar. escribió:

             

             

            Did you initialize the environment for the run file system before you started?

             

            I source the environment file. That is what you refer??

             

            Bashar. escribió:

             

            Check for active adop sessions using the command:

            adop -status

             

            Regards,

            Bashar

            Adop status (full status attached):

             

             

            Current Patching Session ID: 3

             

            Node Name      Node Type      Phase      Status          Started                        Finished                      Elapsed

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

            ebs122          master          PREPARE    FAILED          19-MAY-15 03:26:29 -05:00      19-MAY-15 03:30:53 -05:00      0:04:24

                                            APPLY      NOT STARTED

                                            CUTOVER    NOT STARTED

                                            CLEANUP    NOT STARTED

             

             

            Thanks!

            • 3. Re: adop phase=prepare error R12.2
              Bashar.

              Hi,

               

              You should fix the error you faced while running it in applmgr. Can you post the error?

               

              Did you source the environment as follows:

              EBSapps.env run

               

              Regards,

              Bashar

              • 4. Re: Re: adop phase=prepare error R12.2
                Luis Brieva

                Bashar. escribió:

                 

                Hi,

                 

                You should fix the error you faced while running it in applmgr. Can you post the error?

                 

                Did you source the environment as follows:

                EBSapps.env run

                 

                Regards,

                Bashar

                Hi Bashar:

                 

                I am sourcing the environment file by this way:

                 

                [applmgr@ebs122 log]$ source /d01/oracle/VIS/fs1/EBSapps/appl/APPSVIS_ebs122.env

                 

                Then I ran adop:

                 

                [applmgr@ebs122 log]$ adop phase=prepare

                 

                 

                Enter the APPS password:

                Enter the SYSTEM password:

                Enter the WLSADMIN password:

                 

                 

                Please wait. Validating credentials...

                AC-00002: Error: Unable to create log file - /d01/oracle/VIS/fs_ne/EBSapps/log/adop/CheckWLSAdminPwd.log

                Exception in thread "main" java.lang.RuntimeException: AC-00002: Unable to create log file - /d01/oracle/VIS/fs_ne/EBSapps/log/adop/CheckWLSAdminPwd.log

                Raised by oracle.apps.ad.util.LogFile

                        at oracle.apps.ad.util.LogFile.appendLogFile(LogFile.java:410)

                        at oracle.apps.ad.util.LogFile.log(LogFile.java:265)

                        at oracle.apps.ad.util.LogFile.info(LogFile.java:244)

                        at oracle.apps.ad.tools.configuration.EBSProvisioner.validateArgs(EBSProvisioner.java:5119)

                        at oracle.apps.ad.tools.configuration.EBSProvisioner.main(EBSProvisioner.java:5143)

                 

                 

                 

                 

                Enter the RUN file system context file name [/d01/oracle/VIS/fs1/inst/apps/VIS_ebs122/appl/admin/VIS_ebs122.xml]:

                 

                 

                Enter the PATCH file system context file name [/d01/oracle/VIS/fs2/inst/apps/VIS_ebs122/appl/admin/VIS_ebs122.xml]:

                 

                 

                [STATEMENT] [END  2015/05/19 17:43:57] Performing verification of parameters

                [STATEMENT] [START 2015/05/19 17:43:58] Checking for the required ENV setup

                [STATEMENT] [END  2015/05/19 17:43:58] Checking for the required ENV setup

                 

                 

                error: Cannot open log file:

                /d01/oracle/VIS/fs1/EBSapps/appl/admin/VIS/log/adpawc.log

                 

                 

                You should check the file

                /d01/oracle/VIS/fs1/EBSapps/appl/admin/VIS/log/adpawc.log

                 

                 

                for errors.

                 

                 

                [STATEMENT] Error occurred while executing adpawc

                [ERROR]    ******** Error while getting recommended worker count ********

                [STATEMENT] Log file: /d01/oracle/VIS/fs_ne/EBSapps/log/adop/adop_20150519_174708.log

                 

                 

                Thanks!.

                • 5. Re: Re: adop phase=prepare error R12.2
                  Bashar.

                  Hi,

                   

                  This is normal as you have been using the root user which creates files with permissions that prevent the applmgr from modifying them.

                  Please change the owner of the whole apps tier folders to applmgr and retry.

                   

                  Regarding sourcing the environment, please use the command I posted in my previous post.

                   

                  Regards,

                  Bashar

                  1 person found this helpful
                  • 6. Re: Re: adop phase=prepare error R12.2
                    Luis Brieva

                    Hello Bashar.

                     

                    I retry with applmgr. The applmgr ERROR is fixed. But still the First issue.

                     

                    The error goes here:

                     

                    ERROR while running FSCloneApply...

                    Wed May 20 09:16:30 2015

                    *******FATAL ERROR*******

                    PROGRAM : (/d01/oracle/VIS/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl)

                    TIME    : Wed May 20 09:16:30 2015

                    FUNCTION: main::migrateCloneComponentApply [ Level 1 ]

                    ERRORMSG: /d01/oracle/VIS/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pl did not go through successfully.

                     

                     

                                  [ERROR]     Error occurred while executing <perl /d01/oracle/VIS/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/d01/oracle/VIS/fs1/inst/apps/VIS_ebs122/appl/admin/VIS_ebs122.xml -patchcontextfile=/d01/oracle/VIS/fs2/inst/apps/VIS_ebs122/appl/admin/VIS_ebs122.xml -promptmsg=hide -console=off -mode=migrate -sessionid=3 -timestamp=20150520_085633 -outdir=/d01/oracle/VIS/fs_ne/EBSapps/log/adop/3/prepare_20150520_085633/VIS_ebs122>

                                  [ERROR]     Error occurred while CONFIG_CLONE PATCH FS with RUN FS using command: <perl /d01/oracle/VIS/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/d01/oracle/VIS/fs1/inst/apps/VIS_ebs122/appl/admin/VIS_ebs122.xml -patchcontextfile=/d01/oracle/VIS/fs2/inst/apps/VIS_ebs122/appl/admin/VIS_ebs122.xml -promptmsg=hide -console=off -mode=migrate -sessionid=3 -timestamp=20150520_085633 -outdir=/d01/oracle/VIS/fs_ne/EBSapps/log/adop/3/prepare_20150520_085633/VIS_ebs122>.

                                  [STATEMENT] fs_clone phase completed with errors/warnings. Please check logfiles

                                  [ERROR]     Error while runPendingConfigClone sub-routine is called

                                  [STATEMENT] [START 2015/05/20 09:16:36] Check and Stop Patch Admin Server

                                    [STATEMENT] There is a pending clone session for /d01/oracle/VIS/fs2.

                                    [STATEMENT] Skipping Check and Stop Patch Admin Server Step.

                                  [STATEMENT] [END   2015/05/20 09:16:41] Check and Stop Patch Admin Server

                                  [STATEMENT] Prepare phase completed with errors/warnings. Please check logfiles

                                  [STATEMENT] PREPARE Phase END TIME: 20-05-2015 09:16:48

                                  [STATEMENT] [START 2015/05/20 09:16:51] Unlocking sessions table

                                  [STATEMENT] [END   2015/05/20 09:16:53] Unlocking sessions table

                                  [STATEMENT] Log file: /d01/oracle/VIS/fs_ne/EBSapps/log/adop/3/adop_20150520_085633.log

                     

                     

                    adop exiting with status = 1 (Fail)

                     

                     

                    It could be that I am using a VISION demo instance?

                     

                    Thanks!

                    • 7. Re: Re: adop phase=prepare error R12.2
                      Bashar.

                      Hi,

                       

                      It has nothing to do with using vision or not.

                       

                      Please post the part of adop log that has detailed error messages (last 50 lines, for example).

                       

                      Regards,

                      Bashar

                      • 8. Re: adop phase=prepare error R12.2
                        Kj - Kiran Jadhav

                        Hi Luis,

                         

                        Please see below note which has similar issue :

                        Why Does ADOP Report a Incorrect Pending Clone Session During Upgrade From 12.2 To 12.2.4? (Doc ID 1947707.1)

                         

                        Regards,

                        Kiran

                        1 person found this helpful
                        • 9. Re: Re: Re: adop phase=prepare error R12.2
                          Luis Brieva

                          Hello Bashar.

                          I have attached two logs. The log.txt is the output from adop. And the second one is the log generated by adop.

                           

                          Thanks.

                          • 10. Re: Re: Re: adop phase=prepare error R12.2
                            Luis Brieva

                            Hi Kj - Kiran Jadhav, thanks for your answer

                             

                            Kj - Kiran Jadhav escribió:

                             

                            Hi Luis,

                             

                            Please see below note which has similar issue :

                            Why Does ADOP Report a Incorrect Pending Clone Session During Upgrade From 12.2 To 12.2.4? (Doc ID 1947707.1)

                             

                            Regards,

                            Kiran

                            In that document I saw a posible solution:

                             

                            1. Run Autoconfig to generate a new adop command file.

                            2. Then perform the following:

                            run adop phase=fs_clone

                             

                             

                            Do you know how can I run AutoConfig. I am searching in google but I cannot found anything that tell me hot to run AutoConfig.

                             

                            Thanks in advance!.

                            • 11. Re: Re: Re: adop phase=prepare error R12.2
                              Kj - Kiran Jadhav

                              Can you let us know which patch you are trying to apply? Did you apply AD and TXK patches recently?

                              • 12. Re: Re: Re: adop phase=prepare error R12.2
                                Bashar.

                                Please run this command and post the output:

                                 

                                adopscanlog -latest=yes

                                 

                                Regards,

                                Bashar

                                • 13. Re: Re: Re: adop phase=prepare error R12.2
                                  Luis Brieva

                                  Kj - Kiran Jadhav

                                  Kj - Kiran Jadhav escribió:

                                   

                                  Can you let us know which patch you are trying to apply?

                                  I am tryng to apply an NLS (ESA - Latin American Spanish language) patch. I downloaded from http://updates.oracle.com/TransSync which oracle provide me that patch.

                                   

                                  Did you apply AD and TXK patches recently?

                                  This is my first patch in this environment. I haver already apply another NLS patch in another environment and I applied without any problem.

                                  • 14. Re: Re: Re: Re: adop phase=prepare error R12.2
                                    Luis Brieva

                                    Hi Bashar.

                                    Bashar. escribió:

                                     

                                    Please run this command and post the output:

                                     

                                    adopscanlog -latest=yes

                                     

                                    Regards,

                                    Bashar

                                     

                                    I run that command and still the problem. I have attached the logs.

                                     

                                    Thanks!.

                                    1 2 Previous Next