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

Similar Messages

  • 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 in Instantiate Phase (adcrdb.sh) during adcfgclone.pl dbconfig

    Hello,
    I am finishing an environmental clone from PRD->TST and am running the adcfgclone.pl dbconfig (because controlfiles will not be created) portion to configure the target database. It progresses to the point of DB Application and then errors out with the below message. I have verified that the file itself exists on the target DBTier, and that the permissions are correct on the file. Has anyone seen this before, or could they recommend anything? Thanks in advance.
    +[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: /u01/oracle/xxxTST/db/tech_st/11.1.0/appsutil/install/xxxTST_xxxtstxx
    adcrdb.sh               INSTE8
    AutoConfig is exiting with status 1
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyDatabase

    Correct. After searching the log file, it explains to me that adcrdb.sh is missing from the <$ORACLE_HOME>/appsutil/template directory. So, I copy the file from the Source<$ORACLE_HOME>/appsutil/template to the Target <$ORACLE_HOME>/appsutil/template directory. Immediately upon kicking off the adcfgclone.pl dbconfig again it is deleted. This is very strange. Am I missing something?
    -rwxr----- 1 oracle dba 4015 Dec 19 16:18 adcrdb.sh
    [oracle@x07tst00 template]$ ls -lrt adcrdb.sh
    -rwxr----- 1 oracle dba 4015 Dec 19 16:18 adcrdb.sh
    [oracle@x07tst00 template]$ ls -lrt adcrdb.sh
    -rwxr----- 1 oracle dba 4015 Dec 19 16:18 adcrdb.sh
    [oracle@x07tst00 template]$ ls -lrt adcrdb.sh
    -rwxr----- 1 oracle dba 4015 Dec 19 16:18 adcrdb.sh
    [oracle@x07tst00 template]$ ls -lrt adcrdb.sh
    ls: adcrdb.sh: No such file or directory
    [oracle@x07tst00 template]$ ls -lrt adcrdb.sh
    ls: adcrdb.sh: No such file or directory
    [oracle@x07tst00 template]$ ls -lrt adcrdb.sh
    ls: adcrdb.sh: No such file or directory

  • Difference between perl adcfgclone.pl dbconfig  and adconfig.sh

    Hi,
    Difference between perl adcfgclone.pl dbconfig and adconfig.sh
    I would like to understand the difference between these configuration steps, if there is any please explain, I understnd from various docs I've gone through that "perl adcfgclone.pl dbconfig" updates the database tbales with information from context file,wanted to know if adconfig.sh also does the same, apart from updating template files on the db tier.
    Thanks&Regards
    Rajiv.

    Hi;
    1. perl adcfgclone.pl dbconfig <target context file>You need this syntax configure the Target system for clone process,adcfgclone.pl is used to configure Taget system. And it calls adclone.pl
    2.adconfig.sh -- (run on dbtier)adconfig.pl uses for run Autoconfig. Please check Autoconfig FAQ [ID 218089.1] << part When should I run AutoConfig? -Which files / profile options get changed when I run AutoConfig?
    Regard
    Helios

  • 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

    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

  • When cloning the 11 DB, difference between dbconfig and running autoconfig?

    Hi,
    Doing 11i cloning. I never used to use autoconfig on the db tier, just recreate the control file, open the db, get the listener running, and only otherwise use apps autoconfig.
    I still have to recreate the controlfile by hand, since using hot backups, so for the db cloning portion I am now using dbtechstack (initially), then recreate the control file, apply the archive logs, open the database, and then run perl adcfgclone.pl dbconfig (xml file)as per app. B of MOS 230672.1.
    Now when I just ran perl dbconfig, I was having some issues. I normally specify the XML file, but this time left it blank to let it ask me the
    questions. Anyway, it asked the questions, then started re-createing the controfile and hosed my db, which I am restoring now.
    If I specify the xml file (that appears to be good from dbtechstack above)-- will it NOT then try to recreate the controlfile? I am afraid
    to run dbconfig again -- since it could mean another restore and I don't have time.
    As an alternative, what I have done in the past ... is this (instead of dbconfig) as the db user.
    1. relink oracle
    2. relink all
    3. run autocfg.sh for the db (ie regular, garden-variety autoconfig for the db, not dbconfig).
    In the past this alternative has worked well when I've not used db autoconfig at all for the clone, and want to get autoconfig
    running on the db tier, and it has been a while since I cloned.
    So my question is -- is dbconfig with the specification of the xml file the same as a relink + regular db autoconfig?
    The reason I am asking, is that sometimes by not strictly following note 230672.1 my cloned db's have some wierd issues that show up in patching.
    Thanks marv

    If I specify the xml file (that appears to be good from dbtechstack above)-- will it NOT then try to recreate the controlfile? I am afraidIt will not create the controlfiles for you and you still need to recreate it manually.
    So my question is -- is dbconfig with the specification of the xml file the same as a relink + regular db autoconfig?Correct (remember to run the library update script once you open the database).
    In addition to (230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone), please see (Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database [ID 760772.1]).
    The reason I am asking, is that sometimes by not strictly following note 230672.1 my cloned db's have some wierd issues that show up in patching.What kind of issues?
    Thanks,
    Hussein

  • Unique Error while doing hot backup Cloning!

    Dear All,
    I am using EBS 11.5.10.2 with DB 9.2.0.6.
    I am doing hot backup cloning by referring *[Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=760772.1]*
    I am facing a unique issue, when I run adcfgclone.pl dbconfig <my_context_file>, application of my Production Server start misbehaving and it gives me an error:
    Node Id does not exist for the current application server id.When I check the FND_NODE table I found that there server id was empty in it.
    I have to run than run the following steps as the resolution:
    1. Shutdown all the services.
    2. EXEC FND_CONC_CLONE.SETUP_CLEAN;
    3. COMMIT;
    4. Run AutoConfig on all tiers, firstly on the DB tier and then the APPS tiers,to repopulate the required system tables.
    5.start all the services and verify the issue.
    Than application behaves normally.
    Is there any additional step to be followed while Hot Backup Cloning other than mentioned in the above mentioned ML Doc?
    Please suggest,
    Anchorage :)

    I am facing a unique issue, when I run adcfgclone.pl dbconfig <my_context_file>, application of my Production Server start misbehaving and it gives me an error:
    Node Id does not exist for the current application server id.Where did you get this error?
    This is very strange, how come this happens in Production, when you are doing cloning in TEST/DEV instance.
    Is there any additional step to be followed while Hot Backup Cloning other than mentioned in the above mentioned ML Doc?I feel there are no other additional steps, as I Recently did successfully hotbackup cloning using the same document.

  • 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.

  • Database refresh from Prod to UAT

    Please check whether i have missed out any step in database refresh in 11.5.10.2
    Step 1 preclone executed on source Instance
    Step 2 copied all datafiles in backup mode to UAT instance
    Step 3 controlfile create and opened db in resetlogs.
    Step 4 adcfgclone.pl dbconfig <target context file>
    Step 5 Autoconfig executed on both db aswell apps
    Is it required to execute adcfgclone.pl dbTechstack and adcfgclone.pl appsTier
    environment is apps 11.5.10.2
    db 10g
    os AIX 5.3

    Hello,
    You will need to run:
    perl adcfgclone.pl dbTier [Database Target Context File]
    perl adcfgclone.pl appsTier [Appltop Target Context File]
    and other tasks as per Section 4: Advanced Cloning Options / 1. Refreshing a Target System
    of Note 230672.1 : "Cloning Oracle Applications Release 11i with Rapid Clone"
    Regards, Carlo.

  • R12 clone with RMAN auxiliary db.

    Hi all,
    We require daily clone for our setup due to testing and other reason. Can we replace only database via RMAN Clone?
    R12 clone with RMAN Auxiliary DB. Find below steps, if I am wrong correct me.
    1.     run autoconfig on apps tier.
    2.     perl <AD_TOP>/bin/admkappsutil.pl and Synchronize appsutil on db tier.
    3.     Run autoconfig on dbtier or adconfig.sh <contextfile>) (which is correct? i am using autoconfig not with contextfile)
    4.     adpreclone.pl dbTier
    5.     adpreclone.pl appsTier
    6.     copy source to target including db and apps tiers.
    7.     perl adcfgclone.pl dbTechStack .
    8.     create duplicate db (auxiliary db) from rman backup.
    9.     sqlplus "/ as sysdba" @adupdlib.sql so
    10.     perl adcfgclone.pl dbconfig <CONTEXT_NAME.xml> (This gives error, I am skipping this step. I have tried with perl adcfgclone.pl database but then also its give error. )
    11.     exec FND_CONC_CLONE.SETUP_CLEAN;
    12.     perl adcfgclone.pl dbTier (if we run perl adcfgclone.pl dbTechStack ,Is this step require?)
    13.     perl adcfgclone.pl appsTier
    please correct my steps.
    thanks in advance,
    sandeep

    Hi,
    3.     Run autoconfig on dbtier or adconfig.sh <contextfile>) (which is correct? i am using autoconfig not with contextfile)Run $ORACLE_HOME/appsutil/bin/adconfig.sh contextfile=$CONTEXT_FILE appspass=apps -- See (Note: 603104.1 - Troubleshooting RapidClone issues with Oracle Applications R12) for details.
    10.     perl adcfgclone.pl dbconfig <CONTEXT_NAME.xml> (This gives error, I am skipping this step. I have tried with perl adcfgclone.pl database but then also its give error. )What is the error?
    12.     perl adcfgclone.pl dbTier (if we run perl adcfgclone.pl dbTechStack ,Is this step require?)After running "perl adcfgclone.pl dbTechStack", you need to run "perl adcfgclone.pl dbconfig <Database target context file> -- See (Note: 406982.1 - Cloning Oracle Applications Release 12 with Rapid Clone) and (Note: 799735.1 - Rapid Clone Documentation Resources, Release 11i and 12) for details.
    Regards,
    Hussein

  • 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.

  • Postclone error

    Hi All,
    I have restored and opened my database from hot backup and now i want to
    config my target database and am running
       cd <RDBMS ORACLE_HOME>/appsutil/clone/bin          
                            perl adcfgclone.pl dbconfig <target context file>
                     where target context file is: <RDBMS ORACLE_HOME>/appsutil/<Target CONTEXT_NAME>.xml
    with 0% am getting control file creation faild(database already mounted error )
    please help.
    Ranga

    Hi,
    Please refer this document, R11i / R12.0 / R12.1 : Cloning Oracle Application with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database (Doc ID 760772.1)
    Regard,
    Krish.

  • Apps Cloning using RMAN

    Hi,
    I am doing Apps 11i cloning with rapidclone.
    I have cloned the database using RMAN.
    As per the metalink note 230672.1 I have to run following script on DB node.
    perl adcfgclone.pl dbconfig <target context file>
    However I dont have the context file for the new instance.
    Should I copy the context file (for DB) from source instance , rename it and use it?
    If I run the adcfgclone.pl using the source instance context file (present in the target db node), it throws
    error for database connection.
    Platform - Oracle Ebusiness Suite 11.5.10 on Oracle enterprise Linux 4 and Oracle 9i database.
    Pls advice.
    Thanks,
    rane

    However I dont have the context file for the new instance.Did you run "perl adcfgclone.pl dbTechStack" before issuing "perl adcfgclone.pl dbconfig <target context file>"? This should create the context file for you.
    Should I copy the context file (for DB) from source instance , rename it and use it?No.
    If I run the adcfgclone.pl using the source instance context file (present in the target db node), it throws
    error for database connection.This is an expected behavior since the context file of the source node cannot be used on the target node.

  • RC-50221: Warning: Port Pool 21 is not free

    Having referenced the thread below, I'm having problems trying to run dbconfig (perl adcfgclone.pl dbconfig) for the port number (1542) portpool = 21 - on my test database server.
    <<RC-50204: Error: - Database Port in use: Port Value = 1571
    I've tried this many times, but to no avail.
    I have tried even the defauly portpool of 0 and even that returns the error message that the port pool is not free.
    If I do a netstat -a|grep 1542 or 1521, it returns nothing.
    What am I doing wrong?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Checking the port pool 21
    RC-50221: Warning: Port Pool 21 is not free. Please check logfile /t01/product/db11.2.0.3/appsutil/clone/bin/CloneContext_1109082932.log for conflicts.
    Target System Port Pool [0-99] : 0
    Checking the port pool 0
    RC-50221: Warning: Port Pool 0 is not free. Please check logfile /t01/product/db11.2.0.3/appsutil/clone/bin/CloneContext_1109082932.log for conflicts.
    Target System Port Pool [0-99] : 11
    Checking the port pool 11
    RC-50221: Warning: Port Pool 11 is not free. Please check logfile /t01/product/db11.2.0.3/appsutil/clone/bin/CloneContext_1109082932.log for conflicts.

    Hussein Sawwan wrote:
    Database - 11.2.0.3 - OS - zLinux - s390 - SLES - 11 - SP1
    Application - 12.1.2 - OS - Linux x86_64 - SLES - 10 - SP3Thanks.
    Did you reboot the server as requested above? Do you have any services running on this server?
    Please also review the doc and update the thread then.
    Thanks,
    HusseinServer was re-booted. No Change.
    Here is the issue - The Database server has three listeners on it - one for the two instances - lets call it LISTENER on port 1521 - and two - one for each APP that it hosts the Instance for - lets call these LISTENER_DBAPP1 on port 1532 and LISTENER_DBAPP2 on port 1542
    Whenever I've run the perl adcfgclone dbconfig (after a datafile copy is complete and the instance is brought up), I've always had all three listeners running.
    I've never had this problem before where if I gave the portpool of 21 for DBAPP2, it would not accept, and then fail.
    Thursday onwards, this did not work.
    In additon, the dbconfig deletes the SPFILE and the init.ora file (requiring me to take a backup of each of these files before I start the dbconfig process)
    This morning, I found an prior database context file from a previous clone, and passed that in as a parameter (perl adcfgclone dbconfig DBAPP2_hostname.xml) and this worked.
    There were entries in the log file about the portpool 21 not being free - but after the dbconfig process stopped the LISTENER_DBAPP2 for the 'ApplyDatabase' portion of the dbconfig, it completed succesfully.
    I checked the FND_NODES table and the entries are what I would expect to see after a succesfull DB/Autoconfig run.
    This puzzles me - but for now my issue is resolved.

Maybe you are looking for