5 Replies Latest reply on Nov 15, 2017 2:47 PM by Magnanimous

    Cloning EBS R12.2.7

    Beauty_and_dBest

      Hi ALL,

       

      EBS R12.2.7

      12c

      OL6

       

       

      I am cloning EBS R12.2.7.

      I successfully cloned the dbTier.

       

      But in the appsTier I got the following error

       

      [appv1227@a6dd6a bin]$ perl adcfgclone.pl appsTier dualfs

       

                           Copyright (c) 2002, 2015 Oracle Corporation

                              Redwood Shores, California, USA

       

                              Oracle E-Business Suite Rapid Clone

       

                                       Version 12.2

       

                            adcfgclone Version 120.63.12020000.60

       

      Enter the APPS password :

       

      Enter the Weblogic AdminServer password :

       

      Do you want to add a node (yes/no) [no] :

       

      Running: Context clone...

       

      Log file located at /u03/appv1227/V1227/fs1/EBSapps/comn/clone/bin/CloneContext_1114225437.log

       

      Provide the values required for creation of the new APPL_TOP Context file.

       

      Target System Hostname (virtual or normal) [a6dd6a] :

       

      Target System Database SID : V1227

       

      Target System Database Server Node [a6dd6a] :

       

      Target System Database Domain Name [oraclecloud.com] :

       

      Target System Base Directory : /u03/appv1227/V1227

       

      Target System Base Directory set to /u03/appv1227/V1227

       

      Target System Current File System Base set to /u03/appv1227/V1227/fs1

       

      Target System Other File System Base set to /u03/appv1227/V1227/fs2

       

      Target System Fusion Middleware Home set to /u03/appv1227/V1227/fs1/FMW_Home

      Target System Other File System Fusion Middleware Home set to /u03/appv1227/V1227/fs2/FMW_Home

       

      Target System Web Oracle Home set to /u03/appv1227/V1227/fs1/FMW_Home/webtier

      Target System Other File System Web Oracle Home set to /u03/appv1227/V1227/fs2/FMW_Home/webtier

       

      Target System Appl TOP set to /u03/appv1227/V1227/fs1/EBSapps/appl

      Target System Other File System Appl TOP set to /u03/appv1227/V1227/fs2/EBSapps/appl

       

      Target System COMMON TOP set to /u03/appv1227/V1227/fs1/EBSapps/comn

      Target System Other File System COMMON TOP set to /u03/appv1227/V1227/fs2/EBSapps/comn

       

      Target System Instance Home Directory [/u03/appv1227/V1227] :

       

      Target System Current File System Instance Top set to /u03/appv1227/V1227/fs1/inst/apps/V1227_a6dd6a

       

      Do you want to preserve the Display [localhost:5.0] (y/n)  : n

       

      Target System Display [a6dd6a:0.0] :

       

      Target System Root Service [enabled] :

       

      Target System Web Entry Point Services [enabled] :

       

      Target System Web Application Services [enabled] :

       

      Target System Batch Processing Services [enabled] :

       

      Target System Other Services [disabled] :

       

      Do you want the target system to have the same port values as the source system (y/n) [y] ? : n

       

      Target System Port Pool [0-99] : 55

       

      Checking the port pool 55

      done: Port Pool 55 is free

      Report file located at /u03/appv1227/V1227/fs1/inst/apps/V1227_a6dd6a/admin/out/portpool.lst

       

      UTL_FILE_DIR on database tier consists of the following directories.

       

      1. /usr/tmp

      2. /tmp

      3. /u04/orav1227/V1227/12.1.0/appsutil/outbound/V1227_a6dd6a

      4. /usr/tmp

      Choose a value which will be set as APPLPTMP value on the target node [1] :

      The new APPL_TOP context file has been created :

        /u03/appv1227/V1227/fs1/inst/apps/V1227_a6dd6a/appl/admin/V1227_a6dd6a.xml

      Check Clone Context logfile /u03/appv1227/V1227/fs1/EBSapps/comn/clone/bin/CloneContext_1114225437.log for details.

       

      Creating Patch file system context file.....

       

      Log file located at /u03/appv1227/V1227/fs1/EBSapps/comn/clone/bin/CloneContextPatch_1114225548.log

       

      Target System Other File System Instance Top set to /u03/appv1227/V1227/fs2/inst/apps/V1227_a6dd6a

       

      Target System Port Pool [0-99] : 56

       

      Checking the port pool 56

      done: Port Pool 56 is free

      Report file located at /u03/appv1227/V1227/fs2/inst/apps/V1227_a6dd6a/admin/out/portpool.lst

      RC-00203: Unable to create/write to file /u03/appv1227/V1227/fs2/inst/apps/V1227_a6dd6a/admin/out/portpool.lst.

      RC-50004: Error occurred in CloneContext:

      AC-00005: No write permissions for creating the Context file - /u03/appv1227/V1227/fs2/inst/apps/V1227_a6dd6a/appl/admin/temp.xml

      Raised by oracle.apps.ad.context.AppsContext

      Check Clone Context logfile /u03/appv1227/V1227/fs1/EBSapps/comn/clone/bin/CloneContextPatch_1114225548.log for details.

       

      ERROR: Patch Context creation not completed successfully.

      For additional details review the file /tmp/adcfgclone_14816.err if present.

      Enter the APPS password : Enter the APPS password :

       

      [appv1227@a6dd6a bin]$

       

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

       

      I checked these directory and it is writable to the apps owner

       

      RC-00203: Unable to create/write to file /u03/appv1227/V1227/fs2/inst/apps/V1227_a6dd6a/admin/out/portpool.lst.

      RC-50004: Error occurred in CloneContext:

      AC-00005: No write permissions for creating the Context file - /u03/appv1227/V1227/fs2/inst/apps/V1227_a6dd6a/appl/admin/temp.xml

       

       

       

      Please help....

       

       

      Kind regards,

      jc

        • 1. Re: Cloning EBS R12.2.7
          Beauty_and_dBest

          The log file also shows the same error

           

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

           

          INFO: Updating s_dbGlnam to V1227

           

          INFO: Updating  s_dbSid to V1227

           

          INFO: Updating  s_dbSidLower to v1227

          Checking Proxy Setting

          Source values

                  s_proxyhost :

                  s_proxyport :

          Resetting APPS JDBC URL

           

          setDestination s_contextfile to : /u03/appv1227/V1227/fs2/inst/apps/V1227_a6dd6a/appl/admin/V1227_a6dd6a.xml

          WARNING:

          .end std out.

          cp: cannot create regular file `/u03/appv1227/V1227/fs2/inst/apps/V1227_a6dd6a/appl/admin/temp.xml': No such file or directory

           

          .end err out.

           

          StackTrace:

          java.lang.Exception: AC-00005: No write permissions for creating the Context file - /u03/appv1227/V1227/fs2/inst/apps/V1227_a6dd6a/appl/admin/temp.xml

          Raised by oracle.apps.ad.context.AppsContext

                  at oracle.apps.ad.context.AppsContext.getOaEnabledValues(AppsContext.java:749)

                  at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:1063)

                  at oracle.apps.ad.context.CloneContext.main(CloneContext.java:8059)

           

          RC-50004: Error occurred in CloneContext:

          AC-00005: No write permissions for creating the Context file - /u03/appv1227/V1227/fs2/inst/apps/V1227_a6dd6a/appl/admin/temp.xml

          Raised by oracle.apps.ad.context.AppsContext

          Context file creation not succesful

           

           

           

          Kind regards,

          • 2. Re: Cloning EBS R12.2.7
            Bashar.

            Hi,

             

            It is clear that you do not have write permissions on the fs2 folder for the application owner account:

            Post the output of the following command:

             

            ls -la /u03/appv1227/V1227/fs2

             

            Regards,

            Bashar

            • 3. Re: Cloning EBS R12.2.7
              Beauty_and_dBest

              Ok thanks, im dumb,  its owned by root

               

              But I was sure I run this before > chown -R appv1227.dba  /u03/appv1227  

               

               

               

              Kind regards,

              • 4. Re: Cloning EBS R12.2.7
                Beauty_and_dBest

                Hi Bashar and ALL,

                 

                I see this post install task:

                Once you have provisioned a Release 12.2.6 environment, you have the option of installing additional components to enable use of

                Oracle Distributed Warehouse Management or Oracle Distributed Yard Management.

                 

                Is it needed most of the time? I am not sure if we are using it.

                 

                Kind regards,

                • 5. Re: Cloning EBS R12.2.7
                  Magnanimous

                  For installing any EBS product you might need to check with Business/Manager.

                   

                  Prashant