Tuesday, June 27, 2017

Unable to find 'kshell' in path while adcfgclone.sh dbTechStack

Problem : 

getting error while adcfgclone.sh dbTechStack

Checking for make...    found - /usr/bin/make
 Checking for ld...     found - /usr/bin/ld
 Checking for cc...     found - /usr/bin/cc
 Checking for ar...     found - /usr/bin/ar
 Checking for ksh...
 Unable to find 'kshell' in path
 Unable to locate all utilities with system path.
 PATH = /usr/ccs/bin:/usr/ccs/bin:/testdb/oracle/TEST/10.2.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/gnome/bin


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


Solution : 

vi /testdb/oracle/TEST/10.2.0/appsutil/clone/bin/adchkutl.sh

comment the below script.

# Verify for ksh if its a linux only platform
#

#if test $UNAME = "Linux"; then
#  printf "Checking for ksh...\t";
#  VERSN=`/bin/ksh -c 'echo $KSH_VERSION' | grep "PD KSH";`;
#  EC=$?
#  if test $EC != "0" ; then
#     printf "\nUnable to find 'kshell' in path\n";
#     SHOW_PATH=1
#  else
#     printf "found - $VERSN\n";
#  fi
#fi


Then retest.

No comments:

Post a Comment