Adcfgclone.pl on appsTier

Hello All,
Using r12 ebs with 11g DB.
We clone out test instance and everytime when we start adcfgclone.pl appsTier on aplication side it error out with following error:
log file of adcfgclone shows below error:
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /test/DB_oracle/admin/install
afcpctx.sh INSTE8_PRF 137
AutoConfig is exiting with status 1
RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyApplTop
ERROR: AutoConfig completed with errors. Check logfile at /test/inst/apps/DB_oracle/admin/log/ApplyAppsTier_06011113.log for details.
ApplyApplTop Completed Successfully.
# Checking the status of AutoConfig run of ApplyApplTop
Warning : AutoConfig has completed with errors .
Please review the AutoConfig section in the logfile. If required, you can re-run AutoConfig from command line after fixing the problem
to workaround this we have to copy 10.1.2 HOME/lib32/libclntsh.so.10.1 from PROD to test instance in the same location and run autoconfig.
After this workaround everything OK and I can proceed with post cloning steps.
I just want to know where is the problem ? Is there any common mistake I am doing or this is any bug ?
What would be the permanent solution of this cause.
Thanks.

to workaround this we have to copy 10.1.2 HOME/lib32/libclntsh.so.10.1 from PROD to test instance in the same location and run autoconfig.Is there a difference between the file you have in the cloned instance and the one you copy over from prod (source instance) in terms of size?
Was this file originally copied from the source instance? If yes, what was the command used?
Do you have the latest AutoConfig and Rapid Clone patches applied?
Thanks,
Hussein

Similar Messages

  • Adcfgclone.pl on appsTier errors out...

    While running adcfgclone.pl on appsTier we get the following error, at 73% stage
    ORA-12705 : invalid or unknown nls parameter value specified
    Regards,
    Rupdipt

    Hi Rupdipt,
    This seems to be an issue because of invalid NLS_LANG parameter. You can refer the following ML doc
    [ORA-12705 - Common Reasons and How to Resolve Them|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=158654.1]
    Thanks,
    Anchorage :)

  • Adcfgclone.pl  in APPSTIER  fails with Registration

    Hi Hussein:
    I was doing a clone of production system to test instance. The test instance is running on a machine which has one more EBS instance QA running in it.
    When I run the adcfgclone.pl on the test instance machine ( APPS tier ) I tried to reuse the oracle Inventory for the QA instance. At that time the oracle Home registration failed.
    RC-00126: Update inventory failed
    I ignored this message and applied all the post ATG RUP 6.0,ATG RUP 6.0 and POST ATG RUP 6.0 patches on the Apps tier machines. Now I am trying to apply the CPU patch for the HTTP Server and the patch is not getting applied properly. I have attached the log at the end of this posting.
    QA Instance already has all the ATG stuff installed on it. I know for sure that the patch is not getting installed because of the wrong inventory the patch is looking for.
    Now to get the CPU patches working what should I do now. Is there a way to create a new oracle Inventory just for the TEST instance and get this thing going. I do not want to do the clone again and redo the whole ATG patch installation. Is there a work around for this. Your guidence on this issue will help me a lot.
    HTTP SERVER PATCH log file:
    [appltest@xyz 5700129]$ sh installcpu.sh
    Your ORACLE_HOME is /u01/test/appltest/testora/8.0.6
    Your ORAINST is /etc/oraInst.loc
    Your JDK_HOME is /u01/test/appltest/testcomn/util/java/1.4/j2sdk1.4.2_04
    If these are correct, press Y to continue [N] => Y
    Checking the inventory for Component oracle.apache.apache 1.3.19.0.0a
    Checking the inventory please wait for a while....
    This may take few seconds......
    Component oracle.apache.apache 1.3.19.0.0a is not installed
    Please note that patch for Component oracle.apache.apache 1.3.19.0.0a will not be applied
    Checking the inventory for Component oracle.apache.apache 1.3.19.0.0a
    Checking the inventory please wait for a while....
    This may take few seconds......
    Component oracle.apache.apache 1.3.19.0.0a is not installed
    Please note that patch for Component oracle.apache.apache 1.3.19.0.0a will not be applied
    Checking the inventory for Component oracle.rsf.rdbms_rsf 8.1.7.4.0
    Checking the inventory please wait for a while....
    This may take few seconds......
    Component oracle.rsf.rdbms_rsf 8.1.7.4.0 is not installed
    Please note that patch for Component oracle.rsf.rdbms_rsf 8.1.7.4.0 will not be applied
    ** ATTENTION **
    ** Please note that this installation is not secure until all the post- **
    ** installation actions noted in the readme accompanying this patch have been **
    ** successfully completed. **
    Patch Installation Script Completed. Please verify the /u01/test/appltest/testora/8.0.6/cpu/CPUJan2007/install-Sep-06-2009-16-40-23.log for any errors.
    Exiting...
    [appltest@xyz 5700129]$ less /u01/test/appltest/testora/8.0.6/cpu/CPUJan2007/install-Sep-06-2009-16-40-23
    /u01/test/appltest/testora/8.0.6/cpu/CPUJan2007/install-Sep-06-2009-16-40-23: No such file or directory
    [appltest@xyz 5700129]$ less /u01/test/appltest/testora/8.0.6/cpu/CPUJan2007/install-Sep-06-2009-16-40-23.log
    Your ORAINST is /etc/oraInst.loc
    Your JDK_HOME is /u01/test/appltest/testcomn/util/java/1.4/j2sdk1.4.2_04
    If these are correct, press Y to continue [N] => Checking the inventory for Component oracle.apache.apache 1.3.19.0.0a
    Checking the inventory please wait for a while....
    This may take few seconds......
    Component oracle.apache.apache 1.3.19.0.0a is not installed
    Please note that patch for Component oracle.apache.apache 1.3.19.0.0a will not be applied
    Checking the inventory for Component oracle.apache.apache 1.3.19.0.0a
    Checking the inventory please wait for a while....
    This may take few seconds......
    Component oracle.apache.apache 1.3.19.0.0a is not installed
    Please note that patch for Component oracle.apache.apache 1.3.19.0.0a will not be applied
    Checking the inventory for Component oracle.rsf.rdbms_rsf 8.1.7.4.0
    Checking the inventory please wait for a while....
    This may take few seconds......
    Component oracle.rsf.rdbms_rsf 8.1.7.4.0 is not installed
    Please note that patch for Component oracle.rsf.rdbms_rsf 8.1.7.4.0 will not be applied
    ** ATTENTION **
    ** Please note that this installation is not secure until all the post- **
    ** installation actions noted in the readme accompanying this patch have been **
    ** successfully completed. **
    Patch Installation Script Completed. Please verify the /u01/test/appltest/testora/8.0.6/cpu/CPUJan2007/install-Sep-06-2009-16-40-23.
    log for any errors.
    Exiting...

    Hi Hussein:
    Sorry about the delay. I did'nt take the oracle recommended route. i copied the Application Inventory from the Production machine and updated the entries to match the test instance. We have to edit comps.xml and inventory.xml to reflect TEST values. Finally every thing worked as expected. The patching is complete. Thanks a Ton.
    Regards,
    Bala

  • Issue in running autoconfig in appsTier while cloning

    Hi my dear Friends
    I am working on a clone. I completed post clone in dbTier. Now my DB is up and running. Then I ran adcfgclone.pl in appsTier. It completed with some errors in autoconfig.
    The content of log file:
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: E:\TEST\testcomn\admin\install\TEST_fintest
    adgenjky.cmd INSTE8_SETUP 128
    [APPLY PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: E:\TEST\testcomn\admin\install\TEST_fintest
    adsvalsn.cmd INSTE8_APPLY -1
    AutoConfig is exiting with status 2
    I modified the environmental variable DISCO_JRE to point to the jre in my COMMON_TOP.
    After this wen i ran autoconfig it stopped abruptly. In log i found the below:
    Starting AutoConfig at Sun Mar 8 09:33:47 2009
    Using adconfig.pl version 115.74
    Classpath :
    Version Conflicts among development maintained and customized templates encountered; aborting AutoConfig run.
    The logfile for this session is located at: D:\TEST\testappl\admin\TEST_fintest\log\03080933\adconfig.log
    Then i rolled back my environmental variable DISCO_JRE to the old value but no result.
    Please can any one help me get rid of this problem?
    Regards
    Ridhi Sundar

    I found this.
    STEPS
    The issue can be reproduced at will with the following steps:
    1. Following Note: 238276.1 - Migrating to Linux with Oracle Applications Release 11i
    2. Follow Section 2: Migrate Platforms with Oracle Applications 11i
    3. Follow step 7. Run AutoConfig setup phase on the target system
    4. Run command line:
    ./adconfig.sh run=INSTE8_SETUP contextfile=/u001/.../contextFILE.xml
    Changes
    The OS environment variable JAVA_HOME is set.
    Cause
    $JAVA_HOME misdirects adconfig to the wrong jre.
    Solution
    Simply issue the following command:
    unset JAVA_HOME
    Then you can run adconfig.sh without the above error.
    Hope helps
    Regards.

  • Adcfgclone automation question

    R12.1.3 running on RH Linux 5.8.
    I have my rapid clone configuration almost automated but I run into a problem when running adcfgclone on the appsTier.
    I can pass in the apps password but I don't want it to start the services when done so is there a way to pass "N' to adcfgclone.pl while also passing in the apps password?
    Example I use now is as shown below but it then sits waiting for Y/N to startup services:
    echo ${appspwd} | perl adcfgclone.pl appsTier $CONTEXT_FILE

    I believe I have what I need now via 'expect'.
    I was assisted by this post http://mohamedelazab.blogspot.ca/2013/07/nice-notes-for-automating-cloning-11i.html
    And for anybody else who stumbles on this thread here is what I run now.
    When it comes to the adcfgclone step in my bash script I have:
    /usr/bin/expect adcfgclone.exp  >$LOG_FILE_HOME/adcfgclone.log
    Where the contents of the file are:
    ================================================================================
    #!/usr/bin/expect -f
    set force_conservative 0  ;# set to 1 to force conservative mode even if
                              ;# script wasn't run conservatively originally
    if {$force_conservative} {
            set send_slow {1 .1}
            proc send {ignore arg} {
                    sleep .1
                    exp_send -s -- $arg
    set timeout -1
    spawn perl adcfgclone.pl appsTier /app/oracle/ebsxxx/inst/apps/EBSXXX_yyy/appl/admin/EBSXXX_yyy.xml
    match_max 100000
    expect -exact "\r
    Enter the APPS password : "
    send -- "myappspwd\r"
    expect -exact "\r
    Do you want to startup the Application Services for EBSXXX? (y/n) \[y\] : "
    send -- "n\r"
    expect eof
    ==================================================================================
    Then I run adautocfg and finally adstrtal.
    I hope this post is not premature as I have yet to tun the whole thing together and via cron but on the cmd line works.

  • Adcfgclone error ...

    Hi,
    i get the follwoing error while running adcfgclone.pl on appsTier:
    First Creating a new context file for the cloned system.
    The program is going to ask you for information about the new system :
    ERROR: context creation not completed successfully.
    Please check /tmp/adcfgclone.err file for errors
    ...ADCFGCLONE.ERR contents ...
    JVMDG217: Dump Handler is Processing Signal 4 - Please Wait.
    JVMDG303: JVM Requesting Java core file
    JVMDG304: Java core file written to
    [...]/classpath/classpath/javacore.20050309.120918.18401.txt
    JVMDG215: Dump Handler has Processed Exception Signal 4.
    Thanks,
    Sai Ram

    Hi;
    What is your EBS and OS? I belive its aix, please check below notes:
    Adcfgclone Fails at AppsTier on AIX with error JVMXM004 [ID 457600.1]
    JVM Core Error JVMX004 When Running adcfgclone.pl on AIX [ID 393723.1]
    Running Adpreclone.Pl Get Java Core Dump. [ID 396594.1]
    JVM Core Error JVMX004 When Running Adpreclone.pl on AIX [ID 374713.1]
    Regard
    Helios

  • Cloning failed in Oracle EBS 11i

    Hi All,
    I have faced one issue while doing cloning ..
    while running adcfgclone.pl on appsTier the scripts struck or hangs at ADX Database Utility.
    and i cancelled after sometime than ran once again but no use and getting failed when Generate Tns Names...
    log shows like below.....
    Generate Tns Names
    Logfile: /oracle/apps/TEST/testappl/admin/TEST_oraapps02/log/06201413/NetServiceHandler.log
    Classpath : /oracle/apps/TEST/testcomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/oracle/apps/TEST/testcomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/oracle/apps/TEST/testcomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/oracle/apps/TEST/testcomn/java/appsborg2.zip:/oracle/apps/TEST/testcomn/java
    Updating s_tnsmode to 'generateTNS'
    UpdateContext exited with status: 0
    Result : FAILED
    ===========================================================================
    Ending Context Value Management System.
    ===========================================================================
    ===========================================================================
    Uploading file system Context file and its templates to the database
    Context file :
    /oracle/apps/TEST/testappl/admin/TEST_oraapps02.xml
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL=''
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : oraapps02
    sDbDomain : emri.net
    sDbPort : 1528
    sDbSid : TEST
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@oraapps02.emri.net:1528:TEST
    Connection obtained
    -------------------ADX Database Utility Finished---------------
    =============================================================
    please resolve this issue...
    Thanks in Advance.....

    Hi Hussein,
    Thanks for reply and i followed solution as per the above but queries fails with below errors..
    SQL> conn applsys/apps
    Connected.
    SQL> ALTER INDEX fnd_lobs_ctx REBUILD;
    ALTER INDEX fnd_lobs_ctx REBUILD
    ERROR at line 1:
    ORA-29868: cannot issue DDL on a domain index marked as LOADING
    [appltest@oraapps02 TEST_oraapps02]$ sqlplus 'apps/apps'
    SQL*Plus: Release 8.0.6.0.0 - Production on Mon Jun 25 10:04:24 2012
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    SQL>
    SQL> @adupdlobs.sql apps apps TEST
    Connected.
    declare
    ERROR at line 1:
    ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE
    ORA-06512: at line 39
    ORA-06512: at line 94
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    please tell me how to resolve this?
    and i have tried with fresh rapid clone but same issue is running autoconfig fails or hangs at the script called adupdlobs.p...
    after sometime i have tried to run autoconfig on both tiers after bounce the DATABASE first on dbTier unfortunately autocnfig successfully completed on the both nodes..
    after i have started all services and but not getting login page and i tried to bounce the services after hitting adstpall.sh it was hangs and not go down.
    even after sometime i kill all process manually bounce the database and start the services
    but unable to get login page....
    please give me reply with solution...
    Thanks for your support .............
    Edited by: 865955 on Jun 25, 2012 4:53 PM

  • Adautoconfig.cmd error "Error: Context value Management Failed."

    Starting Autoconfig at wed Nov 10 16:38:56 2010
    using adconfig.pl version 115.82
    classpath :c:\jdk13\jre\lib\rt.jar;c:\jdk13\jre\lib\i18n.jar;c:\jdk.........more jdk files locations
    Starting utility to Report version conflicts at wed Noc 10 16:38:57 VET 2010
    Using VersionConflictListGenerator.java version 115.4
    All driver files processed.
    No version conflict encountered.
    using Context file :F:\oracle\prodappl\admin\TEST_XXXXX.xml
    Attempting to create a back up of the Context file
    Create back up file of name :
    f:\oracle\prodappl\admin\TEST_XXXXX\our\11101638\TEST_XXXXXXdb.xml
    Starting synchronization of file system context file and its templates with those in the database.
    Error: Context value Management Failed.
    Terminated.
    The logfile for this session is located at :
    xxxxxxxlocationxxxxxxxxxxxxxxxxxx
    Dear all , the above log file created after adcfgclone in appsTier, is any one tel me what is the problem,, where what may went wrong,, am not getting any clear idea about this,,

    This is the excate error while running adautoconfig*
    Context Value Management will now update the Context file
    Exception in thread "main" java.lang.NoClassDefFoundError: java/sql/Savepoint
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
    +6)+
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:551)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:351)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:172)
    at oracle.apps.ad.util.DBUtil.getConnectionUsingSID(DBUtil.java:253)
    at oracle.apps.ad.util.DBUtil.getConnection(DBUtil.java:410)
    at oracle.apps.ad.util.DBUtil.getConnectionUsingAppsJDBCConnector(DBUtil
    +.java:590)+
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.getDBConnection(
    FileSysDBCtxMerge.java:760)
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.initializeParams
    +(FileSysDBCtxMerge.java:147)+
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.setParams(FileSy
    sDBCtxMerge.java:128)
    at oracle.apps.ad.context.CtxValueMgt.mergeCustomInFiles(CtxValueMgt.jav
    a:1762)
    at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:15
    +79)+
    at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:709)
    Error returned from java. Context Value Management was aborted
    ERROR: Context Value Management Failed.
    Terminate.
    The logfile for this session is located at:
    f:\oracle\prodappl\admin\TEST_ppclone5db\log\11110958\adconfig.log
    F:\oracle\prodcomn\admin\scripts\TEST_ppclone5db>
    Previously while running the adcfgclone.pl in appsTier we faced error...
    Tail details of the ApplyAppsTier_xx.log
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Script Success, Profiles set.
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    Product Top Drivers executed : AD_TOP FND_TOP ICX_TOP IEO_TOP ABM_TOP ECX_TOP BIS_TOP GL_TOP AMS_TOP CCT_TOP WSH_TOP CLN_TOP OKE_TOP OKL_TOP OKS_TOP CSF_TOP XNC_TOP IGS_TOP IBY_TOP PA_TOP JTF_TOP MWA_TOP CN_TOP CSI_TOP WIP_TOP CSE_TOP EAM_TOP IMT_TOP FTE_TOP ONT_TOP AR_TOP AHL_TOP OZF_TOP IES_TOP CSD_TOP IGC_TOP
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: f:\oracle\prodcomn\admin\install\TEST_ppclone5db
    adgendbc.cmd INSTE8_SETUP 1
    [APPLY PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: f:\oracle\prodcomn\admin\install\TEST_ppclone5db
    adsvalsn.cmd INSTE8_APPLY -1
    adsvcm.cmd INSTE8_APPLY 1
    Directory: f:\oracle\prodora\iAS\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe -I f:\oracle\prodora\iAS\Apache\perl\5.00503\lib\MSWin32-x86 -I f:\oracle\prodora\iAS\Apache\perl\5.00503\lib -I f:\oracle\prodora\iAS\Apache\perl\site\5.00503\lib\MSWin32-x86 -I f:\oracle\prodora\iAS\Apache\perl\site\5.00503\lib -I f:\oracle\prodappl\au\11.5.0\perl f:\oracle\prodcomn\admin\install\TEST_ppclone5db
    adadmat.pl INSTE8_APPLY 256
    AutoConfig is exiting with status 4
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyApplTop
    Completed ApplyApplTop.
    ERROR: AutoConfig completed with errors. Check logfile at f:\oracle\prodappl\admin\TEST_ppclone5db\log\ApplyAppsTier_11101111.log for details.
    # Checking the status of AutoConfig run of ApplyApplTop
    Warning : AutoConfig has completed with errors .
    Please review the AutoConfig section in the logfile. If required, you can re-run AutoConfig from command line after fixing the problem
    Dear Kindly let me know what is the mistake we have done in this
    Edited by: user9111553 on Nov 11, 2010 8:15 AM

  • Cloning R12 on Same system win2003

    Hello,
    I am new to apps DBA, I have some basic doubts about cloning. I have installed apps12 on windows2003. I would like to clone this R12 on the same machine (different physical hard disk).
    1. Executed preclone on dbTier & appsTier.
    2. shutdown services & copied
    d:\oracle\VIS\apps to E:\clone\oracle\VIS\apps
    d:\oracle\VIS\db to E:\clone\oracle\VIS\db
    3. on dbTier of Target directory , I executed perl adcfgclone.pl dbTier
    Then answered various prompts.
    But during 6% only it is exiting with error. When checked services, listener is created & started. When i see log,
    it says cannot connect to database, and after several steps protocol error also
    please guide me....
    And also
    (i) should I change SID of target as in above step (2)
    E:\clone\oracle\VIS to E:\clone\oracle\XYZ
    (ii) before running adcfgclone in above step(3), which context file I have execute.
    (ii) During post clone process, I mean when executing adcfgclone.pl dbTier/appsTier some errors might be thrown. Inthat case how can I restart failed clone? Do I have to start all over again? When I run adcfgclone.pl again, Do i need to give different instane name, port pool during prompts?
    Thanks for stopping by & replying.

    Hi,
    But during 6% only it is exiting with error. When checked services, listener is created & started. When i see log,
    it says cannot connect to database, and after several steps protocol error also
    please guide me....Please post the complete error message from the logs.
    And also
    (i) should I change SID of target as in above step (2)
    E:\clone\oracle\VIS to E:\clone\oracle\XYZYes.
    (ii) before running adcfgclone in above step(3), which context file I have execute. The context file will be created for you by Rapid Clone, so you do not have to execute any.
    (ii) During post clone process, I mean when executing adcfgclone.pl dbTier/appsTier some errors might be thrown. Inthat case how can I restart failed clone? Do I have to start all over again? When I run adcfgclone.pl again, Do i need to give different instane name, port pool during prompts?Yes, you will have to issue the same command again. Do not give different instance name or port pool, just use the same ones you entered before (unless there is an issue with those values).
    Regards,
    Hussein

  • Getting error while running Perl adcfgclone.pl appsTier

    hi ,
    i m getting error while running Perl adcfgclone.pl appsTier
    error:ksh: Perl: not found
    i check for per and ksh
    which perl
    /usr/bin/perl
    which ksh
    /usr/bin/ksh
    (my os out put for perl ,my os is SunOS testserver 5.10 Generic_137137-09 sun4u sparc SUNW,Ultra-250)
    perl -V
    /appl2/applmgr2/prodora/iAS/Apache/perl/lib/5.00503
    /appl2/applmgr2/prodora/iAS/Apache/perl/lib/site_perl/5.005
    /appl2/applmgr2/prodappl/au/11.5.0/perl
    /usr/perl5/5.8.4/lib/sun4-solaris-64int
    /usr/perl5/5.8.4/lib
    /usr/perl5/site_perl/5.8.4/sun4-solaris-64int
    /usr/perl5/site_perl/5.8.4
    /usr/perl5/site_perl
    /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
    /usr/perl5/vendor_perl/5.8.4
    /usr/perl5/vendor_perl
    which i need to set in path
    PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin (like this )
    export PATH
    please help me out

    hi ,
    here is the out put
    # pwd
    /appl2/applmgr2/prodora/iAS/Apache/perl
    # perl -V
    Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
    Platform:
    osname=solaris, osvers=2.10, archname=sun4-solaris-64int
    uname='sunos localhost 5.10 sun4u sparc SUNW,Ultra-2'
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    Compiler:
    cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO',
    optimize='-xO3 -xspace -xildoff',
    cppflags=''
    ccversion='Sun WorkShop', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
    Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
    Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE'
    cccdlflags='-KPIC', lddlflags='-G'
    Characteristics of this binary (from libperl):
    Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
    Locally applied patches:
    22667 The optree builder was looping when constructing the ops ...
    22715 Upgrade to FileCache 1.04
    22733 Missing copyright in the README.
    22746 fix a coredump caused by rv2gv not fully converting a PV ...
    22755 Fix 29149 - another UTF8 cache bug hit by substr.
    22774 [perl #28938] split could leave an array without ...
    22775 [perl #29127] scalar delete of empty slice returned garbage
    22776 [perl #28986] perl -e "open m" crashes Perl
    22777 add test for change #22776 ("open m" crashes Perl)
    22778 add test for change #22746 ([perl #29102] Crash on assign ...
    22781 [perl #29340] Bizarre copy of ARRAY make sure a pad op's ...
    22796 [perl #29346] Double warning for int(undef) and abs(undef) ...
    22818 BOM-marked and (BOMless) UTF-16 scripts not working
    22823 [perl #29581] glob() misses a lot of matches
    22827 Smoke [5.9.2] 22818 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 cpu)
    22830 [perl #29637] Thread creation time is hypersensitive
    22831 improve hashing algorithm for ptr tables in perl_clone: ...
    22839 [perl #29790] Optimization busted: '@a = "b", sort @a' ...
    22850 [PATCH] 'perl -v' fails if local_patches contains code snippets
    22852 TEST needs to ignore SCM files
    22886 Pod::Find should ignore SCM files and dirs
    22888 Remove redundant %SIG assignments from FileCache
    23006 [perl #30509] use encoding and "eq" cause memory leak
    23074 Segfault using HTML::Entities
    23106 Numeric comparison operators mustn't compare addresses of ...
    23320 [perl #30066] Memory leak in nested shared data structures ...
    23321 [perl #31459] Bug in read()
    27722 perlio.c breaks on Solaris/gcc when > 256 FDs are available
    SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
    6663288 Upgrade to CGI.pm 3.33
    REGEXP0 - fix for UTF-8 recoding in regexps - CVE-2007-5116
    Built under solaris
    Compiled at Jul 31 2008 12:07:52
    @INC:
    /usr/perl5/5.8.4/lib/sun4-solaris-64int
    /usr/perl5/5.8.4/lib
    /usr/perl5/site_perl/5.8.4/sun4-solaris-64int
    /usr/perl5/site_perl/5.8.4
    /usr/perl5/site_perl
    /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
    /usr/perl5/vendor_perl/5.8.4
    /usr/perl5/vendor_perl
    Thanks &Regard

  • Perl adcfgclone.pl appsTier get error.

    Hi,
    #------Log File created at: 09200202------------
    # $Header: CloneContext.java 115.201 2006/03/22 19:30:45 marderiu ship $
    # Running CloneContext on machine - serugp07
    Initializing the Apps Service Context varibale Hash
    DEBUG: Apps Service Status context variable extracted from the given Apps context file
    s_apcstatus
    s_apc_restrict_status
    s_apcstatus_pls
    s_tnsstatus
    s_tcfstatus
    s_concstatus
    s_formsstatus
    s_reptstatus
    s_metcstatus
    s_metsstatus
    s_icsmstatus
    s_jtffsstatus
    s_icxblkstatus
    s_discostatus
    Variables extracted from pairsfile: /tmp/adpairsfile.lst
    Variable :s_appsuser
    Value :applmgr
    Variable :s_appsgroup
    Value :dba
    PROMPT :
    Do you want to use a virtual hostname for the target node (y/n) [n] ?
    ANSWER :
    n
    PROMPT :
    Target system database SID [PROD]
    ANSWER :
    DEV
    PROMPT :
    Target system domain name [ugp.co.th]
    ANSWER :
    ugp.co.th
    Default value found for s_contextname : DEV_serugp07
    PROMPT :
    Target system database server node [iris]
    ANSWER :
    serugp07
    PROMPT :
    Target system database domain name [ugp.co.th]
    ANSWER :
    ugp.co.th
    PROMPT :
    Does the target system have more than one application tier server node (y/n) [y] ?
    ANSWER :
    n
    PROMPT :
    Is the target system APPL_TOP divided into multiple mount points (y/n) [n] ?
    ANSWER :
    n
    PROMPT :
    Target system APPL_TOP mount point [prodappl]
    ANSWER :
    /data/devappl
    PROMPT :
    Target system COMMON_TOP directory [prodcomn]
    ANSWER :
    /data/devcomn
    PROMPT :
    Target system 8.0.6 ORACLE_HOME directory [prodora/8.0.6]
    ANSWER :
    /data/devora/8.0.6
    PROMPT :
    Target system iAS ORACLE_HOME directory [prodora/iAS]
    ANSWER :
    /data/devora/iAS
    PROMPT :
    Do you want to preserve the Display set to zeus:1.0 (y/n) [y] ?
    ANSWER :
    n
    PROMPT :
    Target system Display [serugp07:0.0]
    ANSWER :
    serugp07:0.0
    DEBUG:
    The source s_jdktop is set to an external JDK, so don't blindly set the same External JDK to the target also
    DEBUG:Target s_jdktop : null
    PROMPT :
    Location of the JDK on the target system [opt/java1.4]
    ANSWER :
    /data/devcomn/java
    DEBUG:
    The Source s_jretop is not set to a jretop, Setting s_jretop to the target s_jdktop
    PROMPT :
    Target system JRE_TOP [opt/java1.4]
    ANSWER :
    /data/devora/8.0.6/jre11813
    Default value found for s_javatop : /data/devcomn/java
    Default value found for s_temp : /data/devcomn/temp
    Target node service definitions:
         Database = YES
         ConcMgr = YES
         Forms = YES
         Web = YES
         Administration = YES
    PROMPT :
    Do you want to preserve the port values from the source system on the target system (y/n) [y] ?
    ANSWER :
    n
    Started testing the availabilty of ports in port pool 10
    s_webport available: Port Value = 8010
    s_rpcport available: Port Value = 1636
    s_repsport available: Port Value = 7010
    s_oprocmgr_port available: Port Value = 8110
    s_webport_pls available: Port Value = 8210
    s_servletport available: Port Value = 8810
    s_formsport available: Port Value = 9010
    s_metdataport available: Port Value = 9110
    s_metreqport available: Port Value = 9210
    s_jtfuf_port available: Port Value = 9310
    s_mapviewer_port available: Port Value = 9810
    s_oemweb_port available: Port Value = 10010
    s_osagent_port available: Port Value = 10110
    s_mwaPortNo available: Port Value = 10260
    s_mwaPortNo available: Port Value = 10261
    s_mwaPortNo available: Port Value = 10262
    s_mwaPortNo available: Port Value = 10263
    s_mwaPortNo available: Port Value = 10264
    s_mwaPortNo available: Port Value = 10265
    s_mwaTelnetPortNo available: Port Value = 10260
    s_mwaTelnetPortNo available: Port Value = 10261
    s_mwaTelnetPortNo available: Port Value = 10262
    s_mwaTelnetPortNo available: Port Value = 10263
    s_mwaTelnetPortNo available: Port Value = 10264
    s_mwaDispatcherPort available: Port Value = 10340
    s_mwaDispatcherPort available: Port Value = 10341
    s_mwaDispatcherPort available: Port Value = 10342
    s_mwaDispatcherPort available: Port Value = 10343
    s_oacore_servlet_portrange available: Port Value = 16100
    s_oacore_servlet_portrange available: Port Value = 16101
    s_oacore_servlet_portrange available: Port Value = 16102
    s_oacore_servlet_portrange available: Port Value = 16103
    s_oacore_servlet_portrange available: Port Value = 16104
    s_oacore_servlet_portrange available: Port Value = 16105
    s_oacore_servlet_portrange available: Port Value = 16106
    s_oacore_servlet_portrange available: Port Value = 16107
    s_oacore_servlet_portrange available: Port Value = 16108
    s_oacore_servlet_portrange available: Port Value = 16109
    s_disco_servlet_portrange available: Port Value = 17100
    s_disco_servlet_portrange available: Port Value = 17101
    s_disco_servlet_portrange available: Port Value = 17102
    s_disco_servlet_portrange available: Port Value = 17103
    s_disco_servlet_portrange available: Port Value = 17104
    s_disco_servlet_portrange available: Port Value = 17105
    s_disco_servlet_portrange available: Port Value = 17106
    s_disco_servlet_portrange available: Port Value = 17107
    s_disco_servlet_portrange available: Port Value = 17108
    s_disco_servlet_portrange available: Port Value = 17109
    s_forms_servlet_portrange available: Port Value = 18100
    s_forms_servlet_portrange available: Port Value = 18101
    s_forms_servlet_portrange available: Port Value = 18102
    s_forms_servlet_portrange available: Port Value = 18103
    s_forms_servlet_portrange available: Port Value = 18104
    s_forms_servlet_portrange available: Port Value = 18105
    s_forms_servlet_portrange available: Port Value = 18106
    s_forms_servlet_portrange available: Port Value = 18107
    s_forms_servlet_portrange available: Port Value = 18108
    s_forms_servlet_portrange available: Port Value = 18109
    s_tcfport available: Port Value = 15010
    s_xmlsvcs_servlet_portrange available: Port Value = 19100
    s_xmlsvcs_servlet_portrange available: Port Value = 19101
    s_xmlsvcs_servlet_portrange available: Port Value = 19102
    s_xmlsvcs_servlet_portrange available: Port Value = 19103
    s_xmlsvcs_servlet_portrange available: Port Value = 19104
    s_xmlsvcs_servlet_portrange available: Port Value = 19105
    s_xmlsvcs_servlet_portrange available: Port Value = 19106
    s_xmlsvcs_servlet_portrange available: Port Value = 19107
    s_xmlsvcs_servlet_portrange available: Port Value = 19108
    s_xmlsvcs_servlet_portrange available: Port Value = 19109
    s_java_object_cache_port available: Port Value = 12355
    Attempting to connect to database using :
    jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV,APPS,apps
         DbSid :DEV
         DbHost :serugp07
         DomainName:ugp.co.th
         DbPort :1531
    ADX Database Utility
    getConnection() -->
    sDbHost : serugp07
    sDbDomain : ugp.co.th
    sDbPort : 1531
    sDbSid : DEV
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV
    Connection obtained
    -------------------ADX Database Utility Finished---------------
    Attempting to connect to database using :
    jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV,APPS,apps
         DbSid :DEV
         DbHost :serugp07
         DomainName:ugp.co.th
         DbPort :1531
    ADX Database Utility
    getConnection() -->
    sDbHost : serugp07
    sDbDomain : ugp.co.th
    sDbPort : 1531
    sDbSid : DEV
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@serugp07.ugp.co.th:1531:DEV
    Connection obtained
    -------------------ADX Database Utility Finished---------------
    StackTrace:
    java.lang.NullPointerException
         at oracle.apps.ad.tools.configuration.CVMHelper.getDBInitParameters(CVMHelper.java:181)
         at oracle.apps.ad.tools.configuration.CVMHelper.getDBName(CVMHelper.java:253)
         at oracle.apps.ad.context.CloneContext.setDatabaseName(CloneContext.java:7150)
         at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:638)
         at oracle.apps.ad.context.CloneContext.main(CloneContext.java:6071)
    RC-50004: Error occurred in CloneContext:
    null
    Context file creation not succesful
    wanjarus
    Thank you.

    Hi,
    Please see
    Perl Adcfgclone.pl AppsTier Fail With Error: NullPointerException in CVMHelper.getDBInitParameters [ID 726509.1]
    perl adcfgclone.pl appsTier fails with ORA-00600 during CloneContext [ID 304037.1]
    Thanks

  • Perl adcfgclone.pl appsTier

    Hi,
    I run $perl adcfgclone.pl appsTier before 11 hours and still running.
    Please suggest what should I do ?
    Beginning application tier Apply - Sat Nov 7 07:18:01 2009
    Log file located at $APPL_TOP/admin/$CONTEXT_NAME/log/ApplyAppsTier_11070718.log
    - 10% completed
    it is still 10 %and running state.
    Thanks in Advance...

    Hi,
    tail -f $APPL_TOP/admin/$CONTEXT_NAME/log/ApplyAppsTier_11070718.log
    dest : $IAS_ORACLE_HOME/Apache/Apache/conf/WebAgent.conf
    backup : $IAS_ORACLE_HOME/Apache/Apache/conf/WebAgent.conf to $IAS_ORACLE_HOME/appsutil/out/$CONTEXT_NAME/WebAgent2.conf
    instantiate file:
    source :$IAS_ORACLE_HOME/appsutil/template/Apache/Apache/conf/httpd.conf_withsso
    dest : $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf_withsso
    backup : $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf_withsso to $IAS_ORACLE_HOME/appsutil/out/$CONTEXT_NAME/httpd2.conf_withsso
    instantiate file:
    source : $IAS_ORACLE_HOME/appsutil/template/Apache/Apache/conf/httpd.conf_withsso2
    dest : $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf_withsso2
    backup : $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf_withsso2 to $IAS_ORACLE_HOME/appsutil/out/$CONTEXT_NAME/httpd0.conf_withsso2
    It seems that it stucks at $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf_withsso2.

  • Adcfgclone.pl appsTier error.

    hi all,
    i am getting followin error while doin clone.
    perl adcfgclone.pl appsTier
    Error while running adlnktools.sh.
    return code = .16.17.18.21.22.23.24.25.32.33.34.36.37.38
    Please check logfile located at /erpdev1/apprt/inst/apps/RUAT_reeldev/logs/ora/10.1.2/install/make_04171031.log
    i have checked log file. it gives multiple follwoin error.
    ld: Can't find library for -ljava
    Fatal error.
    *** Error exit code 1
    regards,
    sandeep

    hi,
    i think there is some other issue.
    Details:
    OS: HP UX Itanium.
    Apps Release: R12. (12.0.6)
    Cloing from production server to devlopment server.
    we already have clone some inatnace on the same server.
    i have gone through with suggested note but SHLIB_PATH is already set to $ORACLE_HOME/jdk/jre/lib.....
    clone instance is started also, but only Internal Manager only running devlopment server and rest all manager are showing prodution server node name and not running.
    manager log for standard manager
    An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_REELERPH. There may be a network configuration problem, or the TNS listener on node FNDFS_REELERPH may not be running. Please contact your system administrator.
    listener is already running.
    regards,
    sandeep.

  • Error running adcfgclone.pl dbconfig post-clone

    Attempting a clone/refresh of our TEST EBSR12 environment. Followed steps in the documentation. First, I ran adrpeclone.pl dbTier. Next I ran adpreclone.pl appsTier. Subsequently, I copied the source $APPL_TOP, $COMN_TOP, and TechStack from source system to target system. Next step was to shutdown DB and run adcfgclone.pl dbTechStack. Then, target DB control files were created and RMAN restore commenced. Once this was finished, the DB was started in open mode, @adupdlib.sql script was run, and target DB was configured using perl adcfgclone.pl dbconfig (and reading in the XML context file) Result was a failure:
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [PROFILE PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: /u01/oracle/ebstst/db/tech_st/11.1.0/appsutil/install/ebstst_p10tst01
    afdbprf.sh INSTE8_PRF 1
    [APPLY PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: /u01/oracle/ebstst/db/tech_st/11.1.0/appsutil/install/ebstst_p10tst01
    adcrobj.sh INSTE8_APPLY 1
    Any pointers? All I see in the logfile is "ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor" This is impossible because all the info in the TNSNames file is set correctly.

    Please post the details of the application release, database version and OS.
    Attempting a clone/refresh of our TEST EBSR12 environment. Followed steps in the documentation. First, I ran adrpeclone.pl dbTier. Next I ran adpreclone.pl appsTier. Subsequently, I copied the source $APPL_TOP, $COMN_TOP, and TechStack from source system to target system. Next step was to shutdown DB and run adcfgclone.pl dbTechStack. Then, target DB control files were created and RMAN restore commenced. Once this was finished, the DB was started in open mode, @adupdlib.sql script was run, and target DB was configured using perl adcfgclone.pl dbconfig (and reading in the XML context file) Result was a failure:
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [PROFILE PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: /u01/oracle/ebstst/db/tech_st/11.1.0/appsutil/install/ebstst_p10tst01
    afdbprf.sh INSTE8_PRF 1
    [APPLY PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: /u01/oracle/ebstst/db/tech_st/11.1.0/appsutil/install/ebstst_p10tst01
    adcrobj.sh INSTE8_APPLY 1
    Any pointers? All I see in the logfile is "ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor" This is impossible because all the info in the TNSNames file is set correctly.Please search the log file for afdbprf.sh and adcrobj.sh scripts and you should find more details about the error around the file names.
    Was the database created successfully? Please make sure the database is up and it is open along with the database listener.
    Please see if (Autoconfig Error On Dbtier After Upgrade - afdbprf.sh and adcrobj.sh fail with ORA-27101: shared memory realm does not exist [ID 422709.1]) is applicable.
    Thanks,
    Hussein

  • Error RC-10203 while running adcfgclone.pl on apps tier

    Hi,
    Hoping someone can help - I am new to Oracle Apps and cloning.
    background:
    -I have been tasked with completing the cloning steps for a development environment.  I was provided source apps tier binaries (EBS 11i, 11.5.10.2)  and source database binaries (10gR2, 10.2.0.5) created from a production multi-tier instance.
    -The target is a two tier system (apps tier is one instance, db is other instance)
    -Both instances of the target are running Red Hat 5.9 (db is 64 bit, apps tier is 32-bit)
    -I have successfully restored the database
    -I have successfully configured the env and tnsnames.ora on the target apps tier and connect to the database using the APPS credentials
    -I do not have access to the production system nor can I ask anyone from the production side for assistance.
    problem:
    Getting an error when running:
    $COMMOM_TOP/clone/bin/adcfgclone.pl appsTier
    Throwing exception:
    RC-50004: Error occurred in CloneContext:
    RC-10203: The template provided does not match with the context file.
    Context file creation not successful.
    Any suggestions?
    I've performed cloning once before, but not with these binaries. Needless to say I did not get this error last time.
    Thanks in advance..
    RKU

    Hi Hussein-
    I pulled this from /tmp/CloneContext_0730050807.log
    StackTrace:
    java.lang.Exception: RC-10203: The template provided does not match with the context file.
            at oracle.apps.ad.context.CloneContext.setTemplateLocation(CloneContext.java:3144)
            at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:666)
            at oracle.apps.ad.context.CloneContext.main(CloneContext.java:6270)
    RC-50004: Error occurred in CloneContext:
    RC-10203: The template provided does not match with the context file.
    Context file creation not succesful

Maybe you are looking for