Question adcfgclone.pl dbTechStack

Hi All,
R12.1.3 / rdbms 11.2.0.3
We did a fresh R12.1.1 install followed by R12.1.3 upgrade and rdbms upgrade to 11.2.0.3.
we did a pre-clone on source and cloned to DEV.
When we do
perl adcfgclone.pl dbTechStack it complets successfully but failed to start lsitener.
When looking into $ORACLE_HOME/network/admin/SID_server/listener.ora, the entry is the SOURCE instead of TARGET.
I know how to workaround this but I do not understnad why it is happened? We have many other R12.1.3 instances and this never happened before.
Anything we could check at to permanently fix this for future clone on this instance?
Thanls

perl adcfgclone.pl dbTechStack it complets successfully but failed to start lsitener.
When looking into $ORACLE_HOME/network/admin/SID_server/listener.ora, the entry is the SOURCE instead of TARGET.
I know how to workaround this but I do not understnad why it is happened? We have many other R12.1.3 instances and this never happened before.
Anything we could check at to permanently fix this for future clone on this instance?Are you referring to "Changing s_db_listener context variable and run AutoConfig" solution? If yes, then please see (R12 Rapidclone on dbTier Tries to Start Listener with Source SID: "RC-00118 'Error occurred during creation of database' " [ID 1329400.1]).
Also, make sure you have the latest Rapid Clone and AutoConfig patches applied -- I believe you are aware of the docs.
Thanks,
Hussein

