Contact Premier Online Trainings Today
Premier Online Trainings

Oracle Apps DBA - RC-50014: Fatal: Execution of AutoConfig was failed Raised by oracle.apps.ad.clone.ApplyApplTop

Date Added: 06 Mar.2020 Date Updated: 06 Mar.2020 Oracle Apps DBA Full Blog

RC-50014: Fatal: Execution of AutoConfig was failed Raised by oracle.apps.ad.clone.ApplyApplTop

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>
 
  [SETUP PHASE]
  AutoConfig could not successfully execute the following scripts: 
    Directory: /apps/appsit/SIT/inst/apps/SIT_ebs121/admin/scripts/msc
      mscmatlab.sh            INSTALL_SETUP      127
 
 
AutoConfig is exiting with status 1
 
RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyApplTop
ERROR: AutoConfig completed with errors. Check logfile at /apps/appsit/SIT/inst/apps/SIT_ebs121/admin/log/ApplyAppsTier_03062143.log for details.
ApplyApplTop Completed Successfully.
 
# Checking the status of AutoConfig run of ApplyApplTop
Warning : AutoConfig has completed with  errors . 
Please review the AutoConfig section in the logfile. If required, you can re-run AutoConfig from command line  after fixing the problem 
 
 
Check this logfile 
/apps/appsit/SIT/inst/apps/SIT_ebs121/admin/log/ApplyAppsTier_03062143.log
 
