环境信息:
EBS----------------12.1.3
RDBMS-----------11.2.0.3.0
OS----------- Linux 6.4
数据库层运行preclone出现如下错误
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:1345)
at oracle.apps.ad.tools.AdCreateCtlFile.gen_dbhomes_xml(AdCreateCtlFile.java:518)
at oracle.apps.ad.tools.AdCreateCtlFile.gen_crctrfclone_sql(AdCreateCtlFile.java:614)
at oracle.apps.ad.tools.AdCreateCtlFile.<init>(AdCreateCtlFile.java:416)
at oracle.apps.ad.clone.StageDatabase.genRecreateScripts(StageDatabase.java:719)
at oracle.apps.ad.clone.StageDatabase.doStage(StageDatabase.java:364)
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)
RC-40001: Failed to create sql script adcrdbclone.sql for recreating control files at target
Raised by oracle.apps.ad.clone.StageDatabase
fnd_concurrent_processes
很奇怪的问题,查询metalink,有几篇相似错误,但是按照步骤操作后还是有问题。继续查看发现FND_DATABASES 、 FND_DATABASE_INSTANCES这两张表中的数据都被清空了。于是想到是不是做了节点信息清理后,没有做autoconfig。于是查看fnd_nodes,果然也没有数据。
1、执行autoconfig
2、运行preclone
方法很简单,过程很蛋疼