Contact Premier Online Trainings Today
Premier Online Trainings

Oracle Apps DBA - RC-20200: Fatal: Could not find Unzip. At this time only Native UnZip 5.X is supported

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

RC-20200: Fatal: Could not find Unzip. At this time only Native UnZip 5.X is supported

Issue:

  -      0% completed       RC-20200: Fatal: Could not find Unzip. At this time only Native UnZip 5.X is supported.

Please make sure you have UnZip 5.X in your path and try again...
 
ERROR while running Apply...
Fri Mar  6 19:53:00 2020
 
 ERROR: Failed to execute /db/orasit/SIT/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl 
 
 Please check logfile. 
 
# Calling ApplyDatabase...
installing Context File...   /db/orasit/SIT/db/tech_st/11.1.0/appsutil/SIT_ebs121.xml
Actual Database Context file...   /db/orasit/SIT/db/tech_st/11.1.0/appsutil/SIT_ebs121.xml
Updating Context...
Executing runInstallDriver...
Started unzipping files...
RC-50208: Exception  in method TimedProcessProcess.run
Raised by oracle.apps.ad.util.TimedProcess$TimedProcessProcess: java.io.IOException: Cannot run program "unzip": java.io.IOException: error=2, No such file or directory
 
Solution :
Unzip command isn't working on Target server (clone) So, we have  to set Below environment variable.
export PATH=/db/orasit/SIT/db/tech_st/11.1.0/bin:$PATH
 
[oracle@ebs121 11.1.0]$ which unzip
/db/orasit/SIT/db/tech_st/11.1.0/bin/unzip
[oracle@ebs121 11.1.0]$ 
 
 
 
[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]$