Wednesday, January 14, 2015

EBS Cloning Error : Unable to find PD KSH version


Problem

[oracle@test 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 :

Checking for make...    found - /usr/bin/make
 Checking for ld...     found - /usr/bin/ld
 Checking for gcc...    found - /usr/bin/gcc
 Checking for g++...    found - /usr/bin/g++
 Checking for ar...     found - /usr/bin/ar
 Checking for ksh...
 Unable to find PD KSH version.
 Unable to locate all utilities with system path.
 PATH = /EBS/CRP3/db/tech_st/11.2.0/appsutil/clone/bin/../jre/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/java/latest/bin

WARNING: Could not find all the required OS utilities in the $PATH. Please review the checks above

Solution

Before running the perl utility on the adcfgclone.pl script set the KSH_VERSION. The following is applicable to the Linux Red Hat 5 platform 

1. Check pdksh rpm is applied to the system
$ [root@test ~]# rpm -qa pdksh*
pdksh-5.2.14-36.el5
2. And run below export command to set the version
$ export KSH_VERSION='@(#)PD KSH v5.2.14 99/07/13.2'
Repeat the 'perl adcfgclone.pl dbTier' and it should now run successfully.

Permanent fix

Apply Patch 5972212 "ADCHKUTL.SH FAILS IN SLES 10 DUE TO PDKSH REQUIREMENT" for 11i or R12 which will bring the correct version of adchkutl.sh 115.6 which no longer checks for pdksh

No comments:

Post a Comment