ERRORCODE = 127 ERRORCODE_END
.end std out.
/apps/appsit/SIT/inst/apps/SIT_ebs121/admin/scripts/msc/mscmatlab.sh: line 45: unzip: command not found
cp: cannot stat `/apps/appsit/SIT/inst/apps/SIT_ebs121/temp/demantralib/linux/*.*': No such file or directory
 
Solution 
 
Reference doc:
Running Adcfgclone on Apps tier fails with "mscmatlab.sh: line 45: unzip: command not found" (Doc ID 1529335.1)
 
[applmgr@ebs121 ~]$ which unzip
/usr/bin/which: no unzip in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/applmgr/bin)
[applmgr@ebs121 ~]$ 
 
[applmgr@ebs121 bin]$ pwd
/apps/appsit/SIT/apps/tech_st/10.1.2/bin
[applmgr@ebs121 bin]$ 
export PATH=/apps/appsit/SIT/apps/tech_st/10.1.2/bin:$PATH
 
 
 
[applmgr@ebs121 bin]$ export PATH=/apps/appsit/SIT/apps/tech_st/10.1.2/bin:$PATH
[applmgr@ebs121 bin]$ 
[applmgr@ebs121 bin]$ 
[applmgr@ebs121 bin]$ which unzip
/apps/appsit/SIT/apps/tech_st/10.1.2/bin/unzip
[applmgr@ebs121 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.8
 
Enter the APPS password : 
 
Running:
/apps/appsit/SIT/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /apps/appsit/SIT/apps/apps_st/comn/clone/jlib/java:/apps/appsit/SIT/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/apps/appsit/SIT/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /apps/appsit/SIT/apps/apps_st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_12512.lst -stage /apps/appsit/SIT/apps/apps_st/comn/clone  2> /tmp/adcfgclone_12512.err; echo $? > /tmp/adcfgclone_12512.res
 
Log file located at /apps/appsit/SIT/apps/apps_st/comn/clone/bin/CloneContext_0306221124.log
 
Provide the values required for creation of the new APPL_TOP Context file.
 
Target System Hostname (virtual or normal) [ebs121] : 
 
Target System Database SID : SIT
 
Target System Database Server Node [ebs121] : 
 
Target System Database Domain Name [premier.com] : 
 
Target System Base Directory : /apps/appsit/SIT
 
Target System Tools ORACLE_HOME Directory [/apps/appsit/SIT/apps/tech_st/10.1.2] : 
 
Target System Web ORACLE_HOME Directory [/apps/appsit/SIT/apps/tech_st/10.1.3] : 
 
Target System APPL_TOP Directory [/apps/appsit/SIT/apps/apps_st/appl] : 
 
Target System COMMON_TOP Directory [/apps/appsit/SIT/apps/apps_st/comn] : 
 
Target System Instance Home Directory [/apps/appsit/SIT/inst] : 
 
Target System Root Service [enabled] : 
 
Target System Web Entry Point Services [enabled] : 
 
Target System Web Application Services [enabled] : 
 
Target System Batch Processing Services [enabled] : 
 
Target System Other Services [disabled] : 
 
Do you want to preserve the Display [ebs1213:0.0] (y/n)  : n
 
Target System Display [ebs121:0.0] : 
 
RC-00217: Warning: Configuration home directory (s_config_home) evaluates to /apps/appsit/SIT/inst/apps/SIT_ebs121. A directory with this name already exists and is not empty.
 
Do you want to continue (y/n)  : y
 
 
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 /apps/appsit/SIT/inst/apps/SIT_ebs121/temp/portpool.lst
Complete port information available at /apps/appsit/SIT/inst/apps/SIT_ebs121/temp/portpool.lst
 
UTL_FILE_DIR on database tier consists of the following directories.
 
1. /usr/tmp
2. /usr/tmp
3. /db/orasit/SIT/db/tech_st/11.1.0/appsutil/outbound/SIT_ebs121
4. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1] : 
 
Backing up /apps/appsit/SIT/inst/apps/SIT_ebs121/appl/admin/SIT_ebs121.xml to /apps/appsit/SIT/inst/apps/SIT_ebs121/appl/admin/SIT_ebs121.xml.bak
 
Creating the new APPL_TOP Context file from :
  /apps/appsit/SIT/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp
 
The new APPL_TOP context file has been created :
  /apps/appsit/SIT/inst/apps/SIT_ebs121/appl/admin/SIT_ebs121.xml
 
Log file located at /apps/appsit/SIT/apps/apps_st/comn/clone/bin/CloneContext_0306221124.log
Check Clone Context logfile /apps/appsit/SIT/apps/apps_st/comn/clone/bin/CloneContext_0306221124.log for details.
 
Running Rapid Clone with command:
perl /apps/appsit/SIT/apps/apps_st/comn/clone/bin/adclone.pl java=/apps/appsit/SIT/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/apps/appsit/SIT/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/apps/appsit/SIT/inst/apps/SIT_ebs121/appl/admin/SIT_ebs121.xml showProgress contextValidated=true
Running:
perl /apps/appsit/SIT/apps/apps_st/comn/clone/bin/adclone.pl java=/apps/appsit/SIT/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/apps/appsit/SIT/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/apps/appsit/SIT/inst/apps/SIT_ebs121/appl/admin/SIT_ebs121.xml showProgress contextValidated=true
APPS Password : 
 
Beginning application tier Apply - Fri Mar  6 22:12:22 2020
 
/apps/appsit/SIT/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true  -Doracle.installer.oui_loc=/oui -classpath /apps/appsit/SIT/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/apps/appsit/SIT/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/apps/appsit/SIT/apps/apps_st/comn/clone/jlib/java:/apps/appsit/SIT/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/apps/appsit/SIT/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/apps/appsit/SIT/apps/apps_st/comn/clone/jlib/oui/share.jar:/apps/appsit/SIT/apps/apps_st/comn/clone/jlib/oui/srvm.jar:/apps/appsit/SIT/apps/apps_st/comn/clone/jlib/ojmisc.jar  oracle.apps.ad.clone.ApplyAppsTier -e /apps/appsit/SIT/inst/apps/SIT_ebs121/appl/admin/SIT_ebs121.xml -stage /apps/appsit/SIT/apps/apps_st/comn/clone    -showProgress
APPS Password : Log file located at /apps/appsit/SIT/inst/apps/SIT_ebs121/admin/log/ApplyAppsTier_03062212.log
  /     88% completed       
 
Completed Apply...
Fri Mar  6 22:15:57 2020
 
 
Do you want to startup the Application Services for SIT? (y/n) [y] : n
 
Services not started
 
[applmgr@ebs121 bin]$