Adpreclone dbTier Error
Hi All,
We have R12.1.3 with 11.2.0.3 database, I have performed adpreclone dbTier it completed successfully
But in Log file some issues iam seeing like:
StackTrace:
java.io.FileNotFoundException: /data/ora/proddb/11.2.0/appsutil/clone/jlib/oui/jlib (Is a directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at oracle.apps.ad.util.FileCopy.copy(FileCopy.java:117)
at oracle.apps.ad.clone.util.CreateCloningStage.getOUI(CreateCloningStage.java:458)
at oracle.apps.ad.clone.util.CreateCloningStage.createJlib(CreateCloningStage.java:290)
at oracle.apps.ad.clone.util.CreateCloningStage.createBaseArea(CreateCloningStage.java:193)
at oracle.apps.ad.clone.util.CreateCloningStage.<init>(CreateCloningStage.java:143)
at oracle.apps.ad.clone.util.CreateCloningStage.<init>(CreateCloningStage.java:108)
at oracle.apps.ad.clone.util.CreateCloningStage.<init>(CreateCloningStage.java:93)
at oracle.apps.ad.clone.StageDatabase.doStage(StageDatabase.java:315)
at oracle.apps.ad.clone.StageDatabase.<init>(StageDatabase.java:295)
at oracle.apps.ad.clone.StageDBTier.<init>(StageDBTier.java:155)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
at java.lang.Thread.run(Thread.java:637)
Please let me know if any solution for this error.
Thanks
Shaik
Hi Shaik,
I second Hussein's post, and you may safely ignore the error.
Please also see note:
adpreclone.pl dbTier fails with java.io.FileNotFoundException <ORACLE_HOME>/appsutil/clone/jlib/oui/jlib (Doc ID 1358512.1)
Best Regards,
Similar Messages
-
Adpreclone.pl dbTier errors out
Hi All,
We are planning to migrate our instance to new server . Before copying all top's(APPL,COMM,ORA,DATA,DB) to new server , I have run perl adpreclone.pl in appsTier and it went successfully . But while running in dbTier and it is erroring out as shown below.
$ perl adpreclone.pl dbTier
Global symbol "$resultclone" requires explicit package name at adpreclone.pl line 525.
Global symbol "$resultclone" requires explicit package name at adpreclone.pl line 527.
syntax error at adpreclone.pl line 527, near "$resultclone !"
syntax error at adpreclone.pl line 531, near "}"
Execution of adpreclone.pl aborted due to compilation errors.
I could see 11i.ATG_PF.H.RUP7 is not applied in our source instance. But business is NOT ready to upgrade it to recent release. They just want us to migrate existing instance to new server.
Please let me know if I can just apply the below patch for this issue.
ADPRECLONE.PL DBTIER FAILS WITH SYNTAX ERROR - 5235401
Instance Details:
Apps : 11.5.10.2
DB : 10.2.0.3.0 - 64bit
OS : IBM/AIX RISC
Regards,
MDHi Asif,
When I try to apply the patch, session is getting closed once it asks system password . Any idea on this ?
AutoPatch needs the password for your 'SYSTEM' ORACLE schema
in order to determine your installation configuration.
Enter the password for your 'SYSTEM' ORACLE schema: Connection to **.***.*.* closed.
Regards,
MD -
Perl adpreclone.pl dbTier errors out with RC-50013
Hi all,
Am performing a clone of an 11.5.10.2 system running on Redhat linux 3.0.
When i run perl adcfgclone.pl dbTier,it errors out with the following error whenever it gets to 16%.
AutoConfig is exiting with status 1476
RC-50013: Fatal: Failed to instantiate driver /home/oracle/teadb/9.2.0/appsutil/driver/instconf.drv
Raised by oracle.apps.ad.clone.ApplyDBTechStack
StackTrace:
java.lang.Exception: RC-50013: Fatal: Failed to instantiate driver /home/oracle/teadb/9.2.0/appsutil/driver/instconf.drv
at oracle.apps.ad.clone.ApplyDBTechStack.checkInstallDrvErr(ApplyDBTechStack.java:717)
at oracle.apps.ad.clone.ApplyDBTechStack.runInstallConfigDriver(ApplyDBTechStack.java:622)
at oracle.apps.ad.clone.ApplyDBTechStack.<init>(ApplyDBTechStack.java:389)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:149)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:479)
Could anyone be having a clue of how to go about this issue?
I read the solution on metalink and the solution i was given is to go to Note 307954.1 which tells me to "Modify the target's instconf.drv and remove the offending lines"
Now,the problem is that the offending lines are too too many....Is there any other way round this problem?????
Thank you in advance.Take a look on :
Note:463477.1 - "Adcfgclone Failed To Run On DB Tier With java.lang.Exception: RC-50013: Fatal: Failed to instantiate driver"
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=463477.1
Aviad -
Adpreclone dbTier ran successful but have an Exception message
'perl adpreclone.pl dbTier' ran successfully. See the end of the log file content below. But I can see an Exception message aswell (BOLDED).
Can it be ignored? Why is this occuring?
------------ADX Database Utility Finished---------------
P:\R12\11.1.0\appsutil\out\proderp_proddbs\dbfinfo.lst created Successfully.
Generating P:\R12\11.1.0\appsutil\out\proderp_proddbs\addbhomsrc.xml which will contain the unique mount points
NODE_ID Column Availability: true
Node Id Column is available. dbfinfo.lst will contain the node list
Host Column Availability: true
Generated P:\R12\11.1.0\appsutil\out\proderp_proddbs\addbhomsrc.xml successfully.
P:\R12\11.1.0\appsutil\out\proderp_proddbs\adcrdbclone.sql created Successfully.
Disconnected from Database.
Zip2 - Start of native zipping array sh -c "cd P:\R12\11.1.0\appsutil\out\proderp_proddbs\; zip -q P:\R12\11.1.0\appsutil\clone\data\stage\adcrdb.zip -@ ; echo ERRORCODE = $? ERRORCODE_END"
RC-50208: Exception in method TimedProcessProcess.run
Raised by oracle.apps.ad.util.TimedProcess$TimedProcessProcess: java.io.IOException: CreateProcess: sh -c "cd P:/R12/11.1.0/appsutil/out/proderp_proddbs/; zip -q P:/R12/11.1.0/appsutil/clone/data/stage/adcrdb.zip -@ ; echo ERRORCODE = $? ERRORCODE_END" error=2
Zip2
Exception in TimedProcess...Failed to execute command = sh -c "cd P:/R12/11.1.0/appsutil/out/proderp_proddbs/; zip -q P:/R12/11.1.0/appsutil/clone/data/stage/adcrdb.zip -@ ; echo ERRORCODE = $? ERRORCODE_END"
Zip2 - Completed native zipping sh -c "cd P:/R12/11.1.0/appsutil/out/proderp_proddbs/; zip -q P:/R12/11.1.0/appsutil/clone/data/stage/adcrdb.zip -@ ; echo ERRORCODE = $? ERRORCODE_END"
Done...
StageDBTier Finished at Thu Jul 08 08:22:19 GMT+03:00 2010
Status: Completed Successfully
#############################################################Thanks Hussein for your updates,
when I type zip and enter I get the following lines and version info,
For r12 what should be the minimum zip version?
C:\Documents and Settings\orauser>zip
Copyright (C) 1990-1999 Info-ZIP
Type 'zip "-L"' for software license.
Zip 2.3 (November 29th 1999). Usage:
zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]
The default action is to add or replace zipfile entries from list, which
can include the special name - to compress standard input.
If zipfile and list are omitted, zip compresses stdin to stdout.
-f freshen: only changed files -u update: only changed or new files
-d delete entries in zipfile -m move into zipfile (delete files)
-r recurse into directories -j junk (don't record) directory names
-0 store only -l convert LF to CR LF (-ll CR LF to LF)
-1 compress faster -9 compress better
-q quiet operation -v verbose operation/print version info
-c add one-line comments -z add zipfile comment
-@ read names from stdin -o make zipfile as old as latest entry
-x exclude the following names -i include only the following names
-F fix zipfile (-FF try harder) -D do not add directory entries
-A adjust self-extracting exe -J junk zipfile prefix (unzipsfx)
-T test zipfile integrity -X eXclude eXtra file attributes
-! use privileges (if granted) to obtain all aspects of WinNT security
-R PKZIP recursion (see manual)
-$ include volume label -S include system and hidden files
-h show this help -n don't compress these suffixes -
Clone dbtier error-- ERROR : Unable to set CLASSPATH
i am setting a new clone of PROD server.i restored the backup from prod and now i ran
perl adpreclone.pl dbTier
Here is the error message-->
perl adcfgclone.pl dbTier
Enter the APPS password [APPS]:
xxxx
ERROR : Unable to set CLASSPATH
/u02/lifedb/9.2.0/appsutil/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: can't find libjava.so.
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone_1376.err file for errors
The err file does not have anything.
I added /u02/lifedb/9.2.0/jdbc/lib to path and classpath. classpath is empty. I made cc,ar,ld,make,perl come in the path as well.
Now how do i resolve the above err?
ThanksIf you want to migrate from Solaris to Linux, refer to:
For the application tier:
Note: 238276.1 - Migrating to Linux with Oracle Applications Release 11i
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=238276.1
For the database tier:
Note: 362205.1 - 10g Release 2 Export/Import Process for Oracle Applications Release 11i
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=362205.1
Note: 331221.1 - 10g Export/Import Process for Oracle Applications Release 11i
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=331221.1
Note: 230627.1 - Export/Import Process for Oracle Applications Release 11i Database Instances Using Oracle9i Enterprise Edition
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230627.1 -
Hi experts,
please help to slove below error.adpreclone.pl dbtier is getting error at 50%.
$ perl adpreclone.pl dbTier
Running Rapid Clone with command...
perl /crmdevp/app/product/10.1.0/db_1/appsutil/bin/adclone.pl java=/crmdevp/app/product/10.1.0/db_1/jre/1.4.2 mode=stage stage=/crmdevp/app/product/10.1.0/db_1/appsutil/clone component=dbTier method=CUSTOM dbctx=/crmdevp/app/product/10.1.0/db_1/appsutil/DEVCRM_crmdev.xml showProgress
Beginning database tier Stage - Sat May 11 14:05:36 2013
APPS Password : apps
Log file located at /crmdevp/app/product/10.1.0/db_1/appsutil/log/DEVCRM_crmdev/StageDBTier_05110205.log
AutoClone needs to start the database up to generate cloning information
Bring up database now [Yes] ?
RC-40000: Fatal: Unable to start up the database
ERROR while running Stage...
Rgs,
RAMhi EBS,
db and listener is up only.plase find the logs
$ more StageDBTier_05110318.log
Started StageDBTier at Sat May 11 15:18:15 IST 2013
Version:
StageDBTier.java : 115.23
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : crmdev
sDbDomain : ashokleyland.com
sDbPort : 1601
sDbSid : DEVCRM
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@crmdev.ashokleyland.com:1601:DEVCRM
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=crmdev.ashokleyland.com)(PORT=1601))(CONNECT_DATA=(SERVICE_NAME=DEVCRM)))
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=crmdev.ashokleyland.com)(PORT=1601))(CONNECT_DATA=(SERVICE_NAME=DEVCRM.ashokleyland.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---------------
Zip at /crmdevp/app/product/10.1.0/db_1/bin/zip
ZIP used: Zip 2.3 (November 29th 1999). Usage:
# Calling StageDBTechStack...
Creating Staging Area
DEBUG: 10g OUI exists
Cloning Stage Area already exists, updating existing area.
DEBUG: 10g OUI exists
Done...
# Calling StageDatabase...
Creating Staging Area
DEBUG: 10g OUI exists
Cloning Stage Area already exists, updating existing area.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : crmdev
sDbDomain : ashokleyland.com
sDbPort : 1601
sDbSid : DEVCRM
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@crmdev.ashokleyland.com:1601:DEVCRM
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=crmdev.ashokleyland.com)(PORT=1601))(CONNECT_DATA=(SERVICE_NAME=DEVCRM)))
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=crmdev.ashokleyland.com)(PORT=1601))(CONNECT_DATA=(SERVICE_NAME=DEVCRM.ashokleyland.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---------------
Generating Create Control file script adcrdbclone.sql
Checking if listener is already up for DEVCRM...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : crmdev
sDbDomain : ashokleyland.com
sDbPort : 1601
sDbSid : DEVCRM
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@crmdev.ashokleyland.com:1601:DEVCRM
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=crmdev.ashokleyland.com)(PORT=1601))(CONNECT_DATA=(SERVICE_NAME=DEVCRM)))
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=crmdev.ashokleyland.com)(PORT=1601))(CONNECT_DATA=(SERVICE_NAME=DEVCRM.ashokleyland.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---------------
Database is up but not OPEN (OPEN_MODE is NOMOUNT or MOUNTED). Bouncing it up...
Shutting down database DEVCRM...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : crmdev
sDbDomain : ashokleyland.com
sDbPort : 1601
sDbSid : DEVCRM
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@crmdev.ashokleyland.com:1601:DEVCRM
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=crmdev.ashokleyland.com)(PORT=1601))(CONNECT_DATA=(SERVICE_NAME=DEVCRM)))
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=crmdev.ashokleyland.com)(PORT=1601))(CONNECT_DATA=(SERVICE_NAME=DEVCRM.ashokleyland.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---------------
Database down
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : crmdev
sDbDomain : ashokleyland.com
sDbPort : 1601
sDbSid : DEVCRM
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@crmdev.ashokleyland.com:1601:DEVCRM
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=crmdev.ashokleyland.com)(PORT=1601))(CONNECT_DATA=(SERVICE_NAME=DEVCRM)))
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=crmdev.ashokleyland.com)(PORT=1601))(CONNECT_DATA=(SERVICE_NAME=DEVCRM.ashokleyland.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---------------
Starting up Database DEVCRM...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : crmdev
sDbDomain : ashokleyland.com
sDbPort : 1601
sDbSid : DEVCRM
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@crmdev.ashokleyland.com:1601:DEVCRM
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=crmdev.ashokleyland.com)(PORT=1601))(CONNECT_DATA=(SERVICE_NAME=DEVCRM)))
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=crmdev.ashokleyland.com)(PORT=1601))(CONNECT_DATA=(SERVICE_NAME=DEVCRM.ashokleyland.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-40000: Unable to start up the database
Raised by oracle.apps.ad.clone.StageDatabase
RC-40000: Unable to start up the database
Raised by oracle.apps.ad.clone.StageDatabase
Rgs
RAM -
Adpreclone.pl errors out
Hi
Could anyone help me to find solution for java eror while running adpreclone in dbrier where as my adpreclone on appstier runs fine
Error -
Exception in thread "main" java.lang.NoclassDefFoundError: oracle/apps/ad/clone/util/cloneProcessor
at oracle.apps.ad.clone.stageDBTier.executeProcess
(stageDBTier.java:661)
at oracle.app.clon.StageDBTier.main (stageDBTier.java:600)
please if possible send reply to [email protected]The adpreclone.pl command should be run with the SOURCE database running.
I suggest you start the database, then try the command again. If there is still a problem then log a service request.
got the answer for metalink -
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 -
We would like to automate running adpreclone on a regular basis, like weekly or something from cron.
Has anyone figured out how to automatically pass the APPS password for the dbTier?
An example of the code along with an explanation would be greatly appreciate.
TIAYou're welcome. To have all the new features of Rapid Clone, make sure you apply the latest TXK AutoConfig Template patch (Patch 5759055) and update Oracle Applications file system with the latest Rapid Clone files by applying the following patches to all application tier server nodes:
- 3453499 (11i.ADX.F)
- 5225940 (Post ADX.F Fixes)
- 5972212 (For SLES 10) -
Adcfgclone.pl dbTier error with RC-50004: Error occurred in CloneContext: null
PROMPT :
Target System Hostname (virtual or normal) [migrate]
ANSWER :
migrate
PROMPT :
Target Instance is RAC (y/n) [n]
ANSWER :
n
PROMPT :
Target System Database SID
ANSWER :
EBS12
PROMPT :
Target System Base Directory
ANSWER :
/u01/R12/ora11
PROMPT :
Target System utl_file_dir Directory List
ANSWER :
/usr/tmp
PROMPT :
Number of DATA_TOP's on the Target System [1]
ANSWER :
1
PROMPT :
Target System DATA_TOP Directory 1 [/u01/11i/ora11/ebs11data]
ANSWER :
/u01/R12/ora11/db/ebs11data
Creating /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
PROMPT :
Target System RDBMS ORACLE_HOME Directory [/u01/R12/ora11/db/tech_st/11.1.0]
ANSWER :
/u01/R12/ora11/db/tech_st/11.1.0
Creating /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone/data/stage/addbhomtgt.xml which will contain Target system database mount points.
PROMPT :
Do you want to preserve the Display [null] (y/n)
ANSWER :
n
PROMPT :
Target System Display [migrate:0.0]
ANSWER :
migrate:0.0
PROMPT :
Do you want the the target system to have the same port values as the source system (y/n) [y] ?
ANSWER :
n
Started testing the availabilty of ports in port pool 1
Checking Database Port on migrate: Port Value = 1522
Database Port available: Port Value = 1522
Checking DB ONS Local Port on migrate: Port Value = 6301
DB ONS Local Port available: Port Value = 6301
Checking DB ONS Remote Port on migrate: Port Value = 6401
DB ONS Remote Port available: Port Value = 6401
INFO: Unable to obtan DB Version!!!
INFO: Because DB Version could not be obtained, defaulting s_jdktop and s_jretop to adxdbctx.tmp defined values
setDestination s_contextfile to : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
Clone Context Parameters:
Pairs File = /tmp/adpairsfile_31321.lst
Target XML File = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
Template File = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
The following values will be used to create the context file
s_isWeb = YES
s_db_listener = EBS12
s_db_util_filedir = /usr/tmp
s_db_rollback_segs = NOROLLBACK
s_dbhome4 = /u01/R12/ora11/db/ebs11data
s_dbhome3 = /u01/R12/ora11/db/ebs11data
s_dbhost = migrate
s_db_oh = /u01/R12/ora11/db/tech_st/11.1.0
s_dbhome2 = /u01/R12/ora11/db/ebs11data
s_dbhome1 = /u01/R12/ora11/db/ebs11data
s_dbgroup = dba
s_dbGlnam = EBS12
s_dbdomain = evosys.co.in
s_dbSid = EBS12
s_dbuser = ora11
s_isForms = YES
s_database_type =
s_temp = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp
s_db_ons_localport = 6301
s_hostname = migrate
s_dbSidLower = ebs12
s_cmanport = 1522
s_dbCluster = false
s_domainname = evosys.co.in
s_isAdmin = YES
s_isConc = YES
s_contextfile = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
s_dbport = 1522
s_display = migrate:0.0
s_contextname = EBS12_migrate
s_db_ons_remoteport = 6401
s_clonestage = /u01/R12/ora11/db/tech_st/11.1.0/appsutil/clone
s_base = /u01/R12/ora11
Clone Context will now iteratively apply changes
to create the new target context file.
instantiate file:
source : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp.xml
dest : /tmp/tmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /tmp/tmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /tmp/tmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /tmp/tmpCtxClone.xml
instantiate file:
source : /tmp/tmpCtxClone.xml
dest : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
instantiate file:
source : /u01/R12/ora11/db/tech_st/11.1.0/appsutil/temp.xml
dest : /tmp//dummy.xml
instantiate file:
source : /tmp//dummy.xml
dest : /tmp//dummy.xml
instantiate file:
source : /tmp//dummy.xml
dest : /tmp//dummy.xml
instantiate file:
source : /tmp//dummy.xml
dest : /tmp//dummy.xml
instantiate file:
source : /tmp//dummy.xml
dest : /tmp//dummy.xml
PROMPT :
Source and Target platforms differ. Rapid Clone will perform a platform migration.
Do you wish to continue? [y]
ANSWER :
y
The values for these variables will be retained from the source context
s_admin_restrictions = OFF
s_metalink_id =
s_parallel_max_servers = 8
s_systemcsi = N/A
s_apps_version = 12.1.1
s_contextserial = 0
s_instThread = 0
s_sqlnet_expire_time = 10
s_contexttype = Database Context
s_db_sga_target = 1G
s_dbsharedpool_size = 300000000
s_db_shared_pool_size = 400M
s_clusterServicePort = 9998
s_dbcache_size = 163577856
s_rapidwizloc = /tmp/RapidInstall
s_db_pga_aggregate_target = 1G
s_dbtype = VISION
s_proxyhost =
s_nthreads = 5
s_db_processes = 200
s_enable_listener_password = OFF
s_alt_service_instances =
s_dbClusterInst = 1
s_installedFrom = FS
s_undo_tablespace = APPS_UNDOTS1
s_adjreopts = -Xms128M -Xmx512M
s_dbQuorumDisk =
s_db_linkctrl =
s_dbcomp = oracle.apps.dbseed.fresh
s_db_sessions = 400
s_installloc = /tmp
s_isDB = YES
s_proxyport =
s_database = db111
s_dbseed = No Database
s_apps_user = APPS
s_dbfiles = 512
s_db_shared_pool_reserved_size = 40M
s_bits = 32
s_dbblock_buffers = 20000
s_sys_user = SYS
s_dlsnstatus = enabled
s_db_plsql_native_library_subdir_count = 149
s_country_code =
s_subscribe_for_node_down_event = OFF
s_instNumber = 0
The new context file has been created at:
/u01/R12/ora11/db/tech_st/11.1.0/appsutil/EBS12_migrate.xml
Performing file system cleanup specific to Platform Migration:
StackTrace:
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at oracle.apps.ad.clone.util.CloneCleanser.doMigrate(CloneCleanser.java:98)
at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:718)
at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5266)
RC-50004: Error occurred in CloneContext:
null
Context file creation not succesful
am trying to clone R12.1.1 with 11.1.0.7 from Linux5.5-32.bit to Linux5.8-64bit.
migrating is fails.
So please help me out of this.
Thanks in AdvanceHi,
DB cloning will not suffice the migrating process. In order to perform a cloning from 32 bit to 64 bit, please follow the instructions in the below note:
Migrating Oracle E-Business Suite R12 from Linux 32-bit to Linux 64-bit (Doc ID 471566.1)
Thanks &
Best Regards, -
Adcfgclone dbTier error in R12
Hi all,
Installed Oracle home 10.2.0.3 converted it to 64 bit, enabled autoconfig...and trying to run adcfgclone it says
RC-00126: Update inventory failed.
The inventory pointed at location /xxxx/db/tech_st/10.2.0/oraInventory is not valid
Raised by oracle.apps.ad.clone.util.OracleHomeCloner
running OUI CLI home cloning:$ ls -lrt /xxxx/db/tech_st/10.2.0/oraInventory
total 8
-rw-rw---- 1 ostigp dba 377 Sep 28 10:43 oraInstaller.properties
drwxrwx--- 2 ostigp dba 4096 Sep 28 10:43 logs
baskar.lHi Sir,
I did the first step.
$ perl ouicli.pl
Beginning OUI CLI cloning for s_db_ohTue Sep 28 11:26:56 2010
/toshiba_64/oracle/product/STIGP/db/tech_st/10.2.0/appsutil/jre/bin/java -classpath /toshiba_64/oracle/product/STIGP/db/tech_st/10.2.0/appsutil/java:/toshiba_64/oracle/product/STIGP/db/tech_st/10.2.0/oui/jlib/OraInstaller.jar:/toshiba_64/oracle/product/STIGP/db/tech_st/10.2.0/appsutil/java/xmlparserv2.jar oracle.apps.ad.clone.util.OracleHomeCloner -OUICLI -e /toshiba_64/oracle/product/STIGP/db/tech_st/10.2.0/appsutil/STIGP_jswbdbp51.xml -nolink -oaVar s_db_oh -homestub db -log /toshiba_64/oracle/product/STIGP/db/tech_st/10.2.0/appsutil/log/STIGP_jswbdbp51/ohclone.log
running OUI CLI home cloning:
/toshiba_64/oracle/product/STIGP/db/tech_st/10.2.0/oui/bin/runInstaller -clone -silent -force -nolink -waitForCompletion -invPtrLoc /toshiba_64/oracle/product/STIGP/db/tech_st/10.2.0/oraInst.loc ORACLE_HOME=/toshiba_64/oracle/product/STIGP/db/tech_st/10.2.0 ORACLE_HOME_NAME=STIGP_DB__toshiba_64_oracle_product_STIGP_db_tech_st_10_2_0 -J-Doracle.installer.noLink=true
Finished OUI CLI cloning for s_db_oh with return code: 0Tue Sep 28 11:27:06 2010
and after that ran the adcfgclone got the same errorand couple of doubts sir.
1. Installed new oracle home 10.2.0.3. Generated admkappsutil.zip. When i unzipped inside the appsutil clone directory is not there. I ran adpreclone in source instance. Is that before enabling autoconfig i need apply any patches?
baskar.l -
Dbtier adcfgclone error in 11.5.10.2
Hi ,
DB-10.1.0.5
apps-11.5.10.2
os-HP UNIX
I we started db and listener manully.and i ran adcfgclone.pl dbteckstack.I am getting below error.please help me.
Log file located at /testcrm/app/product/10.1.0/db_1/appsutil/clone/bin/CloneContext_05060158.log
Running Rapid Clone with command:
perl ./adclone.pl java=./../jre/jre mode=apply stage=/testcrm/app/product/10.1.0/db_1/appsutil/clone/bin/./.. component=dbTechStack method=CUSTOM dbctxtg=/testcrm/app/product/10.1.0/db_1/appsutil/CRMTST1_erptd1.xml showProgress contextValidated=true
Beginning rdbms home Apply - Mon May 6 14:00:06 2013
Log file located at /testcrm/app/product/10.1.0/db_1/appsutil/log/CRMTST1_erptd1/ApplyDBTechStack_05060200.log
Completed Apply...
Mon May 6 14:04:57 2013
ERROR: Unable to set CLASSPATH
Jars are missing at both these locations
/testcrm/app/product/10.1.0/db_1/jre/1.4.2/jre/lib/
/testcrm/app/product/10.1.0/db_1/jre/1.4.2/lib/
ERROR: Failed to execute ./adclone.pl
Please check logfile.
$
RGS,
RAMHi RAM,
it is this the first time you are cloning on the target machine
if yes then please make sure you have correct path for all and you meet the all requirement
Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1]
>
ERROR: Unable to set CLASSPATH
Jars are missing at both these locations
/testcrm/app/product/10.1.0/db_1/jre/1.4.2/jre/lib/
/testcrm/app/product/10.1.0/db_1/jre/1.4.2/lib/
ERROR: Failed to execute ./adclone.pl
please log in as oracle user and post the ouput of
echo $PATH
please see this
adcfgclone.pl is Unable to Locate All Utilities in the System Path - 'Could not find all the required OS utilities in the $PATH' Error [ID 397742.1]
Clone of Database adcfgclone.pl dbTier results in - jlib/classes111.zip is Missing [ID 761596.1]
11i: adcfgclone fails with signal 11 while executing a Java Command [ID 395689.1]
adpreclone.pl: Jars are missing at both these locations [ID 559967.1]
Perl Adpreclone.pl Dbtier Error: "Unable To Set Classpath Classes12.jar is Missing" [ID 353187.1]
Unable to find 'kshell' in PATH when executing 'adcfgclone.pl' [ID 451994.1]
;) AppsMasTi ;)
Sharing is Caring -
Folks,
we are facing below error:
Error while running adlnkoh.sh. Please check logfile
.end std out.
/9.2.0/appsutil/install/adlnkoh.sh: line 198: /9.2.0/bin/sqlplus: No such file or directory
.end err out.
StackTrace:
java.lang.Exception: java.lang.NullPointerException
at oracle.apps.ad.clone.ApplyDBTechStack.runRelinkOH(ApplyDBTechStack.java:836)
at oracle.apps.ad.clone.ApplyDBTechStack.<init>(ApplyDBTechStack.java:410)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:149)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:479)
PS: We upgraded REHL 4.4 to RHEL 4.7 now
We have one more test instance is running fine which is already in server before OS upgrade and after OS upgrade
We are facing above error while clone after OS upgradeError while running adlnkoh.sh. Please check logfile
.end std out.
/9.2.0/appsutil/install/adlnkoh.sh: line 198: /9.2.0/bin/sqlplus: No such file or directory
.end err out.Please check the adrelink log file for details about the error.
StackTrace:
java.lang.Exception: java.lang.NullPointerException
at oracle.apps.ad.clone.ApplyDBTechStack.runRelinkOH(ApplyDBTechStack.java:836)
at oracle.apps.ad.clone.ApplyDBTechStack.<init>(ApplyDBTechStack.java:410)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:149)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:479)
PS: We upgraded REHL 4.4 to RHEL 4.7 now
We have one more test instance is running fine which is already in server before OS upgrade and after OS upgrade
We are facing above error while clone after OS upgradePlease see these docs.
Adcfgclone.pl dbtier fails with java.lang.NullPointerException at oracle.apps.ad.clone.ApplyDBTechStack.runRelinkOH(ApplyDBTechStack.java:847) [ID 415770.1]
RC-00110 Error While Running adlnkoh.sh [ID 330469.1]
Perl Adcfgclone.pl dbTechStack Failed While Relink /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to`dl_iterate_phdr@GLIBC_2.2.4' [ID 417605.1]
Perl Adcfgclone.Pl Dbtier Erroring Out On Adlnkoh.Sh [ID 464678.1]
Thanks,
Hussein -
R12 cloning on RAC windows 2003 R2.
Dear All Gurus,
I'm facing this issue with R12 cloning on RAC environment in windows 2003 R2..
Steps Followed:
After preclone steps completed in Source servers
then on Target server..
1, On DB being in D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin>perl adcfgclone.pl dbTier
error: perl is not recognized as internal or external command,
so we made changes in .env (.cmd) file like,
ORACLE_HOME:to new copied home
ORACLE_SID; test2
after we run the .env (.cmd) file.
now again i run the perl adcfgclone.pl dbTier
It is started, but then throw's an error like
D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\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.20.12000000.12
Enter the APPS password : apps
Running:
D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\..\jre\bin\java.exe -Xmx6
00M -cp D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\jlib\java;D:\oracle\p
roduct\TEST2\10.2.0\db_1\appsutil\clone\jlib\xmlparserv2.jar;D:\oracle\product\T
EST2\10.2.0\db_1\appsutil\clone\jlib\ojdbc14.jar oracle.apps.ad.context.CloneCon
text -e D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\..\context\db\CTX
ORIG.xml -validate -pairsfile C:\TEMP\adpairsfile_5128.lst -stage D:\oracle\prod
uct\TEST2\10.2.0\db_1\appsutil\clone 2> C:\TEMP\adcfgclone_5128.err && echo %ER
RORLEVEL% > C:\TEMP\adcfgclone_5128.res
Log file located at D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\Clone
Context_0622124927.log
Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [testdb1] :
Target Instance is RAC (y/n) [y] : y
Target System Database Name : TEST2
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] : 10
Checking the port pool 10
done: Port Pool 10 is free
RC-50004: Error occurred in CloneContext:
null
Check Clone Context logfile D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\b
in\CloneContext_0622124927.log for details.
Running Rapid Clone with command:
perl D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\adclone.pl java=D:\o
racle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\..\jre mode=apply stage=D:\or
acle\product\TEST2\10.2.0\db_1\appsutil\clone component=dbTier method=CUSTOM dbc
txtg= showProgress contextValidated=true
Running:
perl D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\adclone.pl java=D:\o
racle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\..\jre mode=apply stage=D:\or
acle\product\TEST2\10.2.0\db_1\appsutil\clone component=dbTier method=CUSTOM dbc
txtg= 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 D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin
\adclone.plPlease follow the steps in (Cloning Oracle E-Business Suite Release 12 RAC-Enabled Systems with Rapid Clone [ID 559518.1]) for the supported method to clone RAC-to-RAC.
Thanks,
Hussein -
Error while running perl adpreclone.pl dbTier
Hi all,
Error while running perl adpreclone.pl dbTier
Running Rapid Clone with command...
perl /u02/app/orap/product/9.2.0/appsutil/bin/adclone.pl java=/u02/app/orap/product/9.2.0/jre/1.4.2 mode=stage stage=/u02/app/orap/product/9.2.0/appsutil/clone component=dbTier method=CUSTOM dbctx=/u02/app/orap/product/9.2.0/appsutil/DEV_XXX.xml showProgress
Beginning database tier Stage - Fri Jun 26 12:16:45 2009
APPS Password : appsdev
Log file located at /u02/app/orap/product/9.2.0/appsutil/log/DEV_jos11/StageDBTier_06261216.log
/ 75% completed
RC-50409: Topology information required for cloning not found in the database. Make sure that AutoConfig was run successfully prior to starting Rapid Clone, and try again
Raised by oracle.apps.ad.tools.AdCreateCtlFile
RC-40001: Fatal: Failed to create sql script adcrdbclone.sql for recreating control files at target
- 75% completed
ERROR while running Stage...
Checked metalink found the below solution but please the me interconnect_name is what ?
Check if the column interconnect_name from the fnd_database_instances has a value. If not, please update it with the correct value:
update FND_DATABASE_INSTANCES
set INTERCONNECT_NAME = 'xxx';
commit;
Rerun the process.
Thanks,
Bhanu Chander.Hi,
Alert log is normal.
but adcfgclone.pl log is
/u02/app/orap/product/9.2.0/appsutil/out/DEV_XXXX/dbfinfo.lst created Successfully.
Generating /u02/app/orap/product/9.2.0/appsutil/out/DEV_XXXX/addbhomsrc.xml which will contain the unique mount points
NODE_ID Column Availability: true
Node Id Column is available. dbfinfo.lst will contain the node list
Host Column Availability: true
Exception occurred while querying the datamodel: java.lang.NullPointerException
StackTrace:
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:393)
at oracle.apps.ad.tools.AdCreateCtlFile.get_rac_data(AdCreateCtlFile.java:1325)
at oracle.apps.ad.tools.AdCreateCtlFile.gen_dbhomes_xml(AdCreateCtlFile.java:530)
at oracle.apps.ad.tools.AdCreateCtlFile.gen_crctrfclone_sql(AdCreateCtlFile.java:626)
at oracle.apps.ad.tools.AdCreateCtlFile.<init>(AdCreateCtlFile.java:428)
at oracle.apps.ad.clone.StageDatabase.doStage(StageDatabase.java:457)
at oracle.apps.ad.clone.StageDatabase.<init>(StageDatabase.java:266)
at oracle.apps.ad.clone.StageDBTier.<init>(StageDBTier.java:216)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:534)
RC-50409: Topology information required for cloning not found in the database. Make sure that AutoConfig was run successfully prior to starting Rapid Clone, and try again
Raised by oracle.apps.ad.tools.AdCreateCtlFile
RC-50208: Exception in method gen_crctrfclone_sql
RC-50208: Exception in Constructor AdCreateCtlFile
Raised by oracle.apps.ad.tools.AdCreateCtlFile
StackTrace:
java.lang.Exception
at oracle.apps.ad.tools.AdCreateCtlFile.get_rac_data(AdCreateCtlFile.java:1348)
at oracle.apps.ad.tools.AdCreateCtlFile.gen_dbhomes_xml(AdCreateCtlFile.java:530)
at oracle.apps.ad.tools.AdCreateCtlFile.gen_crctrfclone_sql(AdCreateCtlFile.java:626)
at oracle.apps.ad.tools.AdCreateCtlFile.<init>(AdCreateCtlFile.java:428)
at oracle.apps.ad.clone.StageDatabase.doStage(StageDatabase.java:457)
at oracle.apps.ad.clone.StageDatabase.<init>(StageDatabase.java:266)
at oracle.apps.ad.clone.StageDBTier.<init>(StageDBTier.java:216)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:534)
RC-40001: Failed to create sql script adcrdbclone.sql for recreating control files at target
Raised by oracle.apps.ad.clone.StageDatabase
Thanks,
Bhanu Chander
Maybe you are looking for
-
Hello Experts, I have a question regarding the scenario "FIN_PCA --> Profit Center Update" in New GL. I have assigned this scenario to my leading ledger (0L) and also to non-leading ledger. When I did the posting to the primary cost element which is
-
Is there an easy way to create an excel list from my contacts?
I am doing a web-marketing and I want to use my contacts in my contact list. Is there an easy way to download my contacts into an excel list format?
-
Dear all, I have searched for some relevant threads but could not find the required so..posting my requirement here. I am newbie to Java, trying to attend courses on java. various Java training institutes have broken J2SE into Core Java and Advanced
-
Changing LogManager configuration in WebStart
I have an application that I intend to deploy with WebStart. The application uses the java.util.logging features to display log messages to a Swing control on the screen. I've implemented a class that extends Handler to receive the messages logged to
-
Zoom in and pan trough video during playback?
Hi, is it possible to zoom in and pan trough video files during playback on iphone 3gs? I know that there is a zoom inside accessibility inside settings but is it possible to use that during video playback? Sometimes during playback I need to enlarge