3 Replies Latest reply on May 27, 2018 8:01 AM by VishnuVinnakota

    adcfgclone point to wrong directory


      Hi All


      We are on

      R12.1.1 with database on RHEL6 64bit


      While we are performing the adcfgclone.pl dbtechStack , its pointing and checking the wrong directory /appsutil which is not exisits

      and even its not promting for ORALCE_HOME parameter.



      oraprod@erp bin]$ perl adcfgclone.pl dbTechStack

                           Copyright (c) 2002 Oracle Corporation

                              Redwood Shores, California, USA

                              Oracle Applications Rapid Clone

                                       Version 12.0.0

                            adcfgclone Version 120.31.12010000.8

      Enter the APPS password :


      /erp/db/tech_st/11.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /erp/db/tech_st/11.2.0/appsutil/clone/jlib/java:/erp/db/tech_st/11.2.0/appsutil/clone/jlib/xmlparserv2.jar:/erp/db/tech_st/11.2.0/appsutil/clone/jlib/ojdbc5.jar oracle.apps.ad.context.CloneContext -e /erp/db/tech_st/11.2.0/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_9421.lst -stage /erp/db/tech_st/11.2.0/appsutil/clone -dbTechStack 2> /tmp/adcfgclone_9421.err; echo $? > /tmp/adcfgclone_9421.res


      Log file located at /erp/db/tech_st/11.2.0/appsutil/clone/bin/CloneContext_0524082202.log

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

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

      Target Instance is RAC (y/n) [n] : n

      Target System Database SID : UAT

      Target System Base Directory : /erp/db

      Target System utl_file_dir Directory List : /usr/tmp

      Number of DATA_TOP's on the Target System [1] : 1

      Target System DATA_TOP Directory 1 [/erp_data/db/apps_st/data] :

      Do you want to preserve the Display [db01:0.0] (y/n) ? : n

      Target System Display [erp:0.0] :

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

      Target System Port Pool [0-99] : 0

      Checking the port pool 0

      done: Port Pool 0 is free

      Report file located at /appsutil/out/portpool.lst

      RC-00203: Unable to create/write to file /appsutil/out/portpool.lst.

      Complete port information available at /appsutil/out/portpool.lst

      RC-50004: Error occurred in CloneContext:

      AC-00005: No write permissions for creating the Context file - /appsutil/temp.xml

      Raised by oracle.apps.ad.context.AppsContext

      Check Clone Context logfile /erp/db/tech_st/11.2.0/appsutil/clone/bin/CloneContext_0524082202.log for details.


      ERROR: Context creation not completed successfully.

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




      Please suggest, i ahve chcked the old thread and did the same but noluck

      adcfgclone.pl dbTier is not prompting for ORACLE_HOME variable