Error in adcfgclone of dbTier

Hi,
oraprod@santest bin]$ adcfgclone.pl dbTier
Enter the APPS password [APPS]:
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
AC-00002: Error: Unable to create log file - CloneContext_08180354.log
RC-50004: Error occurred in CloneContext:
AC-00002: Unable to create log file - CloneContext_08180354.log
Raised by oracle.apps.ad.util.LogFile
AC-00002: Error: Unable to create log file - CloneContext_08180354.log
Exception while writing to logfile.
Check logfile CloneContext_08180354.log for details.
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone.err file for errors
I'm getting this error while running adcfgclone.pl. And error log file also empty.I have done all prerequisite properly.Can u help me in this issue???
Thanks
Sanjay Deshwal
Edited by: [email protected] on Aug 18, 2009 4:04 AM

Hi,
Any details about the error in adcfgclone.pl script?
Please make sure that oracle user has read/write permission on the target database tier files, and run the command again.
Regards,
Hussein

Similar Messages

  • Error while runnig adcfgclone.pl dbTier

    Hii.
    i was cloning my PROD instance to a Test instance and while configuring the target system database server
    perl adcfgclone.pl dbTier, Im getting the following error
    The new database context file has been created :
    */u03/UAT/uatdb/10.2.0/appsutil/UAT_msftora2.xml*
    Log file located at /tmp/CloneContext_10081143.log
    Running Rapid Clone with command:
    perl /u03/UAT/uatdb/10.2.0/appsutil/clone/bin/adclone.pl java=/u03/UAT/u atdb/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u03/UAT/uatdb/10.2.0/app sutil/clone/bin/.. component=dbTier method=CUSTOM dbctxtg=/u03/UAT/uatdb/10.2.0/ appsutil/UAT_msftora2.xml  showProgress contextValidated=true
    Beginning database tier Apply - Sat Oct  8 11:44:14 2011
    Log file located at /u03/UAT/uatdb/10.2.0/appsutil/log/UAT_msftora2/ApplyDBTier_ 10081144.log
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    ERROR while running Apply...
    ERROR: Failed to execute /u03/UAT/uatdb/10.2.0/appsutil/clone/bin/adclone.pl
    And my logfile contents is shown below
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : msftora2
    sDbDomain : msftpnq.com
    sDbPort : 1528
    sDbSid : UAT
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@msftora2.msftpnq.com:1528:UAT
    Exception occurred: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=UAT)))
    Exception occurred: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=UAT.msftpnq.com)))
    Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=UAT.msftpnq.com)))
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
         at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
         at java.lang.Thread.run(Unknown Source)
    can anyone help me in solving the problem
    waiting for your replies
    Thanks in advance
    Edited by: 881222 on Oct 8, 2011 12:46 AM

    The following is some of the logfile contentss
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@msftora2.msftpnq.com:1536:TEST
    Exception occurred: java.sql.SQLException: ORA-01017: invalid
    username/password; logon denied
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL:
    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1536))(CONNECT_DATA=(SERVICE_NAME=TEST)))
    Exception occurred: java.sql.SQLException: ORA-01017: invalid
    username/password; logon denied
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL:
    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1536))(CONNECT_DATA=(SERVICE_NAME=TEST.msftpnq.com)))
    Exception occurred: java.sql.SQLException: Listener refused the connection
    with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in
    connect descriptor
    The Connection descriptor used by the client was:
    *(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=msftora2.msftpnq.com)(PORT=1536))(CONNECT_DATA=(SERVICE_NAME=TEST.msftpnq.com)))*
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    Method)        at
    sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at
    oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Unknown Source)
    Can you find any issue in thiss...
    Thankss

  • Adcfgclone.pl dbTier ADX  connection error

    Hello,
    I got this error message in the Netservicehandler.log at the end of
    perl adcfgclone.pl dbTier. Platform config is as follows:
    Host: 64bit sun solaris
    apps: 11.5.9
    db: 9.2.0
    Log file follows:--
    $ moreNetServiceHandler.logNetServiceHandler.log
    moreNetServiceHandler.logNetServiceHandler.log: not found
    $ more NetServiceHandler.log
    Using java command: /oracle/devdbdb/9.2.0/jdk/bin/java
    JAVA_HOME :
    Java version : 1.3.1_11
    Classpath : /oracle/devdbdb/9.2.0/jdk/jre/lib/rt.jar:/oracle/devdbdb/9.2.0/jdk/jre/lib/i18n.jar:/
    oracle/devdbdb/9.2.0/jdk/lib/dt.jar:/oracle/devdbdb/9.2.0/jdk/lib/tools.jar:/oracle/devdbdb/9.2.0/jdbc/lib/cla
    sses12.jar:/oracle/devdbdb/9.2.0/appsutil/java/xmlparserv2.zip:/oracle/devdbdb/9.2.0/appsutil/java
    ===============================================================================
    NetServiceHandler 115.33 started for hostmachine at Thu Apr 27 17:48:10 PDT 2006
    ===============================================================================
    [ Context Information ]
    Host : hostmachine
    Domain : mydbtech.net
    Out Dir : /oracle/devdbdb/9.2.0/appsutil/out/DEVDB_hostmachine/04271748
    Tier Type : DATABASE TIER
    Getting connection...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : hostmachine
    sDbDomain : mydbtech.net
    sDbPort : 1524
    sDbSid : DEVDB
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@hostmachine.mydbtech.net:1524:DEVDB
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the co
    nnection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostmachine.mydbtech.net)(PORT=152
    4))(CONNECT_DATA=(SERVICE_NAME=DEVDB)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the co
    nnection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostmachine.mydbtech.net)(PORT=152
    4))(CONNECT_DATA=(SERVICE_NAME=DEVDB.mydbtech.net)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the co
    nnection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    Could not get connection to the database.
    Exiting with status 100 to instantiate the tnsnames.ora template
    Creation of Directory - /oracle/devdbdb/9.2.0/network/admin/DEVDB_hostmachine Succeeded.
    instantiate file:
    source : /oracle/devdbdb/9.2.0/appsutil/template/ad8itns.ora
    dest : /oracle/devdbdb/9.2.0/network/admin/DEVDB_hostmachine/tnsnames.ora
    AutoConfig is exiting with status 0
    instantiate file:
    source : /oracle/devdbdb/9.2.0/appsutil/template/ad8ilsnr.ora
    dest : /oracle/devdbdb/9.2.0/network/admin/DEVDB_hostmachine/listener.ora
    AutoConfig is exiting with status 0
    adgentns.pl exiting with status 0
    ERRORCODE = 0 ERRORCODE_END
    Please advise what to do now..
    Thanks

    Hello User50... ;)
    As rightly spoted by previous members. presumably you hav connectivity problems from Apps server abd DB server.
    In order to check it you can run the following commands on apps host
    sqlplus -S apps/apps
    conn apps/apps@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostmachine.mydbtech.net)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=DEVDB)))
    Connected. <-- You have to get connected, owervize you have got DB connectivity problem
    exit
    Enjoy,
    Yury

  • Perl adcfgclone.pl dbTier error

    Hi everyone. Newbie here. I'm running on an error during cloning R12 EBS production to development server and I'm doing it manually.
    After running the command: perl adcfgclone.pl dbTier and filling in the prompt details, clone was not successfully completed. Please see below the logs
    [root@tstocl bin]# perl adcfgclone.pl dbTier
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    Oracle Applications Rapid Clone
    Version 12.0.0
    adcfgclone Version 120.31.12010000.1
    Enter the APPS password :
    Running:
    /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin/java -Xmx6 00M -cp /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/java:/orclde v/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/xmlparserv2.jar:/orcldev/ts tred/dbred/db/tech_st/11.1.0/appsutil/clone/jlib/ojdbc5.jar oracle.apps.ad.conte xt.CloneContext -e /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/.. /context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_14291.lst -stage / orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone 2> /tmp/adcfgclone_14291. err; echo $? > /tmp/adcfgclone_14291.res
    Log file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/C loneContext_0719104652.log
    Provide the values required for creation of the new Database Context file.
    Target System Hostname (virtual or normal) [tstocl] :
    Target Instance is RAC (y/n) [n] :
    Target System Database SID : TST3
    Target System Base Directory : /orcldev/tstred/dbred
    Target System utl_file_dir Directory List : usr/tmp
    Number of DATA_TOP's on the Target System [1] :
    Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data] :
    RC-00002: Warning: Directory /orclprd/oraprd/dbsred/db/apps_st/data not found.
    Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data] : /o rcldev/tstred/dbred/db/apps_st/data
    Target System RDBMS ORACLE_HOME Directory [orcldev/tstred/dbred/db/tech_st/11.1                                                                                        .0] :
    Do you want to preserve the Display [null] (y/n) ? : y
    Do you want the the target system to have the same port values as the source sys tem (y/n) [y] ? : n
    Target System Port Pool [0-99] : 9
    Checking the port pool 9
    done: Port Pool 9 is free
    Report file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp/por tpool.lst
    Complete port information available at /orcldev/tstred/dbred/db/tech_st/11.1.0/a ppsutil/temp/portpool.lst
    Backing up /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml to / orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml1.bak
    Creating the new Database Context file from :
    /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
    AC-10006: Exception - org.xml.sax.SAXParseException: file:/orcldev/tstred/dbred/ db/tech_st/11.1.0/appsutil/TST3_tstocl.xml<Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected. thrown while creating OAVars object for f ile: /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
    The new database context file has been created :
    /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
    Log file located at /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/C loneContext_0719104652.log
    Check Clone Context logfile /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clo ne/bin/CloneContext_0719104652.log for details.
    Running Rapid Clone with command:
    perl /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl java= /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre mode=apply sta ge=/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone component=dbTier metho d=CUSTOM dbctxtg= showProgress contextValidated=true
    Running:
    perl /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl java= /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../jre mode=apply sta ge=/orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone component=dbTier metho d=CUSTOM dbctxtg= showProgress contextValidated=true
    APPS Password :
    You must define the target database context to use
    dbctxtg=<applications context file>
    Restart adclone.pl after performing required corrections.
    ERROR: Failed to execute /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone /bin/adclone.pl
    Please check logfile.
    Log file "CloneContext_0719104652.log" contains details below:
    [root@tstocl bin]# more CloneContext_0719104652.log
    Using admin directory: /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin
    #------Log File time stamp: 0719104652------------
    # $Header: CloneContext.java 120.92.12010000.5 2008/11/10 09:40:09 ksita ship $
    # Running on - tstocl
    # Source Host - null
    # Domain Name - reddragon.com
    # Context Location - /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/bin/../context/db/CTXORIG.xml
    # Context Type - null
    # Context Template - null
    # Clone Stage Area - /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone
    # Pairs File - /tmp/adpairsfile_14291.lst
    # Destination Context - null
    # Validation - true
    # Platform Migration - false
    # no prompt - false
    Variables extracted from pairsfile: /tmp/adpairsfile_14291.lst
    ****************************************************/n
    s_dbuser = root
    s_dbgroup = root
    PROMPT :
    Target System Hostname (virtual or normal) [tstocl]
    ANSWER :
    tstocl
    PROMPT :
    Target Instance is RAC (y/n) [n]
    ANSWER :
    n
    PROMPT :
    Target System Database SID
    ANSWER :
    TST3
    PROMPT :
    Target System Base Directory
    ANSWER :
    /orcldev/tstred/dbred
    PROMPT :
    Target System utl_file_dir Directory List
    ANSWER :
    usr/tmp
    PROMPT :
    Number of DATA_TOP's on the Target System [1]
    ANSWER :
    1
    PROMPT :
    Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data]
    ANSWER :
    /orclprd/oraprd/dbsred/db/apps_st/data
    Value /orclprd/oraprd/dbsred/db/apps_st/datais not valid value for s_dbhome1
    PROMPT :
    Target System DATA_TOP Directory 1 [orclprd/oraprd/dbsred/db/apps_st/data]
    ANSWER :
    /orcldev/tstred/dbred/db/apps_st/data
    Creating /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
    PROMPT :
    Target System RDBMS ORACLE_HOME Directory [orcldev/tstred/dbred/db/tech_st/11.1.0]
    ANSWER :
    /orcldev/tstred/dbred/db/tech_st/11.1.0
    Creating /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
    PROMPT :
    Do you want to preserve the Display [null] (y/n) ?
    ANSWER :
    y
    PROMPT :
    Do you want the the target system to have the same port values as the source system (y/n) [y] ?
    ANSWER :
    n
    Started testing the availabilty of ports in port pool 9
    Checking Database Port on tstocl: Port Value = 1530
    Database Port available: Port Value = 1530
    Checking DB ONS Local Port on tstocl: Port Value = 6309
    DB ONS Local Port available: Port Value = 6309
    Checking DB ONS Remote Port on tstocl: Port Value = 6409
    DB ONS Remote Port available: Port Value = 6409
    setDestination s_contextfile to : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
    Clone Context Parameters:
    Pairs File = /tmp/adpairsfile_14291.lst
    Target XML File = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
    Template File = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
    The following values will be used to create the context file
    s_isWeb = YES
    s_db_util_filedir = usr/tmp
    s_db_rollback_segs = NOROLLBACK
    s_dbhome4 = /orcldev/tstred/dbred/db/apps_st/data
    s_dbhome3 = /orcldev/tstred/dbred/db/apps_st/data
    s_dbhost = tstocl
    s_db_oh = /orcldev/tstred/dbred/db/tech_st/11.1.0
    s_dbhome2 = /orcldev/tstred/dbred/db/apps_st/data
    s_dbhome1 = /orcldev/tstred/dbred/db/apps_st/data
    s_dbgroup = root
    s_dbGlnam = TST3
    s_dbdomain = reddragon.com
    s_dbSid = TST3
    s_dbuser = root
    s_isForms = YES
    s_database_type =
    s_temp = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp
    s_db_ons_localport = 6309
    s_hostname = tstocl
    s_dbSidLower = tst3
    s_cmanport = 1530
    s_dbCluster = false
    s_domainname = reddragon.com
    s_isAdmin = YES
    s_isConc = YES
    s_contextfile = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
    s_dbport = 1530
    s_contextname = TST3_tstocl
    s_db_ons_remoteport = 6409
    s_clonestage = /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/clone
    s_base = /orcldev/tstred/dbred
    Clone Context will now iteratively apply changes
    to create the new target context file.
    instantiate file:
    source : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp.xml
    dest : /tmp/tmptmpCtxClone.xml
    instantiate file:
    source : /tmp/tmptmpCtxClone.xml
    dest : /tmp/tmptmpCtxClone.xml
    instantiate file:
    source : /tmp/tmptmpCtxClone.xml
    dest : /tmp/tmptmpCtxClone.xml
    instantiate file:
    source : /tmp/tmptmpCtxClone.xml
    dest : /tmp/tmptmpCtxClone.xml
    instantiate file:
    source : /tmp/tmpCtxClone.xml
    dest : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
    AC-50401: Command: su prddbs -c "cp /tmp/TST3_tstocl.xml /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml" failed
    Raised by oracle.apps.ad.autoconfig.InstantiateFile
    instantiate file:
    source : /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/temp.xml
    dest : /tmp/tmpdummy.xml
    instantiate file:
    source : /tmp/tmpdummy.xml
    dest : /tmp/tmpdummy.xml
    instantiate file:
    source : /tmp/tmpdummy.xml
    dest : /tmp/tmpdummy.xml
    instantiate file:
    source : /tmp/tmpdummy.xml
    dest : /tmp/tmpdummy.xml
    instantiate file:
    source : /tmp/tmpdummy.xml
    dest : /tmp/tmpdummy.xml
    The values for these variables will be retained from the source context
    The new context file has been created at:
    /orcldev/tstred/dbred/db/tech_st/11.1.0/appsutil/TST3_tstocl.xml
    The first suspicion I thought of was that I'm running out of disk space to clone another instance. But I've checked and there's still enough space, even in the /tmp directory. The second I thought of is does setting ownership and the os permissions have something to do with this?
    Hope somebody can help me out with this asap.
    Thank you.

    error for dbTier cloning is solved. I didn't log in as the database user and didn't change permissions for the node files after copying. Cloning for db tier is completed.
    I proceed with cloning the apps tier and I'm running into errors and cannot proceed. See log below:
    [appls3@tstocl bin]$ perl adcfgclone.pl appsTier
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    Oracle Applications Rapid Clone
    Version 12.0.0
    adcfgclone Version 120.31.12010000.1
    Enter the APPS password :
    Running:
    /orcldev/tstred/aplred/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /orcldev/tstred/aplred/apps_st/comn/clone/jlib/java:/orcldev/tstred/aplred/apps_st/comn/clone/jlib/xmlparserv2.jar:/orcldev/tstred/aplred/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /orcldev/tstred/aplred/apps_st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_20757.lst -stage /orcldev/tstred/aplred/apps_st/comn/clone 2> /tmp/adcfgclone_20757.err; echo $? > /tmp/adcfgclone_20757.res
    Log file located at /orcldev/tstred/aplred/apps_st/comn/clone/bin/CloneContext_0719152502.log
    Provide the values required for creation of the new APPL_TOP Context file.
    Target System Hostname (virtual or normal) [tstocl] :
    Target System Database SID : TST3
    Target System Database Server Node [tstocl] :
    Target System Base Directory : orcldev/tstred/aplred
    Target System Tools ORACLE_HOME Directory [orcldev/tstred/aplred/apps/tech_st/10.1.2] :
    RC-00213: Warning: The path specified must be the absolute path
    Please advise. Thanks

  • 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

  • I am cloning r12 10.2.0.4 database and running perl adcfgclone.pl dbTier

    bash-3.00$ perl adcfgclone.pl dbTier
    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:
    /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/java:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_631.lst -stage /u01/oracle/db/tech_st/10.2.0/appsutil/clone 2> /tmp/adcfgclone_631.err; echo $? > /tmp/adcfgclone_631.res
    Log file located at /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_0407143111.log
    Provide the values required for creation of the new Database Context file.
    Target System Hostname (virtual or normal) [ksctest] : ksctest
    Target Instance is RAC (y/n) [n] : n
    Target System Database SID : atest
    Target System Base Directory : /u01/oracle
    Oracle OS User [oracle] : oracle
    Target System utl_file_dir Directory List : /usr/tmp
    Number of DATA_TOP's on the Target System [2] : 1
    Target System DATA_TOP Directory 1 : /u01/oracle/db/apps_st/data
    Target System RDBMS ORACLE_HOME Directory [u01/oracle/db/tech_st/10.2.0] : /u01/oracle/db/tech_st/10.2.0
    Do you want to preserve the Display [null] (y/n) ? : n
    Target System Display [ksctest:0.0] : ksctest:1.0
    Do you want the the target system to have the same port values as the source system (y/n) [y] ? : n
    Target System Port Pool [0-99] : 50
    Checking the port pool 50
    done: Port Pool 50 is free
    Report file located at /u01/oracle/db/tech_st/10.2.0/appsutil/temp/portpool.lst
    Complete port information available at /u01/oracle/db/tech_st/10.2.0/appsutil/temp/portpool.lst
    Backing up /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml to /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml1.bak
    Creating the new Database Context file from :
    /u01/oracle/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
    The new database context file has been created :
    /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml
    Log file located at /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_0407143111.log
    Check Clone Context logfile /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_0407143111.log for details.
    Running Rapid Clone with command:
    perl /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u01/oracle/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml showProgress contextValidated=true
    Running:
    perl /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u01/oracle/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml showProgress contextValidated=true
    APPS Password :
    Beginning database tier Apply - Sun Apr 7 14:35:15 2013
    /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/u01/oracle/db/tech_st/10.2.0/oui -classpath /u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/java:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/u01/oracle/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /u01/oracle/db/tech_st/10.2.0/appsutil/atest_ksctest.xml -stage /u01/oracle/db/tech_st/10.2.0/appsutil/clone -rmanstage -rmantgtloc -srcdbname -showProgress
    APPS Password : Log file located at /u01/oracle/db/tech_st/10.2.0/appsutil/log/atest_ksctest/ApplyDBTier_04071435.log
    / 4% completed RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack
    ERROR while running Apply...
    Sun Apr 7 14:36:15 2013
    ERROR: Failed to execute /u01/oracle/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl
    Please check logfile.
    =========================================================
    Skipping Profile Phase
    Skipping Apply Phase
    [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/db/tech_st/10.2.0/appsutil/install/atest_ksctest
    adcrdb.sh INSTE8
    AutoConfig is exiting with status 1
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    i am getting this error in logfile

    user3714906 wrote:
    please updatePlease see my previous reply -- Please search the log file for adcrdb.sh and you should find more details about the error
    Thanks,
    Hussein

  • Oracle EBS 11i - Cloning failing while running 'perl adcfgclone.pl dbTier

    Hi DBAs/Experts
    I am trying to clone the Oracle 11i (11.5.10.2 with RUP6) all single node on RHEL 4.6. I was following the metalink note 230672.1.
    I ran adpreclone scripts successfully on the dbTier and appsTier. Shutdown the Apps & DB. Moved over the file system (whole /u01) which include all the homes ,tops and datafiles from source to target.
    While running 'perl adcfgclone.pl dbTier' , I am getting following errors. I didn't check any pre-requisite patches for Rapid Clone as the EBS was already up-todate with RUP6. (How can I verify if the system is on RUP6 in case I have to double check it).
    ------------------ Error Message -------
    adlnkoh.sh started at Thu Feb 26 21:55:55 EST 2009
    logfile located in /u01/app/oracle/visdb/9.2.0/install/make.log
    Error while running adlnkoh.sh. Please check logfile
    .end std out.
    /u01/app/oracle/visdb/9.2.0/appsutil/install/adlnkoh.sh: line 198: /u01/app/oracle/visdb/9.2.0/bin/sqlplus: No such file or directory
    .end err out.
    StackTrace:
    /u01/app/oracle/visdb/9.2.0/install/make.log
    mv -f /u01/app/oracle/visdb/9.2.0/bin/oracleO /u01/app/oracle/visdb/9.2.0/bin/oracle
    make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/oracle /u01/app/oracle/visdb/9.2.0/bin/oracleO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle /u01/app/oracle/visdb/9.2.0/bin/oracle
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    chmod 6751 /u01/app/oracle/visdb/9.2.0/bin/oracle
    chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    Completed...
    /u01/app/oracle/visdb/9.2.0/bin/oracle did not relink properly.
    Please review relink errors in this log file
    Please help me with your expert advises to resolve the issue.
    Thanks
    -Samar
    Edited by: user4314207 on Mar 4, 2009 8:09 PM
    Edited by: user4314207 on Mar 5, 2009 9:18 AM

    running genclntsh...
    basename: too few arguments
    Try `basename --help' for more information.
    cp: missing file argument
    Try `cp --help' for more information.
    cp: cannot stat `/DISCARD/': No such file or directory
    ar: creating /u01/app/oracle/visdb/9.2.0/lib/libclntst9.a
    Created /u01/app/oracle/visdb/9.2.0/lib/libclntst9.a
    rm -f oracle mig dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest imp exp sqlldr rman avmurout avmping avligmsg avmumon nid /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.s /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.o
    Starting: "make -if /u01/app/oracle/visdb/9.2.0/rdbms/lib/ins_rdbms.mk install"
    chmod 755 /u01/app/oracle/visdb/9.2.0/bin
    rm -f oracle mig dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest imp exp sqlldr rman avmurout avmping avligmsg avmumon nid /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.s /u01/app/oracle/visdb/9.2.0/rdbms/lib/ksms.o
    - Linking Oracle
    rm -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle
    gcc -o /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle -L/u01/app/oracle/visdb/9.2.0/rdbms/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ -Wl,-E `test -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/skgaioi.o && echo /u01/app/oracle/visdb/9.2.0/rdbms/lib/skgaioi.o` /u01/app/oracle/visdb/9.2.0/rdbms/lib/opimai.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/ssoraed.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/ttcsoi.o /u01/app/oracle/visdb/9.2.0/lib/nautab.o /u01/app/oracle/visdb/9.2.0/lib/naeet.o /u01/app/oracle/visdb/9.2.0/lib/naect.o /u01/app/oracle/visdb/9.2.0/lib/naedhs.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/config.o -lserver9 -lodm9 -lskgxp9 -lskgxn9 -lclient9 -lvsn9 -lwtcserver9 -lcommon9 -lgeneric9 /u01/app/oracle/visdb/9.2.0/rdbms/lib/defopt.o -lknlopt `if /usr/bin/ar tv /u01/app/oracle/visdb/9.2.0/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap9" ; fi` -lslax9 -lpls9 -lplp9 -lserver9 -lclient9 -lvsn9 -lwtcserver9 -!
    lcommon9 -lgeneric9 -lknlopt -lslax9 -lpls9 -lplp9 -ljox9 -lserver9 -locijdbcst9 -lwwg9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `if /usr/bin/ar tv /u01/app/oracle/visdb/9.2.0/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo9"; fi` -lctxc9 -lctx9 -lzx9 -lgx9 -lctx9 -lzx9 -lgx9 -lordimt9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lsnls9 -lunls9 -lxsd9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lun!
    ls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` !
    -Wl,-rpa
    th,/u01/app/oracle/visdb/9.2.0/lib:/lib/i686:/lib:/usr/lib -lm `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm `test -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/skgaioi.o && echo -laio`
    /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
    collect2: ld returned 1 exit status
    make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/oracle /u01/app/oracle/visdb/9.2.0/bin/oracleO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle /u01/app/oracle/visdb/9.2.0/bin/oracle
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    chmod 6751 /u01/app/oracle/visdb/9.2.0/bin/oracle
    chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/oracle': No such file or directory
    make: [ioracle] Error 1 (ignored)
    Linking Migration utility (mig)
    rm -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/mig
    gcc -o /u01/app/oracle/visdb/9.2.0/rdbms/lib/mig -L/u01/app/oracle/visdb/9.2.0/rdbms/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ /u01/app/oracle/visdb/9.2.0/rdbms/lib/s0kumain.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/skumcf.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/defopt.o /u01/app/oracle/visdb/9.2.0/lib/nautab.o /u01/app/oracle/visdb/9.2.0/lib/naeet.o /u01/app/oracle/visdb/9.2.0/lib/naect.o /u01/app/oracle/visdb/9.2.0/lib/naedhs.o -ldbtools9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -l!
    nzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxm!
    l9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib!
    /ldflags
    ` -lpls9 -lplp9 -lxsd9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/visdb/9.2.0/lib:/lib:/usr/lib -lm `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm
    /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
    collect2: ld returned 1 exit status
    make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/mig] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/mig /u01/app/oracle/visdb/9.2.0/bin/migO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/mig': No such file or directory
    make: [imig] Error 1 (ignored)
    mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/mig /u01/app/oracle/visdb/9.2.0/bin/mig
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/mig': No such file or directory
    make: [imig] Error 1 (ignored)
    chmod 751 /u01/app/oracle/visdb/9.2.0/bin/mig
    chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/mig': No such file or directory
    make: [imig] Error 1 (ignored)
    - Linking DB*Verify utility (dbv)
    rm -f /u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv
    gcc -o /u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv -L/u01/app/oracle/visdb/9.2.0/rdbms/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ /u01/app/oracle/visdb/9.2.0/rdbms/lib/s0kudbv.o /u01/app/oracle/visdb/9.2.0/rdbms/lib/defopt.o -ldbtools9 -lsnls9 -lunls9 -lnls9 -lclntsh `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -l!
    generic9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/visdb/9.2.0/lib:/lib:/usr/lib -lm `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm
    /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
    collect2: ld returned 1 exit status
    make: [u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/dbv /u01/app/oracle/visdb/9.2.0/bin/dbvO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/dbv': No such file or directory
    make: [idbv] Error 1 (ignored)
    mv /u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv /u01/app/oracle/visdb/9.2.0/bin/dbv
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/rdbms/lib/dbv': No such file or directory
    make: [idbv] Error 1 (ignored)
    chmod 751 /u01/app/oracle/visdb/9.2.0/bin/dbv
    chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/dbv': No such file or directory
    make: [idbv] Error 1 (ignored)
    Starting: "make -if /u01/app/oracle/visdb/9.2.0/precomp/lib/ins_precomp.mk links"
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLCA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f ORACA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLDA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLCA.COB)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f ORACA.COB)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SQLCA.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f ORACA.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f BNDDSC.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; rm -f SELDSC.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlca.h SQLCA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s oraca.h ORACA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlda.h SQLDA.H)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlca.cob SQLCA.COB)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s oraca.cob ORACA.COB)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s sqlca.for SQLCA.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s oraca.for ORACA.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s bnddsc.for BNDDSC.FOR)
    (cd /u01/app/oracle/visdb/9.2.0/precomp/public ; ln -s seldsc.for SELDSC.FOR)
    Completed...
    Starting: "make -if /u01/app/oracle/visdb/9.2.0/sqlplus/lib/ins_sqlplus.mk install"
    rm -f sqlplus
    /bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/demobld
    /bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/demodrop
    /bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/helpins
    /bin/chmod 755 /u01/app/oracle/visdb/9.2.0/bin/pupbld
    Linking sqlplus
    rm -f sqlplus
    gcc -o sqlplus -L/u01/app/oracle/visdb/9.2.0/sqlplus/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/ -L/u01/app/oracle/visdb/9.2.0/lib/stubs/ /u01/app/oracle/visdb/9.2.0/sqlplus/lib/s0afimai.o -lsqlplus -lclntsh `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /u01/app/oracle/visdb/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /u01/app/oracle/vi!
    sdb/9.2.0/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/visdb/9.2.0/lib:/lib:/usr/lib -lm -lpthread `cat /u01/app/oracle/visdb/9.2.0/lib/sysliblist` -ldl -lm -lpthread
    /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
    collect2: ld returned 1 exit status
    make: [sqlplus] Error 1 (ignored)
    /bin/chmod 755 sqlplus
    /bin/chmod: cannot access `sqlplus': No such file or directory
    make: [sqlplus] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/bin/sqlplus /u01/app/oracle/visdb/9.2.0/bin/sqlplusO
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/bin/sqlplus': No such file or directory
    make: [newsqlplus] Error 1 (ignored)
    mv -f /u01/app/oracle/visdb/9.2.0/sqlplus/lib/sqlplus /u01/app/oracle/visdb/9.2.0/bin/sqlplus
    mv: cannot stat `/u01/app/oracle/visdb/9.2.0/sqlplus/lib/sqlplus': No such file or directory
    make: [newsqlplus] Error 1 (ignored)
    /bin/chmod 751 /u01/app/oracle/visdb/9.2.0/bin/sqlplus
    /bin/chmod: cannot access `/u01/app/oracle/visdb/9.2.0/bin/sqlplus': No such file or directory
    make: [newsqlplus] Error 1 (ignored)
    Completed...

  • Perl adcfgclone.pl dbTier  fails on control file creation

    Hi Guys,
    Platform is : Linux 5
    DB: 11.1.0.7
    R12.1.1
    I have a temp file that had been removed at the OS level.. on the source And I want to updated the control file regarding this so that it does not record this file any more.
    I am using rapid clone (EBS) to cone this source database unto the target but is failing on the target control file creation as it's trying to find the temp file that had been removed at the source. OS level.
    So I will like to update the control file on the source so that it does not reflect this dropped temp file any longer and then do the clone again.
    So What's the best way to achieve this or please point me to a metalink note:
    Also below are the rrors from the rapid clone
    /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/u04/oracle/ASCPT/db/tech_st/11.1.0/oui -classpath /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/xmlparserv2.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/ojdbc6.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/java:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/ewt3.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/share.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/srvm.jar:/u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/DEV2_irvstjunx084.xml -stage /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/clone -showProgress
    APPS Password : Log file located at /u04/oracle/ASCPT/db/tech_st/11.1.0/appsutil/log/DEV2_irvstjunx084/ApplyDBTier_05140928.log
    / 50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    I had tried modifying the the file adcrdbclone.sql in which is caled by <RDBMS $ORACLE_HOME>/appsutil/template/addbtmpl.drv by removing the temp file that does not exist .
    and then ran perl adcfgclone.pl dbTier again but still failed on the control file creation.
    Please advise
    Thanks in advance

    Hi Helios ,
    Thanks for getting back to me.
    I found that the issed was that there is a datafile that was dropped at the source at the OS level ... ( A mistake by one of support staff).
    So How can I modify the control file creation at the target not to reference the data file that does not exist. I have tried removing it as stated in my previore post but it stall fails at the control file creation
    Please adivise

  • ORA-01503 and ORA-01110 Errors while running adcfgclone.pl dbTier

    Hi,
    I am working on R12 on IBM AIX as I am cloning from one system to another I am facing some errors while running adcfgclone.pl for database tier.
    Following is the log from the adcfgclone.pl as it fails;
    Creating the control file for CLONE_test database ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 6 10:32:43 2010
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
    ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
    ORACLE instance started.
    Total System Global Area 1068937216 bytes
    Fixed Size                  2160600 bytes
    Variable Size             427821096 bytes
    Database Buffers          624951296 bytes
    Redo Buffers               14004224 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "CLONE"
    *+
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01159: file is not from same database as previous files - wrong database id
    ORA-01110: data file 22: '/u04/oracle/proddata/applsysx01.dbf'
    alter database open resetlogs
    *+
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile '/u03/oracle/proddata/temp01.dbf' REUSE
    *+
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "CLONE.testcom.com"
    *+
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01507: database not mounted
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
    ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
    ORACLE instance started.
    Total System Global Area 1068937216 bytes
    Fixed Size                  2160600 bytes
    Variable Size             427821096 bytes
    Database Buffers          624951296 bytes
    Redo Buffers               14004224 bytes
    ORA-03113: end-of-file on communication channel
    Process ID: 1278120
    Session ID: 1105 Serial number: 3
    ERROR:
    ORA-03114: not connected to ORACLE
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    Connected.
    ORA-01031: insufficient privileges
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    ERROR:
    ORA-01012: not logged on
    Disconnected
    exit_code=1
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 6 10:33:12 2010
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Disconnected
    +.end std out.+
    +.end err out.+
    I have checked the log for preclone from the source machine but there are no errors. Below are the last lines of preclone log file
    Zip2 - Completed native zipping sh -c "cd /u02/oracle/proddb/10.2.0/appsutil/out/PROD_testcom/; zip  -q  -y /u02/oracle/proddb/10.2.0/appsutil/clone/data/stage/adcrdb.zip -@ ; echo ERRORCODE = $? ERRORCODE_END"
    Done...
    +#############################################################+
    StageDBTier Finished at Tue Aug 31 16:50:19 GMT03:00 2010+
    Status: Completed Successfully
    +#############################################################+
    Please advice.
    Regards

    Hi user:
    1. Yes the database and lsnr were closed as the tar files were created. So, i assume thate there are no any oracle session avalibale when you copy files from source to target
    2. Yes I would also like to mention that it already had an old instance. So this is just a new clone. So, i mention you have valid entery on /etc/hosts file
    3. Please can you describe what permissions as from root user it was done as
    chown -R oratest:dba <db tier folders> If your target user is oratest than syntax seems correct, did you copy oracle_home too from source to target and this home owner is oratest again right?
    Regard
    Helios

  • Adcfgclone.pl dbTier error with RC-50004: Error occurred in CloneContext: null

    PROMPT :
    Target System Hostname (virtual or normal) [migrate]
    ANSWER :
    migrate
    PROMPT :
    Target Instance is RAC (y/n) [n]
    ANSWER :
    n
    PROMPT :
    Target System Database SID
    ANSWER :
    EBS12
    PROMPT :
    Target System Base Directory
    ANSWER :
    /u01/R12/ora11
    PROMPT :
    Target System utl_file_dir Directory List
    ANSWER :
    /usr/tmp
    PROMPT :
    Number of DATA_TOP's on the Target System [1]
    ANSWER :
    1
    PROMPT :
    Target System DATA_TOP Directory 1 [/u01/11i/ora11/ebs11data]
    ANSWER :
    /u01/R12/ora11/db/ebs11data
    Creating /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
    PROMPT :
    Target System RDBMS ORACLE_HOME Directory [/u01/R12/ora11/db/tech_st/11.1.0]
    ANSWER :
    /u01/R12/ora11/db/tech_st/11.1.0
    Creating /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
    PROMPT :
    Do you want to preserve the Display [null] (y/n)
    ANSWER :
    n
    PROMPT :
    Target System Display [migrate:0.0]
    ANSWER :
    migrate:0.0
    PROMPT :
    Do you want the the target system to have the same port values as the source system (y/n) [y] ?
    ANSWER :
    n
    Started testing the availabilty of ports in port pool 1
    Checking  Database Port on migrate:  Port Value = 1522
       Database Port available:  Port Value = 1522
    Checking  DB ONS Local Port on migrate:  Port Value = 6301
       DB ONS Local Port available:  Port Value = 6301
    Checking  DB ONS Remote Port on migrate:  Port Value = 6401
       DB ONS Remote Port available:  Port Value = 6401
    INFO: Unable to obtan DB Version!!!
    INFO: Because DB Version could not be obtained, defaulting s_jdktop and s_jretop to adxdbctx.tmp defined values
    setDestination s_contextfile to : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
    Clone Context Parameters:
            Pairs File      = /tmp/adpairsfile_31321.lst
            Target XML File = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
            Template File   = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
    The following values will be used to create the context file
      s_isWeb  =  YES
      s_db_listener  =  EBS12
      s_db_util_filedir  =  /usr/tmp
      s_db_rollback_segs  =  NOROLLBACK
      s_dbhome4  =  /u01/R12/ora11/db/ebs11data
      s_dbhome3  =  /u01/R12/ora11/db/ebs11data
      s_dbhost  =  migrate
      s_db_oh  =  /u01/R12/ora11/db/tech_st/11.1.0
      s_dbhome2  =  /u01/R12/ora11/db/ebs11data
      s_dbhome1  =  /u01/R12/ora11/db/ebs11data
      s_dbgroup  =  dba
      s_dbGlnam  =  EBS12
      s_dbdomain  =  evosys.co.in
      s_dbSid  =  EBS12
      s_dbuser  =  ora11
      s_isForms  =  YES
      s_database_type  =
      s_temp  =  /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp
      s_db_ons_localport  =  6301
      s_hostname  =  migrate
      s_dbSidLower  =  ebs12
      s_cmanport  =  1522
      s_dbCluster  =  false
      s_domainname  =  evosys.co.in
      s_isAdmin  =  YES
      s_isConc  =  YES
      s_contextfile  =  /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
      s_dbport  =  1522
      s_display  =  migrate:0.0
      s_contextname  =  EBS12_migrate
      s_db_ons_remoteport  =  6401
      s_clonestage  =  /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone
      s_base  =  /u01/R12/ora11
    Clone Context will now iteratively apply changes
    to create the new target context file.
    instantiate file:
       source : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp.xml
       dest   : /tmp/tmpCtxClone.xml
    instantiate file:
       source : /tmp/tmpCtxClone.xml
       dest   : /tmp/tmpCtxClone.xml
    instantiate file:
       source : /tmp/tmpCtxClone.xml
       dest   : /tmp/tmpCtxClone.xml
    instantiate file:
       source : /tmp/tmpCtxClone.xml
       dest   : /tmp/tmpCtxClone.xml
    instantiate file:
       source : /tmp/tmpCtxClone.xml
       dest   : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
    instantiate file:
       source : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp.xml
       dest   : /tmp//dummy.xml
    instantiate file:
       source : /tmp//dummy.xml
       dest   : /tmp//dummy.xml
    instantiate file:
       source : /tmp//dummy.xml
       dest   : /tmp//dummy.xml
    instantiate file:
       source : /tmp//dummy.xml
       dest   : /tmp//dummy.xml
    instantiate file:
       source : /tmp//dummy.xml
       dest   : /tmp//dummy.xml
    PROMPT :
    Source and Target platforms differ.  Rapid Clone will perform a platform migration.
    Do you wish to continue?  [y]
    ANSWER :
    y
    The values for these variables will be retained from the source context
      s_admin_restrictions  =  OFF
      s_metalink_id  =
      s_parallel_max_servers  =  8
      s_systemcsi  =  N/A
      s_apps_version  =  12.1.1
      s_contextserial  =  0
      s_instThread  =  0
      s_sqlnet_expire_time  =  10
      s_contexttype  =  Database Context
      s_db_sga_target  =  1G
      s_dbsharedpool_size  =  300000000
      s_db_shared_pool_size  =  400M
      s_clusterServicePort  =  9998
      s_dbcache_size  =  163577856
      s_rapidwizloc  =  /tmp/RapidInstall
      s_db_pga_aggregate_target  =  1G
      s_dbtype  =  VISION
      s_proxyhost  =
      s_nthreads  =  5
      s_db_processes  =  200
      s_enable_listener_password  =  OFF
      s_alt_service_instances  =
      s_dbClusterInst  =  1
      s_installedFrom  =  FS
      s_undo_tablespace  =  APPS_UNDOTS1
      s_adjreopts  =  -Xms128M -Xmx512M
      s_dbQuorumDisk  =
      s_db_linkctrl  =
      s_dbcomp  =  oracle.apps.dbseed.fresh
      s_db_sessions  =  400
      s_installloc  =  /tmp
      s_isDB  =  YES
      s_proxyport  =
      s_database  =  db111
      s_dbseed  =  No Database
      s_apps_user  =  APPS
      s_dbfiles  =  512
      s_db_shared_pool_reserved_size  =  40M
      s_bits  =  32
      s_dbblock_buffers  =  20000
      s_sys_user  =  SYS
      s_dlsnstatus  =  enabled
      s_db_plsql_native_library_subdir_count  =  149
      s_country_code  =
      s_subscribe_for_node_down_event  =  OFF
      s_instNumber  =  0
    The new context file has been created at:
            /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
    Performing file system cleanup specific to Platform Migration:
    StackTrace:
    java.lang.NullPointerException
            at java.util.Hashtable.put(Unknown Source)
            at oracle.apps.ad.clone.util.CloneCleanser.doMigrate(CloneCleanser.java:98)
            at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:718)
            at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5266)
    RC-50004: Error occurred in CloneContext:
    null
    Context file creation not succesful
    am trying to clone R12.1.1 with 11.1.0.7 from Linux5.5-32.bit to Linux5.8-64bit.
    migrating is fails.
    So please help me out of this.
    Thanks in Advance

    Hi,
    DB cloning will not suffice the migrating process. In order to perform a cloning from 32 bit to 64 bit, please follow the instructions in the below note:
    Migrating Oracle E-Business Suite R12 from Linux 32-bit to Linux 64-bit (Doc ID 471566.1)
    Thanks &
    Best Regards,

  • Adcfgclone.pl dbTier gets error

    Dear all i made the cloning steps on DB and apps . preclone completed successful on db and apps and autoconfig and i created appsutil also newly. i made everything to make the post clone succeed .everything is good only not post clone.
    APPS : REDHAT 4.7 32 BIT 11.5.10.2
    DB : ORACLE LINUX 5.3 64 BIT 10.2.0.5
    THE LOG CONTAINS ERRORS LIKE :
    Executing runAutoConfig...
    Deleting files of type INSTALL
    Checking for file: /oracle/oracle/proddb/10.2.0/network/admin/TEST_emctestdb/sqlnet.ora
    Processing driver file: /oracle/oracle/proddb/10.2.0/appsutil/template/addbtmpl.drv
    Checking for file: /oracle/oracle/proddb/10.2.0/network/admin/TEST_emctestdb/tnsnames.ora
    Checking for file: /oracle/oracle/proddb/10.2.0/dbs/initTEST.ora
    Checking for file: /oracle/oracle/proddb/10.2.0/network/admin/TEST_emctestdb/listener.ora
    Starting CVM in INSTE8_SETUP mode
    Using Context file : /oracle/oracle/proddb/10.2.0/appsutil/TEST_emctestdb.xml
    Attempting to create a back up of the Context file
    Created back up file of name :
    /oracle/oracle/proddb/10.2.0/appsutil/out/TEST_emctestdb/01300000/TEST_emctestdb.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 : /oracle/oracle/proddb/10.2.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 : /oracle/oracle/proddb/10.2.0/appsutil/template/custom/adxdbctx.tmp
    Custom template : Not available
    Customizations found : None
    File system Context file :/oracle/oracle/proddb/10.2.0/appsutil/TEST_emctestdb.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
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Generate Tns Names
    Classpath : /oracle/oracle/proddb/10.2.0/jdk/jre/lib/rt.jar:/oracle/oracle/proddb/10.2.0/jdk/lib/dt.jar:/oracle/oracle/proddb/10.2.0/jdk/lib/tools.jar:/oracle/oracle/proddb/10.2.0/jdbc/lib/ojdbc14.jar:/oracle/oracle/proddb/10.2.0/appsutil/java/xmlparserv2.zip:/oracle/oracle/proddb/10.2.0/appsutil/java:/oracle/oracle/proddb/10.2.0/jlib/netcfg.jar:/oracle/oracle/proddb/10.2.0/jlib/ldapjclnt10.jar
    Loading ORACLE_HOME environment from /oracle/oracle/proddb/10.2.0
    Logfile: /oracle/oracle/proddb/10.2.0/appsutil/log/TEST_emctestdb/01300000/NetServiceHandler.log
    Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
    Instantiating templates
    tnsnames.ora instantiated
    listener.ora instantiated
    adgentns.pl exiting with status 25600
    ERRORCODE = 25600 ERRORCODE_END
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ADX Database Utility
    getConnection() -->
    sDbHost : emctestdb
    sDbDomain : emceg.com
    sDbPort : 1522
    sDbSid : TEST
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@emctestdb.emceg.com:1522:TEST
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST.emceg.com)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-40201: Unable to connect to Database TEST.
    StackTrace:
    java.lang.Exception: Cannot connect to database using DBUtil
    at oracle.apps.ad.clone.ApplyDatabase.checkDBConnection(ApplyDatabase.java:3414)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:524)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Unknown Source)
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : emctestdb
    sDbDomain : emceg.com
    sDbPort : 1522
    sDbSid : TEST
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@emctestdb.emceg.com:1522:TEST
    Exception occurred: java.sql.SQLException: Io exception: Got minus one from a read call
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST)))
    Exception occurred: java.sql.SQLException: Io exception: Connection reset
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST.emceg.com)))
    Exception occurred: java.sql.SQLException: Io exception: Connection reset
    Connection could not be obtained; returning null
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Creating the control file for TEST_emctestdb database ...
    SQL*Plus: Release 10.2.0.5.0 - Production on Wed Jan 30 00:01:47 2013
    Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size 2101672 bytes
    Variable Size 427822680 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 14671872 bytes
    Control file created.
    Database altered.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Unknown Source
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    by the way listener gone up :
    You are running addlnctl.sh version 115.7
    Logfile: /oracle/oracle/proddb/10.2.0/appsutil/log/TEST_emctestdb/addlnctl.txt
    Starting listener process TEST ...
    addlnctl.sh: exiting with status 0
    .end std out.
    .end err out.
    THanks

    autoconfig errors :
    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
    Warning: Unable to connect to Database.
    If the system is OAM enabled, this may result in loss of customizations.
    Looking for custom template at : /oracle/oracle/proddb/10.2.0/appsutil/template/custom/adxdbctx.tmp
    Custom template : Not available
    Customizations found : None
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : emctestdb
    sDbDomain : emceg.com
    sDbPort : 1522
    sDbSid : TEST
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@emctestdb.emceg.com:1522:TEST
    Exception occurred: java.sql.SQLException: Io exception: Got minus one from a read call
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST)))
    Exception occurred: java.sql.SQLException: Io exception: Got minus one from a read call
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST.emceg.com)))
    Exception occurred: java.sql.SQLException: Io exception: Got minus one from a read call
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    Exception occurred while preseeding variables in the context file: java.sql.SQLException: Could not get connection to the database
    StackTrace:
    java.sql.SQLException: Could not get connection to the database
    at oracle.apps.ad.tools.configuration.CVMHelper.processNewContextFile(CVMHelper.java:884)
    at oracle.apps.ad.context.CtxValueMgt.preSeed2Ctx(CtxValueMgt.java:1721)
    at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1523)
    at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:665)
    Generate Tns Names
    Classpath : /oracle/oracle/proddb/10.2.0/jdk/jre/lib/rt.jar:/oracle/oracle/proddb/10.2.0/jdk/lib/dt.jar:/oracle/oracle/proddb/10.2.0/jdk/lib/tools.jar:/oracle/oracle/proddb/10.2.0/jdbc/lib/ojdbc14.jar:/oracle/oracle/proddb/10.2.0/appsutil/java/xmlparserv2.zip:/oracle/oracle/proddb/10.2.0/appsutil/java:/oracle/oracle/proddb/10.2.0/jlib/netcfg.jar:/oracle/oracle/proddb/10.2.0/jlib/ldapjclnt10.jar
    Loading ORACLE_HOME environment from /oracle/oracle/proddb/10.2.0
    Logfile: /oracle/oracle/proddb/10.2.0/appsutil/log/TEST_emctestdb/01300219/NetServiceHandler.log
    Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
    Instantiating templates
    tnsnames.ora instantiated
    listener.ora instantiated
    adgentns.pl exiting with status 25600
    ERRORCODE = 25600 ERRORCODE_END
    afdbprf.sh started at Wed Jan 30 02:19:48 EET 2013
    The environment settings are as follows ...
    ORACLE_HOME : /oracle/oracle/proddb/10.2.0
    ORACLE_SID : TEST
    PATH : /usr/bin:/oracle/oracle/proddb/10.2.0/bin:/usr/bin:/usr/sbin:/oracle/oracle/proddb/10.2.0/jdk/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/usr/bin:/oracle/oracle/proddb/10.2.0/bin:/usr/bin:/usr/sbin:/oracle/oracle/proddb/10.2.0/jdk/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/oracle/oracle/proddb/10.2.0/bin:/usr/bin:/usr/sbin:/oracle/oracle/proddb/10.2.0/jdk/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oraprod/bin
    Library Path : /oracle/oracle/proddb/10.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/oracle/oracle/proddb/10.2.0/ctx/lib
    Executable : /oracle/oracle/proddb/10.2.0/bin/sqlplus
    SQL*Plus: Release 10.2.0.5.0 - Production on Wed Jan 30 02:19:49 2013
    Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
    Enter value for 1: Enter value for 2: Enter value for 3: ERROR:
    ORA-12537: TNS:connection closed
    ERRORCODE = 1 ERRORCODE_END
    getConnection() -->
    sDbHost : emctestdb
    sDbDomain : emceg.com
    sDbPort : 1522
    sDbSid : TEST
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@emctestdb.emceg.com:1522:TEST
    Exception occurred: java.sql.SQLException: Io exception: Got minus one from a read call
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST)))
    Exception occurred: java.sql.SQLException: Io exception: Connection reset
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=emctestdb.emceg.com)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TEST.emceg.com)))
    Exception occurred: java.sql.SQLException: Io exception: Got minus one from a read call
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    Verifying connection to the Database : Could not be stablished
    [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: /oracle/oracle/proddb/10.2.0/appsutil/install/TEST_emctestdb
    afdbprf.sh INSTE8_PRF 1

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

    Hello all,
    i run adcfgclone.pl in apps Tier for clone, but facing issue. please advise.
    Do you want to preserve the port values from the source system on the target system (y/n) [y] ?:n
    Clone Context uses the same port pool mechanism as the Rapid Install
    Once you choose a port pool, Clone Context will validate the port availability.
    Enter the port pool number [0-99]:
    40
    Checking the port pool 40
    done: Port Pool 40 is free
    Complete port information available at /apps2/oracle/apps/oracle/zpntstappl/admin/out/ZPNTST_punastest1/portpool.lst
    Verifying Database Connection...
    RC-40201: Unable to connect to Database ZPNTST.
    Can not establish Database connection on Port 1561.
    Please verify the Database is up and running.
    Make sure the DB Port matches the one used on the dbTier.
    ERROR: context creation not completed successfully.
    Please check /tmp/adcfgclone_5008.err file for errors
    Edited by: tieto on Oct 14, 2010 5:35 AM

    Now i have given port no : - 41 in db tier
    Beginning APPSDB_ZPNTST registration to central inventory...
    ORACLE_HOME NAME : APPSDB_ZPNTST
    ORACLE_HOME PATH : /apps/oracle/apps/oracle/oradb
    Using Inventory location in /etc/oraInst.loc
    Log file located at /home/oracle/oraInventory/logs/OracleHomeCloner_10140518.log
    ERROR: Registration Failed... Please check log file.
    You can rerun this registration with the following script:
    /apps/oracle/apps/oracle/oradb/appsutil/out/ZPNTST_punastest1/regOUI_APPSDB_ZPNTST.sh
    Starting database listener for ZPNTST:
    Running:
    /apps/oracle/apps/oracle/oradb/appsutil/scripts/ZPNTST_punastest1/addlnctl.sh start ZPNTST
    You are running addlnctl.sh version 115.7
    Logfile: /apps/oracle/apps/oracle/oradb/appsutil/log/ZPNTST_punastest1/addlnctl.txt
    Starting listener process ZPNTST ...
    addlnctl.sh: exiting with status 1
    in log : -
    LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 14-OCT-2010 13:30:16
    Copyright (c) 1991, 2006, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCZPNTST))
    TNS-01201: Listener cannot find executable /apps/oracle/oradb/bin/oracle for SID ZPNTST
    LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 14-OCT-2010 13:30:25
    Copyright (c) 1991, 2006, Oracle. All rights reserved.
    TNS-01106: Listener using listener name ZPNTST has already been started
    LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 14-OCT-2010 17:18:36
    Copyright (c) 1991, 2006, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCZPNTST))
    TNS-01201: Listener cannot find executable /apps/oracle/oradb/bin/oracle for SID ZPNTST
    LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 14-OCT-2010 17:18:36
    Copyright (c) 1991, 2006, Oracle. All rights reserved.
    TNS-01106: Listener using listener name ZPNTST has already been started

  • Adcfgclone.pl dbTier is not prompting for ORACLE_HOME variable

    hi,
    adcfgclone.pl is not prompting for ORACLE_HOME variable.
    and erroring out with
    Checking the port pool 12
    done: Port Pool 12 is free
    Report file located at /appsutil/out/portpool.lst
    RC-00203: Unable to create/write to file /appsutil/out/portpool.lst.
    Complete port information available at /appsutil/out/portpool.lst
    RC-50004: Error occurred in CloneContext:
    AC-00005: No write permissions for creating the Context file - /appsutil/temp.xml
    Raised by oracle.apps.ad.context.AppsContext
    Check Clone Context logfile /mnt/ebs/PTCH/bin/db/tech_st/12.1.0/appsutil/clone/bin/CloneContext_0421032159.log for details.
    ERROR: Context creation not completed successfully.
    For additional details review the file /tmp/adcfgclone_6999.err if present.
    DOC refrred: How To Quick Solve This Post Clone Error : RC-50004, AC-00005: No Write Permissions For Creating The Context file - /tmp/temp.xml ? (Doc ID 842948.1)
    in the above DOC please let me know how to perform ANALYSIS part..
    Database version: 12.1.0.2.0
    Applications version: 12.1.3
    OS                         : OEL6.4
    please suggest
    Thanks
    Raghavendra

    are you able to create a file with os user which is running the rapidclone in /appsutil/temp.xml
    please check and update
    use touch command to create a file
    did you gave correct oracle home when prompted by rapidclone ?
    If you have set the right permissions at /tmp and the problem remains then check if at the post cloning steps at the dbTier, the scripts asks for the "Oracle Database Home"
    Target System RDBMS ORACLE_HOME Directory [/u01/clone/db/11.2.0/] :
    post the output of below command
    $ls -ltr ( in appsutil folder )
    AppsMasti
    sharing is Caring

  • Adcfgclone.pl dbTier failure

    Good Afternoon,
    I am cloning our production 9.2.0.8 database onto a new server for running db version upgrade against. I have hit an issue with adcfgclone.
    I have checked the log for the process and the first errored output will follow. Its pretty obvious that the db controlfile is going to fail creation due to this error. Now looking in the adcrdbclone.sql script, it is looking for the *.rdo files within my second data_top - the directory exists but the redo logs do not. How can I get around this?
    Thanks,
    (extract fromApplyDBTier_09021022.log)
    # Calling ApplyDatabase...
    Executing runInstallDriver...
    Started unzipping files...
    UNZIP used: UnZip 5.32 of 3 November 1997, by Info-ZIP. Maintained by Greg Roel
    ofs. Send
    Verifying correctness of adcrdbclone.sql
    log01a.rdo data file is misplaced
    log01b.rdo data file is misplaced
    log02a.rdo data file is misplaced
    log02b.rdo data file is misplaced
    log03a.rdo data file is misplaced
    log03b.rdo data file is misplaced
    log04a.rdo data file is misplaced
    log04b.rdo data file is misplaced
    log05a.rdo data file is misplaced
    log05b.rdo data file is misplaced
    log06a.rdo data file is misplaced
    log06b.rdo data file is misplaced
    log07a.rdo data file is misplaced
    log07b.rdo data file is misplaced
    log08a.rdo data file is misplaced
    log08b.rdo data file is misplaced
    log01a.rdo data file is misplaced
    log01b.rdo data file is misplaced
    log02a.rdo data file is misplaced
    log02b.rdo data file is misplaced
    log03a.rdo data file is misplaced
    log03b.rdo data file is misplaced
    log04a.rdo data file is misplaced
    log04b.rdo data file is misplaced
    log05a.rdo data file is misplaced
    log05b.rdo data file is misplaced
    log06a.rdo data file is misplaced
    log06b.rdo data file is misplaced
    log07a.rdo data file is misplaced
    log07b.rdo data file is misplaced
    log08a.rdo data file is misplaced
    log08b.rdo data file is misplaced
    Some of the dbffiles are misplaced.
    Control file creation will fail.

    Having reviewed the logs from other databases - it seems this behaviour is normal... The real issue seems to be further down the log file:
    SQL*Plus: Release 9.2.0.8.0 - Production on Tue Sep 2 10:25:25 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    CREATE CONTROLFILE REUSE SET DATABASE "UAT"
    ERROR at line 1:
    ORA-01034: ORACLE not available

Maybe you are looking for