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

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

  • 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

  • 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

  • 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

  • Error when applyin adcfgclone on dbtier  RC-50004: FATAL ERROR RC-50014

    I have performed the following steps several times and only two times it was successful..rest of the time,it gave me the following error
    Does anyone know how to resolve this or whats the problem behind this
    Below are the steps i perform followed by the log file contents too..
    Thanks
    [oracle@t2 ~]$ cd /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin
    [oracle@t2 bin]$ ls
    adcfgclone.pl adchkutl.sh adclonectx.pl adclone.pl
    [oracle@t2 bin]$ ./adcfgclone.pl dbTier
    Using Java from /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre
    Enter the APPS user password:
    JDBCCLASSES = /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar
    XMLPCLASSES = /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar
    LOCAL_CPATH = /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar
    First Creating a new context file for the cloned system.
    The program is going to ask you for information about the new system:
    oracle
    = oracle
    dba
    = dba
    Running:
    /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile.lst -stage /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone 2> /tmp/adcfgclone.err; echo $? > /tmp/adcfgclone.resEnter the APPS password : apps
    Log file located at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_06051732.log
    Provide the values required for creation of the new Database Context file.
    Target hostname (virtual or normal) [t2]:
    Target instance is a Real Application Cluster (RAC) instance (y/n) [n]:
    Target System database name:test2
    Target system base directory for source homes:/d01/oracle/test2
    Target system utl_file accessible directories list:/usr/tmp
    Number of DATA_TOP's on the target system [4]:1
    Target system DATA_TOP 1:/d01/oracle/test2/db/apps_st/data
    Target system RDBMS ORACLE_HOME directory:/d01/oracle/test2/db/tech_st/10.2.0
    Do you want to preserve the Display set to 130.35.33.102:111.0 (y/n) [y] ?:
    Do you want the the target system to have the same port values as the source system (y/n) [y] ?:
    Complete port information available at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/out/test2_t2/portpool.lst
    Backing up /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml to /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml.bak
    Creating the new Database Context file from :
    /d01/oracle/test2/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
    The new database context file has been created :
    /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml
    Log file located at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_06051732.log
    Check logfile /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_06051732.log for details.
    Running Rapid Clone with command:
    perl /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml showProgress contextValidated=true
    Running:
    perl /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml showProgress contextValidated=true
    XMLPARSER: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar
    JDBC: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar
    CLASSPATH: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar
    OUI CLASSPATH: /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java
    Setting LD_LIBRARY_PATH to /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/oui/lib/linux
    Beginning database tier Apply - Thu Jun 5 17:33:42 2008
    /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/d01/oracle/test2/db/tech_st/10.2.0/oui -classpath /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /d01/oracle/test2/db/tech_st/10.2.0/appsutil/test2_t2.xml -stage /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone -showProgress
    APPS Password : Log file located at /d01/oracle/test2/db/tech_st/10.2.0/appsutil/log/test2_t2/ApplyDBTier_06051733.log
    \ 50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
    RC-50014: Fatal: Execution of AutoConfig was failed
    ERROR while running Apply...
    Thu Jun 5 17:38:53 2008
    ERROR: Failed to execute /d01/oracle/test2/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl
    Please check logfile.
    [oracle@t2 bin]$
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1077936128 bytes
    Fixed Size 2076584 bytes
    Variable Size 427819096 bytes
    Database Buffers 633339904 bytes
    Redo Buffers 14700544 bytes
    Control file created.
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/d01/oracle/test3/db/apps_st/data/system01.dbf'
    alter tablespace TEMP1 add tempfile '/d01/oracle/test3/db/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/d01/oracle/test3/db/apps_st/data/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "test3.luckyerp"
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1077936128 bytes
    Fixed Size 2076584 bytes
    Variable Size 427819096 bytes
    Database Buffers 633339904 bytes
    Redo Buffers 14700544 bytes
    Database mounted.
    PL/SQL procedure successfully completed.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1077936128 bytes
    Fixed Size 2076584 bytes
    Variable Size 427819096 bytes
    Database Buffers 633339904 bytes
    Redo Buffers 14700544 bytes
    Control file created.
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/d01/oracle/test3/db/apps_st/data/system01.dbf'
    alter tablespace TEMP1 add tempfile '/d01/oracle/test3/db/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/d01/oracle/test3/db/apps_st/data/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "test3.luckyerp"
    ERROR at line 1:
    ORA-01109: database not open

    but what wil be the remaining steps of clone then..?If you have not done any changes recently on your source nodes (add a tablespace/database, applied patches, add new forms/reports, ..etc), then do the following:
    - Make sure you shutdown the source instance properly before copying the file to the target node.
    - Configure the target system database server (run the following as oracle user):
    $ cd <RDBMS ORACLE_HOME>/appsutil/clone/bin
    $ perl adcfgclone.pl dbTier - Configure the target system application server (run the following as applmgr user):
    $ cd <COMMON_TOP>/clone/bin
    $ perl adcfgclone.pl appsTierNote: 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230672.1

  • 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

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

  • Installation of 11i on 32-Bits OEL4 having linking error.

    Hi,
    I am trying to install 11i (11.5.10.2) on OLE 4.x 32-Bits, but having linking errors when adlnkoh.sh running. The log show following error message cat 10120907.log".
    adlnkoh.sh started at Fri Oct 12 09:21:06 EDT 2012
    logfile located in /ebs11i/oracle/visdb/9.2.0/install/make.log
    Error while running adlnkoh.sh. Please check logfile
    Errors while running adlnkoh.sh
    There was an error while running the command - /ebs11i/oracle/visdb/9.2.0/temp/VIS_ebs11i40/adrun9i.sh APPS APPS
    /ebs11i/oracle/visdb/9.2.0/appsutil/install/adlnkoh.sh: line 207: /ebs11i/oracle/visdb/9.2.0/bin/sqlplus: No such file or directory
    RW-50010: Error: - script has returned an error: 1
    RW-50004: Error code received when running external process. Check log file for details.
    Running Database Install Driver for VIS instance
    Now the make log /ebs11i/oracle/visdb/9.2.0/install/make.log is showing following messages:
    running genclntsh...
    /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o: file not recognized: File format not recognized
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.10.1
    rm -f oracle dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest expdp impdp imp exp sqlldr rman nid extjob extjobo genezi ikfod grdcscan /ebs11i/oracle/visdb/9.2.0/rdbms/lib/ksms.s /ebs11i/oracle/visdb/9.2.0/rdbms/lib/ksms.o
    But when I check details about file kpudfo.o, it is showing 64-Bits, How come this file is 64-Bits when I am installing 32-Bits application?
    [oracle@ebs11i40:/ebs11i]$ file /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o
    /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped
    Please help me with this issue.
    Thanks.

    There was an error while running the command - /ebs11i/oracle/visdb/9.2.0/temp/VIS_ebs11i40/adrun9i.sh APPS APPS
    /ebs11i/oracle/visdb/9.2.0/appsutil/install/adlnkoh.sh: line 207: /ebs11i/oracle/visdb/9.2.0/bin/sqlplus: No such file or directory
    RW-50010: Error: - script has returned an error: 1
    RW-50004: Error code received when running external process. Check log file for details.
    Running Database Install Driver for VIS instanceWhat version of gcc have you installed? Please make sure you are using the correct version (Perl Adcfgclone.pl dbTechStack Failed While Relink /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to`dl_iterate_phdr@GLIBC_2.2.4' [ID 417605.1]).
    /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o: file not recognized: File format not recognized
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.10.1
    rm -f oracle dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest expdp impdp imp exp sqlldr rman nid extjob extjobo genezi ikfod grdcscan /ebs11i/oracle/visdb/9.2.0/rdbms/lib/ksms.s /ebs11i/oracle/visdb/9.2.0/rdbms/lib/ksms.o
    But when I check details about file kpudfo.o, it is showing 64-Bits, How come this file is 64-Bits when I am installing 32-Bits application?
    [oracle@ebs11i40:/ebs11i]$ file /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o
    /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped
    Please help me with this issue.What is the output of "uname -m" command? -- Installing onto Linux And Receive error: Genclntsh: Failed To Link Libclntsh.So.10.1 [ID 340861.1]
    Thanks,
    Hussein

  • Context creation not completed successfully. Please check /tmp/adcfg

    I am running perl adcfgclone at the databaseTier of R12.0.4 and am getting below error please reply
    PROMPT :
    Target hostname (virtual or normal) [zishan]
    ANSWER :
    zishan
    PROMPT :
    Target system domain name
    ANSWER :
    TEST1
    StackTrace:
    java.lang.NullPointerException
    at java.util.Hashtable.put(Unknown Source)
    at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:888)
    at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:575)
    at oracle.apps.ad.context.CloneContext.main(CloneContext.java:4647)
    RC-50004: Error occurred in CloneContext:
    null
    Context file creation not succesful

    Hi,
    PROMPT :
    Target system domain name
    ANSWER :
    TEST1Is TEST1 the correct domain name?
    StackTrace:
    java.lang.NullPointerException
    at java.util.Hashtable.put(Unknown Source)
    at oracle.apps.ad.context.CloneContext.getInputFromUsers(CloneContext.java:888)
    at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:575)
    at oracle.apps.ad.context.CloneContext.main(CloneContext.java:4647)
    RC-50004: Error occurred in CloneContext:
    null
    Context file creation not succesfulPlease verify you have proper entry in the hosts file, and entry the correct domain name as the one you have in the hosts file.
    RC-50004: Error Occurred In Clonecontext : At Java.util.Hashtable.put(Unknown Source) [ID 763587.1]
    perl adcfgclone.pl dbTechStack fails with error RC-50004: Error occurred in CloneContext [ID 467659.1]
    Clone Procedure For "Perl Adcfgclone.Pl Dbtechstack " Returns Error [ID 457814.1]
    Thanks,
    Hussein

  • 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

  • Problem creating source list

    Hi    We are on ECC 5.0 and in one of our ABAP programs create a PIR as a first step using ME11 BDC call and then go ahead to create a sourcelist for the material + plant and the vendor ( for which PIR was created in the first step ) . To create sour

  • File Upload with ASP script

    I'm trying to upload file from Flex2 application using FileReference.upload("upload.asp") method. However in asp script I can't read any data - no file, no other parameters I'm sending with URLvariables. In asp I tried both "Request.Form" and "Reques

  • PPOMA_BBP - How to defin periods of assignement and object

    Dear all, We have an additional company code and for that reason we created a new organizational unit "plant" (Plant B) in PPOMA. One of our existing organizational structures (org units with positions and central persons) will be switched on 01.01.2

  • "This phone is already subscribed to Nokia Music U...

    when i try to share any song or send it to any of my friend,it says create an account.which account they are looking for? and i also have another problem.i have an account in Nokia account,but when i go to download any song from Nokia Music,it gives

  • Track Text Edit tags get trounced when applying additional tag?

    Hi all, Just upgraded to FM9. I opened a doc that was originall created in FM8. I had (and still have) enabled tracking of text edits, and can see the FM8_TRACK_CHANGES_ADDED and FM8_TRACK_CHANGES_DELETED tags when I highlight text. However, when I a