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

Similar Messages

  • Perl adcfgclone.pl appsTier get error.

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

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

  • 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

  • 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

  • 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

  • Getting error while running Perl adcfgclone.pl appsTier

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

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

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

  • Error while running adcfgclone on APPS tier (ERROR: context creation not completed successfully)

    I am getting below error while running adcfgclone on APPS tier
    ERROR : Unable to set CLASSPATH
    /corp_ex1/DRPM/drpmcomn/clone/bin/../jlib/classes111.zip: is  missing
    First Creating a new context file for the cloned system.
    The program is going to ask you for information about the new system:
    ERROR: context creation not completed successfully.
    Please check /tmp/adcfgclone_29475.err file for errors
    i  copied classes111.zip from IAS_HOME to COMMON_TOP . Now I am getting below error
    First Creating a new context file for the cloned system.
    The program is going to ask you for information about the new system:
    ERROR: context creation not completed successfully.
    Please check /tmp/adcfgclone_30763.err file for errors

    Please post the details of the application release, database version and OS.
    ERROR: context creation not completed successfully
    This is a generic error, please check the log files for details about the error.
    Thanks,
    Hussein

  • Payables Open Interface Import getting errors out

    Hello All,
    I am trying to run "Payables Open Interface Import" program to upload the invoice but the program is getting error out, in the log file at the end i am getting the below error:
    (Insert ap inv dists 1a) Inside the insert function
    (Insert ap inv dists 1) Insert into ap_invoice_distributions
    (Insert ap inv dists 1) Insert into ap_invoice_distributions
    ORA-00001: unique constraint (AP.AP_INVOICE_DISTRIBUTIONS_U1) violated
    Insert_ap_inv_dists<-Create_lines<-Import_invoices<- Before report trigger
    (Create Lines 22) Insert into ap_invoice_distributions
    create_non_item_lines<-Import_invoices<- Before report trigger
    Any one faced this kind of issue?
    any suggestions to resolve this.
    Thanks & Regards
    Aboothahir

    Pl post details of OS, database and EBS versions.
    Pl see these MOS Docs
    Payables Open Interface Error ORA-00001: unique constraint (AP.AP_INVOICE_DISTRIBUTIONS_U1) violated          (Doc ID 357784.1)
    APXIIMPT Payables Open Interface Import Fails ORA-00001          (Doc ID 353052.1)
    Unique Constraint Violated Importing Invoices With Multi Line Distribution Set          (Doc ID 386323.1)
    HTH
    Srini

  • Excel service and OWA - getting ERROR while trying to open/edit Excel documents

    Hi All,
    We have configured SharePoint 2013 with Excel Service and OWA (Office Web Apps).
    After configuring, we are able to view/edit Word or PowerPoint documents from the browser (as OWA is configured). But we are getting errors while trying to open/edit Excel documents.
    We are not able to view/edit the excel workbook from the browser (through OWA).
    To open the excel in the browser, decision has to be taken at the farm level on what to be used – Excel Service or OWA Server? Is it possible to do setting at site collection level?
    Error details are given below:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 3/25/2013 1:29:08 PM
    Event time (UTC): 3/25/2013 7:59:08 AM
    Event ID: fc2e0530f493493896e6c8b6297a0423
    Event sequence: 10
    Event occurrence: 3
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/2/ROOT/x-1-130086717598089315
        Trust level: Full
        Application Virtual Path: /x
        Application Path: C:\Program Files\Microsoft Office Web Apps\ExcelServicesWfe\
        Machine name: VHYDMANTHSTP-02
    Process information:
        Process ID: 1252
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: ArgumentException
        Exception message: An entry with the same key already exists.
       at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Request information:
        Request URL:
    http://mysrevr/x/_layouts/xlpreview.aspx?ui=en-US&rs=en-US&WOPISrc=http://myservernames1/_vti_bin/wopi.ashx/files/f36d669ceb814d67bdad0e1e1f98e466&wdSmallView=1
        Request path: /x/_layouts/xlpreview.aspx
        User host address: 10.81.138.92
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 13
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    I have the same issue while opening the file , i have checked every thing twice. but unable to fix this thing . can any one help.
    One more thing which is i am wondering none of the MS representative replied on this post which is originally posted on March 27-2013.
    is microsoft alive??
    Imran Bashir Network Administrator MCP, JNCIA-EX,ER,JNIOUS +92-333-4330176

  • Getting error while creating the variable of Schema Element type

    Hi everybody,
    For creating a variable of schema element type I am doing the following steps...
    Select 'Variables' after right clicking on bpel process. IN this window, go to 'Create VAriable' then select 'Element' type. Now in Type Choose, I expanded the my imported schema files. And selected a element type, then click ok to create this variable... I am getting the message...
    IN ORDER TO SAVE IMPORTED WSDL/SCHEMA FILES, YOU MUST HAVE A PARTNER LINK LOCATED UNDER THE CURRENT PROJECT DIRECTORY.
    What is mean by that.
    I have imported the schema files in project. AFter that I have imported them into the WSDL also. Now why I am getting error while creating the variable. However I can create variable directly in .BPEL file then everything is fine. And it is working also. But what is mean with the above error? Why I am not able to create variable through GUI?
    Thanks.

    Hi,
    I have this same problem this morning, and I was going crazy, until I found this webpage on the internet:
    [http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process|http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process]
    The idea is that the jdeveloper is not very good working with directories with spaces on the directory name. If you move all your work to a directory without spaces, it will work smoothly. At least, it had worked for me.
    Regards,
    Nacho

Maybe you are looking for

  • Mountain Lion 10.8.2 reset during apps update (iPhoto 9.4, Aperture 3.4.1, Xcode)

    I'm experiencing a lot of troubles, after Mountain Lion automatic update. system during apps update such as iphoto 9.4, Aperture, etc, freeze, screen become white, then retart automatically. Even today during my new iphone 5 installation made the sys

  • Creating Link to New Window with Defined Size and Cursor Change

    Hello, I seem to be having a problem having a hot-spot link open a new window and perform the way I want it to. I have tried a few different ways of going about this, as described below: The first method when defining the hot spot was to use the prop

  • Help Migrating from !0.4 iBook to MBPRO 2.4

    Just bought MB Pro. Need to migrate all my files and programs from iBook running 10.4. I have read about issues migrating files from G4 to intel (universal binary). Not sure of best sequence but was thinkging of: 1. Boot MBPRO but not update to 10.5

  • Camera Raw version needs updating I think.

    I'm trying to upgrade Camera Raw to work in Photoshop C5.  How do I do this?

  • Upgrading from 8GB to 16GB

        I just purchased a 16 GB upgrade from OWC for my current 8 GB that came with the computer (27-inch Mid 2011 10.8.2). I agree with other discussion comments that they are extremely hard to extract and you have to be careful plugging them in. I plu