Similar Messages

  • Adcfgclone.pl dbTechStack on Target DB removes listener and tnsnames files

    Hello:
    I am doing a first-time clone from my PRD to my TST instance, and have undergone the following steps:
    1. perl adpreclone.pl dbTier on Source DB
    2. perl adpreclone.pl appsTier on Source AppTier
    3. Copy APPL_TOP, COMMON_TOP, ORACLE_HOME, IAS_ORACLE_HOME from Source AppTier to Target AppTier.
    4. Run perl adcfgclone.pl dbTechStack on Target DB.
    At this point is where I start running into issues. The dbTechStack deletes/recreates the tnsnames.ora, sqlnet.ora, and listener.ora files, and the DB can no longer startup. The below is in the logfiles. Am I doing something wrong? I guess the issue is not so much with it deleting/recreating the files, as it is with the values it puts into the files (i.e. DB port = 3001)
    Executing Technology Stack Configuration...
    Executing runAutoConfig...
    Deleting files of type INSTALL
    Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/sqlnet.ora
    File exists
    File deleted
    Processing driver file: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/template/addbtmpl.drv
    Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/install/WMSTST_x07tst00/txkConfigDbOcm.pl
    File exists
    File deleted
    Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/dbs/initWMSTST.ora
    File exists
    File deleted
    Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/listener.ora
    File exists
    File deleted
    Checking for file: /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/tnsnames.ora
    File exists
    File deleted
    Testing for RAC specific parameters before running autoconfig
    No RAC specific parameters were found, running with CVM
    Starting CVM in INSTE8_SETUP mode
         Using Context file : /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/WMSTST_x07tst00.xml
    Attempting to create a back up of the Context file
    Created back up file of name :
    /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/out/WMSTST_x07tst00/12111155/WMSTST_x07tst00.xml
    ===========================================================================
    Starting synchronization of file system Context file and its templates with those in the database
    Database connection : Failed
    OAM Context editing support feature: Unverified
    OAM Customization support feature : Unverified
    File system template : /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
    Checking for customizations to Context template
    Warning: Unable to connect to Database.
    If the system is OAM enabled, this may result in loss of customizations.
    Looking for custom template at : /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/template/custom/adxdbctx.tmp
    Custom template : Not available
    Customizations found : None
    File system Context file :/u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/WMSTST_x07tst00.xml
    Checking the Context file for possible updates from the Database
    Warning: Unable to connect to Database.
    If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
    Thanks!
    Edited by: user4434301 on Dec 11, 2012 12:39 PM

    Excellent. I copied the template file from another instance and the following messages were at the end of the logfile:
    Skipping Profile Phase
    Skipping Apply Phase
    Completed runAutoConfig...
    ApplyDBTechStack Completed Successfully.
    However I'm not completely certain this is entirely correct preclone. Can you tell me why the Profile and Apply Phases were skipped and why the following was displayed upon the screen on completion?
    Completed Apply...
    Tue Dec 18 11:25:39 2012
    Starting database listener for WMSTST:
    Running:
    /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/scripts/WMSTST_x07tst00/addlnctl.sh start WMSTST
    Logfile: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt
    You are running addlnctl.sh version 120.1.12010000.4
    Starting listener process WMSTST ...
    LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 18-DEC-2012 11:25:39
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Starting /u01/oracle/WMSTST/db/tech_st/11.1.0/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.1.0.7.0 - Production
    System parameter file is /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/listener.ora
    Log messages written to /u01/oracle/WMSTST/db/tech_st/11.1.0/log/diag/tnslsnr/x07tst00/wmstst/alert/log.xml
    TNS-01151: Missing listener name, WMSTST, in LISTENER.ORA
    Listener failed to start. See the error message(s) above...
    addlnctl.sh: exiting with status 1
    addlnctl.sh: check the logfile /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt for more information ...
    That file shows the following:
    Starting database listener for WMSTST:
    Running:
    /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/scripts/WMSTST_x07tst00/addlnctl.sh start WMSTST
    Logfile: /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt
    You are running addlnctl.sh version 120.1.12010000.4
    Starting listener process WMSTST ...
    LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 18-DEC-2012 11:25:39
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Starting /u01/oracle/WMSTST/db/tech_st/11.1.0/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.1.0.7.0 - Production
    System parameter file is /u01/oracle/WMSTST/db/tech_st/11.1.0/network/admin/WMSTST_x07tst00/listener.ora
    Log messages written to /u01/oracle/WMSTST/db/tech_st/11.1.0/log/diag/tnslsnr/x07tst00/wmstst/alert/log.xml
    TNS-01151: Missing listener name, WMSTST, in LISTENER.ORA
    Listener failed to start. See the error message(s) above...
    addlnctl.sh: exiting with status 1
    addlnctl.sh: check the logfile /u01/oracle/WMSTST/db/tech_st/11.1.0/appsutil/log/WMSTST_x07tst00/addlnctl.txt for more information ...
    Should I have stopped the DB or listener before running the script?
    Edited by: user4434301 on Dec 18, 2012 9:18 AM

  • Adcfgclone.pl dbTechStack - RC-50004

    Hi,
    I am cloning a new instance from production.
    I cloned on monday night successfully the first instance. Everything ran perfectly.
    Now i'm cloning the 2nd instance.
    My db os user profile is set correctly.
    I ran '. oraenv' to load the environnement and everyting is ok. Of course, it does not find the rdbms <sid>.env file as it will be create with the 'perl adcfgclone.pl' command.
    When i go to
    $ORACLE_HOME/appsutil/clone/bin
    and issue the following command:
    perl adcfgclone.pl dbTechStack
    I get the following erorr:
    "Provide the values required for creation of the new Database Context file.
    Target System Hostname (virtual or normal) [hostname] :
    Target System Domain Name : <domain_name>.com
    RC-50004: Error occurred in CloneContext:
    null
    Check Clone Context logfile /apps/oracle/uat1/db/10.2.0/appsutil/clone/bin/CloneContext_03101751.log for details.
    ERROR: Context creation not completed successfully.
    For additional details review the file /tmp/adcfgclone_381034.err if present."
    Looking at '/apps/oracle/uat1/db/10.2.0/appsutil/clone/bin/CloneContext_03101751.log', I can see the following:
    'StackTrace:
    java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:630)
    at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:910)
    at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:597)
    at oracle.apps.ad.context.CloneContext.main(CloneContext.java:4963)
    RC-50004: Error occurred in CloneContext:
    null'
    Anyone had that error before?
    Thank you,
    Felix

    Felix,
    Review the following notes:
    Note: 467659.1 - perl adcfgclone.pl Dbtechstack fails with error: RC-50004: Error occurred in CloneContext
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=467659.1
    Note: 763587.1 - RC-50004: Error Occurred In Clonecontext : At Java.util.Hashtable.put(Unknown Source)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=763587.1
    Regards,
    Hussein

  • Error running adcfgclone.pl dbTechStack:  RC-20403

    Issue cloning target database environment during a preclone step
    Problem Description
    command perl adcfgclone.pl dbTechStack /db01/oracle/TESTDB/db/tech_st/11.1.0/appsutil/TESTDB_machine.xml results in the following error, and preclone steps cannot continue:
    RC-20403: The following port numbers are busy - please make sure the ports are available and try again.
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    s_dbport : 1522
    Not sure why I would receive this error, I have done this step several times before without error. Any ideas?

    user4434301 wrote:
    Issue cloning target database environment during a preclone step
    Problem Description
    command perl adcfgclone.pl dbTechStack /db01/oracle/TESTDB/db/tech_st/11.1.0/appsutil/TESTDB_machine.xml results in the following error, and preclone steps cannot continue:
    RC-20403: The following port numbers are busy - please make sure the ports are available and try again.
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    s_dbport : 1522
    Not sure why I would receive this error, I have done this step several times before without error. Any ideas?The error indicates that port 1522 is used by another program/process, so please use a different port or kill the process which uses port 1522.
    Thanks,
    Hussein

  • Perl adcfgclone.pl dbTechStack default values...?

    Hi!
    Our config: DB 10g2.0.2, APPS 11.5.10.2
    When we run "perl adcfgclone.pl dbTechStack" then some default values are shown in screen:
    Do you want to use a virtual hostname for the target node (y/n)
    Target instance is a Real Application Cluster (RAC) instance (y/n)
    *Target system utl_file accessible directories list [var/tmpprod]:*
    Number of DATA_TOP's on the target system [6]:
    ...Where are those settings saved and retrieved in runtime? I'd like to change some default values to some new values (i.e. number of data tops to "7", after adding some luns)... Funny, but I couldn't find the source ... of that pattern.
    THX
    Funky

    Hsawwan
    I hope I'll not disobey some rules...however here it is:
    The script adcfgclone.pl calls CloneContext.class. This java code is responsible for creating the Target
    Context file. The default values for the prompts are read from CTXORIG.xml (a
    copy of the Source context file). There are some exceptions to this, one of
    them being the "number of DATA_TOPs". This default value derives from the
    number of "s_dbhome" variables in
    +$ORACLE_HOME/appsutil/clone/data/stage/addbhomsrc.xml. This file is generated+
    on the Source system by adpreclone.pl, and copied to the Target system during
    the copy phase.
    As you have uploaded your addbhomsrc.xml and it is not working as specified above indicates you may be hitting a bug.
    Your default value appears to equate to "number of "s_dbhome" variables in addbhomsrc.xml 1".+
    +This matches an issue reported in Bug 5345502, where an additional variable+
    +added for 10g was being counted in addition to the s_dbhome variables, making+
    +the default number 1 more than the source. This was fixed for both 11i and R12+
    +in :-+
    +- CloneContext.java 115.204+
    +- CloneContext.java 120.31+
    +As the AutoConfig/RapidClone code is collected from the Applications Tier into+
    +appsutil.zip, please check the following version on your Applications Tier:-+
    +- $JAVA_TOP/oracle/apps/ad/context/CloneContext.class+
    +If the version is < 115.204, then you need to apply the latest RapidClone patch:+
    +6718351 : 11i RAPIDCLONE CONSOLIDATED FIXES JUL/2008+
    +This will deliver CloneContext.java 115.223+
    +Please also check the version(s) on your Database Tier:-+
    +- $ORACLE_HOME/appsutil/java/oracle/apps/ad/context/CloneContext.class+
    +There is also another version on your Database Tier which is copied by adpreclone.pl+
    +into the Clone stage area, so we need to confirm that version:-+
    +- $ORACLE_HOME/appsutil/clone/jlib/java/oracle/apps/ad/context/CloneContext.class+
    +If the version on the Apps Tier is > 115.204 and does not match those on the Database Tier, or you had to apply the suggested patch 6718351, then you need+
    +to recopy the AutoConfig/RapidClone code over to the RDBMS Tier.+
    +Recreate appsutil.zip using this command on the Applications Tier:+
    +- perl $AD_TOP/bin/admkappsutil.pl+
    +Copy the created appsutil.zip to the RDBMS ORACLE_HOME and extract it using "unzip -o" to overwrite the existing+
    +code.+
    +Once you have the latest version, you will need to rerun the "preparation stages" on your Source system by rerunning adpreclone.pl, so the+
    +new code is copied to the clone stage area.+
    +You will also need to rerun adpreclone.pl on the Apps Tier.+
    +Finally, recopy the instance files to your Target system, and when you configure the Target Database Tier, and are+
    +prompted for the "number of DATA_TOPs", you should now see the number match+
    +that on the Source system, or more specifically, match the number of "s_dbhome"+
    +variables in+
    +$ORACLE_HOME/appsutil/clone/data/stage/addbhomsrc.xml.+
    Rg,
    Damir

  • Adcfgclone.pl dbconfig

    Hi everyone! I've read whole bunch of topics related to the subject but didn't actually find what I wanted to. The question of concern is:
    What actually "*adcfgclone.pl dbconfig*" does? I mean "behind the scenes". So far I know it configures the database and doesn't create controlfile compared with "database" option. Also I know it updates database tables with the values obtained from the context file. Plus it can be replaced by just running autoconfig. BUT what it actually DOES? What scripts, java programs it launches and what actions it performs?
    For example, "adcfgclone.pl dbTechStack" fires CloneContext.class to create context file then ApplyDBTechStack.class goes which will fire $ORACLE_HOME/appsutil/clone/ouicli.pl. Then ouicli.pl registers ORACLE_HOME by updating orainventory (OracleHomeCloner.class fires) and etc...
    Please, help me figure out. Thanks in advance!!!

    Hi;
    Please see:
    adcfgclone Versus  adconfig
    cloning TechStack
    difference
    Hope it helps
    Regard
    Helios

  • Adcfgclone.pl

    during hot cloning when i went to step to run adcfgclone.pl , i do not UAT_uat.xml file at path "/orahome/PROD/db/tech_st/10.2.0/appsutil" , i have PROD_dpprod.xml which contain instance name and dbname for PROD i beleive. How can i creat UAT_uat.xml , i have recovered the database online from PROD to UAT machine , copied tech_st from PROD to UAT. Please help.
    perl adcfgclone.pl dbconfig /orahome/PROD/db/tech_st/10.2.0/appsutil/UAT_uat.xml

    I am not sure if your question is clear but however for hot clone, the following 2 steps are needed to configure the DB-tier
    1. cd [RDBMS ORACLE_HOME]/appsutil/clone/bin
    Start db clone scripts
    perl adcfgclone.pl dbTechStack
    2. Configure the target database:
    perl adcfgclone.pl dbconfig <database_context_file>
    It is here you need the context file generated in the step 1.
    Please get the clone doc and read in details as you may need to do 1 or 2 things based on your setup

  • Hi All.. adcfgclone.pl

    Hi all,
    Im working on Rel 12 version. I have a question in cloning.
    These are the options available in adcfgclone. I know you people know this. but i want to confim this.
    adcfgclone.pl dbTier option .
    adcfgclone.pl dbTechStack
    adcfgclone.pl database ----> What this option will do? Can you people explain?
    Faster request will be appriciated...
    Thanks
    Venkat

    Venkat,
    You can use it to configure the database if the database is open. If the database in not accessible, it will recreate controlfiles, configure and open the database. Please note if you specify the context file, you will not be prompted for cloned system target values to create.
    Regards,
    Hussein

  • 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

  • Adcfgclone.pl error:RC-50014: Fatal: Execution of AutoConfig was failed

    hi all,
    i got following error while cloning of R12 instance on HP UX.
    after copying from source to target i have run perl adcfgclone.pl dbTechStack.
    error...
    Starting synchronization of file system Context file and its templates with those in the database
    Database connection : Failed
    OAM Context editing support feature: Unverified
    OAM Customization support feature : Unverified
    File system template : /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
    No uploading of Context file and its templates to database. Database conection failed
    [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>
    [INSTANTIATE PHASE]
    AutoConfig could not successfully instantiate the following files:
    Directory: /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/install/RSU_reeldev
    adcrdb.sh INSTE8
    AutoConfig is exiting with status 1
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    regards,
    sandeep.

    hi,
    i already have checked <RDBMS ORACLE_HOME>/appsutil/log/<Context_name>/<MMDDhhmm>/adconfig.log location but there is no directory with <MMDDhhmm>/adconfig.log..
    can u check below update....i think i m missing some syntex
    adcfgclone.pl dbconfig /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/RSU_reeldev.xml
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    Oracle Applications Rapid Clone
    Version 12.0.0
    adcfgclone Version 120.20.12000000.12
    Enter the APPS password :
    Running Rapid Clone with command:
    perl /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone component=dbconfig method=CUSTOM dbctxtg=/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/RSU_reeldev.xml showProgress contextValidated=false
    Running:
    perl /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone component=dbconfig method=CUSTOM dbctxtg=/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/RSU_reeldev.xml showProgress contextValidated=false
    APPS Password :
    Setting SHLIB_PATH to :/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/oui/lib/hpunix
    Beginning dbconfig Apply - Sat Apr 24 12:19:55 2010
    /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/erpdev1/orarsu/db/tech_st/10.2.0/oui -classpath /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/java:/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDatabase -e /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/RSU_reeldev.xml -stage /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone -rmanstage -rmantgtloc -srcdbname -showProgress -checkDBConnection
    -e
    /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/RSU_reeldev.xml
    -stage
    /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone
    -rmanstage
    -rmantgtloc
    -srcdbname
    -showProgress
    -checkDBConnection
    Option -rmanstage can only appear once
    usage:
    java oracle.apps.ad.clone.ApplyDatabase
    -e CONTEXT [-stage STAGE_DIR]
    [-stagestub STAGE_STUB] [-verbose]
    [-rmanstage RMANSTAGE]
    [-rmantgtloc RMANTGTLOC]
    [-srcdbname SRCDBNAME]
    [-nthreads NUMBER] [-showProgress] [-pwd PASSWD]
    [-phase bits|reg|cfg|all]
    [-node initial*|add|remove] [-shared]
    [-dbmode clone*|restore|standby]
    [-checkDBConnection] [-configracnode]
    where:
    CONTEXT = Applications context file name
    STAGE_DIR = Cloning stage directory
    Only used if running 'Copy Bits' phase.
    STAGE_STUB = Custom stage sub directory
    Only used if running 'Copy Bits' phase.
    -verbose = if specified, will run in verbose mode
    NUMBER = Number of threads used in the zip action. Range [1-20]
    showProgress = Shows the progress of the process
    bits = process only the 'Copy Bits' portion of the clone
    reg = process only the 'Registration' portion of the clone
    cfg = process only the 'Configuration' portion of the clone
    all = processes 'Copy Bits', 'Registration', and 'Configuration'
    initial = (default value) runs process for creating initial node
    add = runs process for creating initial node
    remove = runs process for creating initial node
    shared = Used for shared filesystem nodes.
    Verifies and uses bits that are already present.
    Only used if running 'Copy Bits' phase.
    clone = Standard cloning mode where the new database is brought up
    with a new DBID and Global DB Name. Clean-up and setup
    processes may be started
    restore = Used to restore a database. DBID, GDBN, and
    setup information are not changed.
    standby = Used to create a standby database. Database is
    not opened and no changes are made.
    checkDBConnection = Checks for DBConnection before configuring
    configracnode = used for scale out on a RAC instance
    ERROR while running Apply...
    Sat Apr 24 12:19:56 2010
    ERROR: Failed to execute /erpdev1/orarsu/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl
    Please check logfile.
    pls help me to resolve the same...
    thanks
    sandeep

  • Adcfgclone.pl error AC-00005

    Hi all,
    when iam giving perl adcfgclone.pl dbTechStack
    im getting following error
    AC-00005: No write permissions for creating the Context file - /appsutil/temp.xml
    StackTrace:
    java.lang.Exception: AC-00005: No write permissions for creating the Context file - /appsutil/temp.xml
    Raised by oracle.apps.ad.context.AppsContext
    at oracle.apps.ad.context.AppsContext.getOaEnabledValues(AppsContext.java:733)
    at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:636)
    at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5023)
    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
    Context file creation not succesful

    AC-00005: No write permissions for creating the Context file - /appsutil/temp.xml
    AC-00005: No write permissions for creating the Context file - /appsutil/temp.xmlPlease make sure that applmgr and oracle users have read/write/execute permissions on this directory.
    Also, please see old threads for similar discussion -- http://forums.oracle.com/forums/search.jspa?threadID=&q=AC-00005&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Appying patches when Physical standby in place.

    Kindly suggest steps for patch application /application upgradation. We dont have any replication tool.What is the standard process to sync standby after patch upgradation . Is there any alternative of rsync/rdist utility.
    Is it possible that after applying patch in Primary, On Standby we have to apply as it is, with no Database inclusion as the standby database will be in mount state and will not available for making database changes.
    How to find which files to be copied manually to sync the standby with Primary. Will this method reliable?
    Apologies to ask many questions but i found no single document covering this detailed process.

    Both the links are for applying patches/upgrades for Oracle Database. Apologies i didn't clarify the requirement. It's for EBS R12. So i need to sync the apps tier with primary when physical standby in place.
    Kindly validate below procedure with rsync utility
    After running the Middle Tier and Database Pre-clone.
    To synchronize Synchronize the Appropriate File Systems to Standby,
    rsync –av <$APPL_TOP> <standby_host>:<$APPL_TOP>
    --rsync-path=/usr/local/bin/rsync
    /usr/local/bin/rsync –av <$COMMON_TOP> <standby_host>:<$COMMON_TOP>
    /usr/local/bin/rsync –av <$ web ORACLE HOMEs (10.1.2)> <standby_host>:<$ web ORACLE HOMEs (10.1.2)>
    /usr/local/bin/rsync –av <$TOOL(10.1.3)> <standby_host>:<$COMMON_TOP>
    Synchronize the database tier file system including <RDBMS ORACLE_HOME>/appsutil directory.
    /usr/local/bin/rsync –av <RDBMS ORACLE_HOME>/appsutil <standby_host>:<RDBMS ORACLE_HOME>/appsutil
    Reconfigure the Standby Middle Tier File Systems
    When the file system synchronization is complete, reconfigure the standby file systems. Log onto each of the standby middle tier systems as the APPLMGR user and execute the following commands:
    cd <COMMON_TOP>/clone/bin
    perl adcfgclone.pl atTechStack <INST_TOP>/appl/admin/<Standby CONTEXT_NAME>.xml
    To complete the configuration of environment run AutoConfig using the following commands:
    cd <APPL_TOP>/ad/12.0.0/bin
    adconfig.sh contextfile=<INST_TOP>/appl/admin/<standby context>.xml run=INSTE8
    AutoConfig will report errors regarding to database connection, these errors can be ignored as the database is unavailable.
    Step 4.4.11 - Reconfigure the Standby Database File Systems
    If you had to synchronize the apps utilities on the database server in the prior step, you should also reconfigure the database server. As the ORACLE user on each database node of standby database tier, first stop the listener if it is running, then execute the following commands:
    cd <RDBMS ORACLE_HOME>/appsutil/clone/bin
    perl adcfgclone.pl dbTechStack <RDBMS ORACLE_HOME>/appsutil/<Standby CONTEXT_NAME>.xml

  • ALTER DATABASE RENAME DATAFILE, what really needs to bu run later?

    Hi!
    If I "alter database" and move some datafiles to newly added luns, do I need to run:
    On DB side:
    1) perl adcfgclone.pl dbTechStack (according new luns!)
    2) If 1) is yes, then probably have to run "perl adcfgclone.pl dbconfig $CONTEXT_FILE"?
    On APPS side:
    1) Autoconfig?
    Second question. If on on new LUN is only having archived log files (no db datafiles are on that lun), should they be involved in Number of DATA_TOP's on the target system?
    THX

    If I "alter database" and move some datafiles to newly added luns, do I need to run:
    On DB side:
    1) perl adcfgclone.pl dbTechStack (according new luns!)
    2) If 1) is yes, then probably have to run "perl adcfgclone.pl dbconfig $CONTEXT_FILE"?
    On APPS side:
    1) Autoconfig?Damir,
    Could you please elaborate more? Why would you need to run perl adcfgclone.pl if you alter the database and add more datafiles?
    Second question. If on on new LUN is only having archived log files (no db datafiles are on that lun), should they be involved in Number of DATA_TOP's on the target system?When cloning, it is not required to copy the archivelog files. DATA_TOPs should point to the mount points where datafiles are located.

  • Preserver display

    Hi All,
    During cloning when I run "perl adcfgclone.pl dbTechStack" on the target instance( instance being cloned).
    I am prompted this question:
    Do you want to preserve the Display set to 1.0 (y/n) [y] ?
    What does this mean? Could someone please explain.
    or give links to metalink id's
    Thanks,
    Silver

    Do you want to preserve the Display set to 1.0 (y/n) [y] ?
    What does this mean? Could someone please explain.You usually run adpreclone on source node before start of copy to target, adpreclone basically checks through various driver files and save information, at time when you are adclone on target node it suggests value as accordance to source node.
    In above question oracle is asking you if your display server on target node is running on same display set as on source, if yes then choose default otherwise say 'n' and it will ask for value of display set. In autoconfig xml file you will see this parameter as s_display_server something like hostname:1.0(on source node) and you should be having your Xserver to be started on same set i.e. hostname:1.0 to use it correctly.
    Thanks.
    JD

  • Error while running adlnkoh.sh. Please check logfile

    Hi All,
    i got this error while cloning
    i ran perl adcfgclone.pl dbTechStack on db tier
    Starting ORACLE_HOME relinking...
    Instantiating adlnkoh.sh
    Starting relink of ORACLE_HOME - RDBMS
    Adding execute permission to :
    /erpapp/prod/proddb/10.2.0/appsutil/install/adlnkoh.sh
    Executing cmd :
    /erpapp/prod/proddb/10.2.0/appsutil/install/adlnkoh.sh
    adlnkoh.sh started at Wed Aug 3 13:57:29 UAE 2011
    logfile located in /erpapp/prod/proddb/10.2.0/install/make.log
    Error while running adlnkoh.sh. Please check logfile
    .end std out.
    .end err out.
    RC-00110: Error occurred while relinking of rdbms
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    RC-00119: Error occurred while relinking {0}
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    Completed relinking.
    ApplyDBTechStack Completed Successfully.
    when i checked the relink log
    Starting: "make -if /erpapp/prod/proddb/10.2.0/rdbms/lib/ins_rdbms.mk rac_off"
    rm -f /erpapp/prod/proddb/10.2.0/lib/libskgxp10.sl
    rm: /erpapp/prod/proddb/10.2.0/lib/libskgxp10.sl not removed. Text file busy
    *** Error exit code 2 (ignored)
    cp /erpapp/prod/proddb/10.2.0/lib//libskgxpd.sl /erpapp/prod/proddb/10.2.0/lib/libskgxp10.sl
    cp: cannot create /erpapp/prod/proddb/10.2.0/lib/libskgxp10.sl: Text file busy
    *** Error exit code 1 (ignored)
    rm -f /erpapp/prod/proddb/10.2.0/lib/libskgxn2.sl
    rm: /erpapp/prod/proddb/10.2.0/lib/libskgxn2.sl not removed. Text file busy
    *** Error exit code 2 (ignored)
    cp /erpapp/prod/proddb/10.2.0/lib//libskgxns.sl \
    /erpapp/prod/proddb/10.2.0/lib/libskgxn2.sl
    This the error.
    Please help me to reslove this error.

    ebs -11.5.10.2 and db is 10.2.0.4
    OS -HPUX-11.23
    the erro i have post are from logs
    This error i got after the adcfgclone on Dbtier..
    Starting ORACLE_HOME relinking...
    Instantiating adlnkoh.sh
    Starting relink of ORACLE_HOME - RDBMS
    Adding execute permission to :
    /erpapp/prod/proddb/10.2.0/appsutil/install/adlnkoh.sh
    Executing cmd :
    /erpapp/prod/proddb/10.2.0/appsutil/install/adlnkoh.sh
    adlnkoh.sh started at Wed Aug 3 13:57:29 UAE 2011
    logfile located in /erpapp/prod/proddb/10.2.0/install/make.log
    Error while running adlnkoh.sh. Please check logfile
    .end std out.
    .end err out.
    RC-00110: Error occurred while relinking of rdbms
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    RC-00119: Error occurred while relinking {0}
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    Completed relinking.
    ApplyDBTechStack Completed Successfully.
    This error is when i checked the /erpapp/prod/proddb/10.2.0/install/make.log
    Starting: "make -if /erpapp/prod/proddb/10.2.0/rdbms/lib/ins_rdbms.mk rac_off"
    rm -f /erpapp/prod/proddb/10.2.0/lib/libskgxp10.sl
    rm: /erpapp/prod/proddb/10.2.0/lib/libskgxp10.sl not removed. Text file busy
    *** Error exit code 2 (ignored)
    cp /erpapp/prod/proddb/10.2.0/lib//libskgxpd.sl /erpapp/prod/proddb/10.2.0/lib/libskgxp10.sl
    cp: cannot create /erpapp/prod/proddb/10.2.0/lib/libskgxp10.sl: Text file busy
    *** Error exit code 1 (ignored)
    rm -f /erpapp/prod/proddb/10.2.0/lib/libskgxn2.sl
    rm: /erpapp/prod/proddb/10.2.0/lib/libskgxn2.sl not removed. Text file busy
    *** Error exit code 2 (ignored)
    cp /erpapp/prod/proddb/10.2.0/lib//libskgxns.sl \
    /erpapp/prod/proddb/10.2.0/lib/libskgxn2.sl
    cp: cannot create /erpapp/prod/proddb/10.2.0/lib/libskgxn2.sl: Text file busy
    *** Error exit code 1 (ignored)
    ar cr /erpapp/prod/proddb/10.2.0/rdbms/lib/libknlopt.a /erpapp/prod/proddb/10.2.0/rdbms/lib/ksnkcs.o
    Completed...
    Starting: "make -if /erpapp/prod/proddb/10.2.0/rdbms/lib/ins_rdbms.mk ioracle"
    chmod 755 /erpapp/prod/proddb/10.2.0/bin
    mv -f /erpapp/prod/proddb/10.2.0/bin/oracle /erpapp/prod/proddb/10.2.0/bin/oracleO
    mv: /erpapp/prod/proddb/10.2.0/bin/oracleO: cannot write: Text file busy
    *** Error exit code 1 (ignored)
    mv /erpapp/prod/proddb/10.2.0/rdbms/lib/oracle /erpapp/prod/proddb/10.2.0/bin/oracle
    mv: /erpapp/prod/proddb/10.2.0/bin/oracle: cannot write: Text file busy
    *** Error exit code 1 (ignored)
    chmod 6751 /erpapp/prod/proddb/10.2.0/bin/oracle
    Completed...
    even after this error /warning i ran
    Perl adcfgclone.pl dbconfig
    i got this error
    Verifying Database Connection...
    RC-40201: Unable to connect to Database pcln.
    Enter the Database listener port [1521]:1521
    RC-40201: Unable to connect to Database pcln.

Maybe you are looking for

  • Please help me decide on an all-in-one

    Hoping to buy an all-in-one soon mainly for uni work. Will also be using it for general web browsing, youtube, watching movies, etc. No gaming.  These are my options so far. If anyone could please help me decide it would be much appreciated as I am j

  • How Do I Convert an HD File to Non HD

    I just bought a Flip Ultra HD video camera and the HD resolution is nice, but the file sizes are just enormous. I do not need to save every video I shoot as HD, so I am wondering if there is a way to convert the file to a non HD format when I import

  • Unwanted Contact Request?

    i did not see a support forum on the support tab and my search question "why did i get a request from someone i do not know" turned up nothing. can this be posted here? i have never had a problem with skype in the past since i have gotten it. i belie

  • How to view the directory structure of JS sources in debugger?

    I'm a web developer and want to use Firefox, but am used to using Chrome for debugging. In Chrome debugging tool (hit F12 -> click 'sources' tab in top of the web dev window), you can clearly see the entire Javascript directory structure of the site

  • Adding Extra lines in Webapplication Integratted Planning

    Hi Friends, How to add extra lines in web based planning application in Iintegratted planning. Please share your ideas on this. Will assign the points. Best regards SAP