Error:-
$ perl adcfgclone.pl dbTechStack
Can't locate strict.pm in @INC (@INC contains: ../lib/5.10.0/aix-thread-multi-64all ../lib/5.10.0 ../lib/site_perl/5.10.0/aix-thread-multi-64all ../lib/site_perl/5.10.0 ../lib/5.10.0/aix-thread-multi-64all ../lib/5.10.0 ../lib/site_perl .) at adcfgclone.pl line 27.
BEGIN failed--compilation aborted at adcfgclone.pl line 27.
Solution :
$ echo $PERL5LIB
$ export PERL5LIB=$ORACLE_HOME/perl/lib/5.10.0:$ORACLE_HOME/perl/lib/site_perl/5.10.0:$ORACLE_HOME/perl
$ perl adcfgclone.pl dbTechStack
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.31.12010000.8
Enter the APPS password :
Running:
/web01/oratest/db/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /web01/oratest/db/appsutil/clone/jlib/java:/web01/oratest/db/appsutil/clone/jlib/xmlparserv2.jar:/web01/oratest/db/appsutil/clone/jlib/ojdbc5.jar oracle.apps.ad.context.CloneContext -e /web01/oratest/db/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_17498188.lst -stage /web01/oratest/db/appsutil/clone -dbTechStack 2> /tmp/adcfgclone_17498188.err; echo $? > /tmp/adcfgclone_17498188.res
Log file located at /web01/oratest/db/appsutil/clone/bin/CloneContext_0413104358.log
Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [dev] :
Target Instance is RAC (y/n) [n] :
Target System Database SID : TEST
Target System Base Directory : /web01/oratest
Target System utl_file_dir Directory List : /usr/tmp
Number of DATA_TOP's on the Target System [2] :
Target System DATA_TOP Directory 1 [/u12/oraprod/fmsproddata] : /web01/oratest/fmstestdata
Target System DATA_TOP Directory 2 [/u14/oraprod/fmsproddata] : /web03/oratest/fmstestdata
Target System RDBMS ORACLE_HOME Directory [/web01/oratest/db/tech_st/11.2.0] : /web01/oratest/db
Do you want to preserve the Display [PRDDB] (y/n) : n
Target System Display [dev:0.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] : 5
Checking the port pool 5
done: Port Pool 5 is free
Report file located at /web01/oratest/db/appsutil/temp/portpool.lst
Complete port information available at /web01/oratest/db/appsutil/temp/portpool.lst
Backing up /web01/oratest/db/appsutil/FMSTEST_epswdev.xml to /web01/oratest/db/appsutil/FMSTEST_epswdev.xml.bak
Creating the new Database Context file from :
/web01/oratest/db/appsutil/template/adxdbctx.tmp
The new database context file has been created :
/web01/oratest/db/appsutil/FMSTEST_epswdev.xml
Log file located at /web01/oratest/db/appsutil/clone/bin/CloneContext_0413104358.log
Check Clone Context logfile /web01/oratest/db/appsutil/clone/bin/CloneContext_0413104358.log for details.
Running Rapid Clone with command:
perl /web01/oratest/db/appsutil/clone/bin/adclone.pl java=/web01/oratest/db/appsutil/clone/bin/../jre mode=apply stage=/web01/oratest/db/appsutil/clone component=dbTechStack method=CUSTOM dbctxtg=/web01/oratest/db/appsutil/FMSTEST_epswdev.xml showProgress contextValidated=true
Running:
perl /web01/oratest/db/appsutil/clone/bin/adclone.pl java=/web01/oratest/db/appsutil/clone/bin/../jre mode=apply stage=/web01/oratest/db/appsutil/clone component=dbTechStack method=CUSTOM dbctxt
$ perl adcfgclone.pl dbTechStack
Can't locate strict.pm in @INC (@INC contains: ../lib/5.10.0/aix-thread-multi-64all ../lib/5.10.0 ../lib/site_perl/5.10.0/aix-thread-multi-64all ../lib/site_perl/5.10.0 ../lib/5.10.0/aix-thread-multi-64all ../lib/5.10.0 ../lib/site_perl .) at adcfgclone.pl line 27.
BEGIN failed--compilation aborted at adcfgclone.pl line 27.
Solution :
$ echo $PERL5LIB
$ export PERL5LIB=$ORACLE_HOME/perl/lib/5.10.0:$ORACLE_HOME/perl/lib/site_perl/5.10.0:$ORACLE_HOME/perl
$ perl adcfgclone.pl dbTechStack
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.31.12010000.8
Enter the APPS password :
Running:
/web01/oratest/db/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /web01/oratest/db/appsutil/clone/jlib/java:/web01/oratest/db/appsutil/clone/jlib/xmlparserv2.jar:/web01/oratest/db/appsutil/clone/jlib/ojdbc5.jar oracle.apps.ad.context.CloneContext -e /web01/oratest/db/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_17498188.lst -stage /web01/oratest/db/appsutil/clone -dbTechStack 2> /tmp/adcfgclone_17498188.err; echo $? > /tmp/adcfgclone_17498188.res
Log file located at /web01/oratest/db/appsutil/clone/bin/CloneContext_0413104358.log
Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [dev] :
Target Instance is RAC (y/n) [n] :
Target System Database SID : TEST
Target System Base Directory : /web01/oratest
Target System utl_file_dir Directory List : /usr/tmp
Number of DATA_TOP's on the Target System [2] :
Target System DATA_TOP Directory 1 [/u12/oraprod/fmsproddata] : /web01/oratest/fmstestdata
Target System DATA_TOP Directory 2 [/u14/oraprod/fmsproddata] : /web03/oratest/fmstestdata
Target System RDBMS ORACLE_HOME Directory [/web01/oratest/db/tech_st/11.2.0] : /web01/oratest/db
Do you want to preserve the Display [PRDDB] (y/n) : n
Target System Display [dev:0.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] : 5
Checking the port pool 5
done: Port Pool 5 is free
Report file located at /web01/oratest/db/appsutil/temp/portpool.lst
Complete port information available at /web01/oratest/db/appsutil/temp/portpool.lst
Backing up /web01/oratest/db/appsutil/FMSTEST_epswdev.xml to /web01/oratest/db/appsutil/FMSTEST_epswdev.xml.bak
Creating the new Database Context file from :
/web01/oratest/db/appsutil/template/adxdbctx.tmp
The new database context file has been created :
/web01/oratest/db/appsutil/FMSTEST_epswdev.xml
Log file located at /web01/oratest/db/appsutil/clone/bin/CloneContext_0413104358.log
Check Clone Context logfile /web01/oratest/db/appsutil/clone/bin/CloneContext_0413104358.log for details.
Running Rapid Clone with command:
perl /web01/oratest/db/appsutil/clone/bin/adclone.pl java=/web01/oratest/db/appsutil/clone/bin/../jre mode=apply stage=/web01/oratest/db/appsutil/clone component=dbTechStack method=CUSTOM dbctxtg=/web01/oratest/db/appsutil/FMSTEST_epswdev.xml showProgress contextValidated=true
Running:
perl /web01/oratest/db/appsutil/clone/bin/adclone.pl java=/web01/oratest/db/appsutil/clone/bin/../jre mode=apply stage=/web01/oratest/db/appsutil/clone component=dbTechStack method=CUSTOM dbctxt