RC-50409: Topology information required for cloning not found in the database-adpreclone.pl dbTier errors out with   Leave a comment

On one of my 11i Instance DB when i executed adpreclone.pl dbTier i see below error

[oratest@testdb02 TSTINST_testdb02]$ perl adpreclone.pl dbTier
Running Rapid Clone with command...
 perl /TSTINST/oracle/product/112/appsutil/bin/adclone.pl java=/TSTINST/oracle/product/112/jdk mode=stage stage=/TSTINST/oracle/product/112/appsutil/clone component=dbTier method=CUSTOM dbctx=/TSTINST/oracle/product/112/appsutil/TSTINST_testdb02.xml showProgress
Beginning database tier Stage - Mon Nov 11 23:00:59 2013
APPS Password : apps
Log file located at /TSTINST/oracle/product/112/appsutil/log/TSTINST_testdb02/StageDBTier_11112301.log
 | 59% 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
ERROR while running Stage...
ERROR while running perl /TSTINST/oracle/product/112/appsutil/bin/adclone.pl java=/TSTINST/oracle/product/112/jdk mode=stage stage=/TSTINST/oracle/product/112/appsutil/clone component=dbTier method=CUSTOM dbctx=/TSTINST/oracle/product/112/appsutil/TSTINST_testdb02.xml showProgress ... Please check the log for more details..
[oratest@testdb02 TSTINST_testdb02]$ vi /TSTINST/oracle/product/112/appsutil/log/TSTINST_testdb02/StageDBTier_11112301.log

Cause:
The Contextfile on the Database Tier is missing the value for "s_domainname". 

Solution:
RUN AUTOCONFIG on the Database Tier

[oratest@testdb02 TSTINST_testdb02]$ adautocfg.sh
Enter the APPS user password:
The log file for this session is located at: /TSTINST/oracle/product/112/appsutil/log/TSTINST_testdb02/11112301/adconfig.log
AutoConfig is configuring the Database environment...
AutoConfig will consider the custom templates if present.
Using ORACLE_HOME location : /TSTINST/oracle/product/112
Classpath : /TSTINST/oracle/product/112/jdk/jre/lib/rt.jar:/TSTINST/oracle/product/112/jdk/lib/dt.jar:/TSTINST/oracle/product/112/jdk/lib/tools.jar:/TSTINST/oracle/product/112/jdbc/lib/ojdbc5.jar:/TSTINST/oracle/product/112/appsutil/java/xmlparserv2.zip:/TSTINST/oracle/product/112/appsutil/java:/TSTINST/oracle/product/112/jlib/netcfg.jar:/TSTINST/oracle/product/112/jlib/ldapjclnt11.jar
Using Context file : /TSTINST/oracle/product/112/appsutil/TSTINST_testdb02.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Updating rdbms version in Context file to db112
Updating rdbms type in Context file to 64 bits
Configuring templates from ORACLE_HOME ...
AutoConfig completed successfully.

Once after running autoconfig i again executed adpreclone.pl

[oratest@testdb02 TSTINST_testdb02]$ perl adpreclone.pl dbTier
Running Rapid Clone with command...
perl /TSTINST/oracle/product/112/appsutil/bin/adclone.pl java=/TSTINST/oracle/product/112/jdk mode=stage stage=/TSTINST/oracle/product/112/appsutil/clone component=dbTier method=CUSTOM dbctx=/TSTINST/oracle/product/112/appsutil/TSTINST_testdb02.xml showProgress
Beginning database tier Stage - Mon Nov 11 23:02:23 2013
APPS Password : apps
Log file located at /TSTINST/oracle/product/112/appsutil/log/TSTINST_testdb02/StageDBTier_11112302.log
Completed Stage...
Mon Nov 11 23:02:35 2013
Completed running perl /TSTINST/oracle/product/112/appsutil/bin/adclone.pl java=/TSTINST/oracle/product/112/jdk mode=stage stage=/TSTINST/oracle/product/112/appsutil/clone component=dbTier method=CUSTOM dbctx=/TSTINST/oracle/product/112/appsutil/TSTINST_testdb02.xml showProgress ...

 

Advertisements

Posted November 12, 2013 by balaoracledba.com in Issues, OracleAppsR12

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: