RC-50014: Fatal: Execution of AutoConfig was failed Raised by oracle.apps.ad.clone.ApplyDBTechStack
Issue:
[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: /db/orasit/SIT/db/tech_st/11.1.0/appsutil/install/SIT_ebs121
adcrdb.sh INSTE8
AutoConfig is exiting with status 1
RC-50014: Fatal: Execution of AutoConfig was failed Raised by oracle.apps.ad.clone.ApplyDBTechStack
Solution :
we have to copy the adcrdb.sh file ($ORACLE_HOME/appsutil/template) from
Source to target ($ORACLE_HOME/appsutil/template) then
we run the adcfgclone.pl dbTier again.
[oracle@ebs121 template]$cd /db/orasit/SIT/db/tech_st/11.1.0/appsutil/template
[oracle@ebs121 template]$ ls -trl adcrdb.sh
ls: cannot access adcrdb.sh: No such file or directory
[oracle@ebs121 template]$ pwd
/db/orasit/SIT/db/tech_st/11.1.0/appsutil/template
[oracle@ebs121 template]$ ls -trl adcrdb.sh
-rwxr-----. 1 oracle dba 4015 Mar 6 19:50 adcrdb.sh
[oracle@ebs121 template]$
[oracle@ebs121 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.8
Enter the APPS password :
Running:
/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/jlib/java:/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/jlib/xmlparserv2.jar:/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/jlib/ojdbc5.jar oracle.apps.ad.context.CloneContext -e /db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_29026.lst -stage /db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone 2> /tmp/adcfgclone_29026.err; echo $? > /tmp/adcfgclone_29026.res
Log file located at /db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/bin/CloneContext_0306200024.log
Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [ebs121] :
Target Instance is RAC (y/n) [n] :
Target System Database SID : SIT
Target System Base Directory : /db/orasit/SIT
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 [/db/oradev/DEV/db/apps_st/data] : /db/orasit/SIT/db/apps_st/data
Target System RDBMS ORACLE_HOME Directory [/db/orasit/SIT/db/tech_st/11.1.0] :
Do you want to preserve the Display [ebs1213:0] (y/n) : n
Target System Display [ebs121:0.0] : ebs121: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] : 0
Checking the port pool 0
done: Port Pool 0 is free
Report file located at /db/orasit/SIT/db/tech_st/11.1.0/appsutil/temp/portpool.lst
Complete port information available at /db/orasit/SIT/db/tech_st/11.1.0/appsutil/temp/portpool.lst
Backing up /db/orasit/SIT/db/tech_st/11.1.0/appsutil/SIT_ebs121.xml to /db/orasit/SIT/db/tech_st/11.1.0/appsutil/SIT_ebs121.xml2.bak
Creating the new Database Context file from :
/db/orasit/SIT/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
The new database context file has been created :
/db/orasit/SIT/db/tech_st/11.1.0/appsutil/SIT_ebs121.xml
Log file located at /db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/bin/CloneContext_0306200024.log
Check Clone Context logfile /db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/bin/CloneContext_0306200024.log for details.
Running Rapid Clone with command:
perl /db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl java=/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/bin/../jre mode=apply stage=/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/db/orasit/SIT/db/tech_st/11.1.0/appsutil/SIT_ebs121.xml showProgress contextValidated=true
Running:
perl /db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl java=/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/bin/../jre mode=apply stage=/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/db/orasit/SIT/db/tech_st/11.1.0/appsutil/SIT_ebs121.xml showProgress contextValidated=true
APPS Password :
Beginning database tier Apply - Fri Mar 6 20:02:25 2020
/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/db/orasit/SIT/db/tech_st/11.1.0/oui -classpath /db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/jlib/xmlparserv2.jar:/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/jlib/ojdbc6.jar:/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/jlib/java:/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/OraInstaller.jar:/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/ewt3.jar:/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/share.jar:/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/jlib/oui/srvm.jar:/db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /db/orasit/SIT/db/tech_st/11.1.0/appsutil/SIT_ebs121.xml -stage /db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone -showProgress
APPS Password : Log file located at /db/orasit/SIT/db/tech_st/11.1.0/appsutil/log/SIT_ebs121/ApplyDBTier_03062002.log
\ 15% completed
Completed Apply...
Fri Mar 6 20:19:02 2020
Starting database listener for SIT:
Running:
/db/orasit/SIT/db/tech_st/11.1.0/appsutil/scripts/SIT_ebs121/addlnctl.sh start SIT
Logfile: /db/orasit/SIT/db/tech_st/11.1.0/appsutil/log/SIT_ebs121/addlnctl.txt
You are running addlnctl.sh version 120.1.12010000.4
Starting listener process SIT ...
Listener SIT has already been started.
addlnctl.sh: exiting with status 0
addlnctl.sh: check the logfile /db/orasit/SIT/db/tech_st/11.1.0/appsutil/log/SIT_ebs121/addlnctl.txt for more information ...
[oracle@ebs121 bin]$