How to fix warning could not find all the required OS utilities in the $PATH.

Introduction:-

In this article, We will resolve the Warning could not find all the required OS utilities in the $PATH.  Unable to locate all utilities with system path. Unable to locate ‘g++’ utility in path.

Here we can see once we will execute the perl adcfgclone.pl appsTier, after that error will thrown as ‘WARNING Could not find all the required OS utilities in the $PATH’.

[applmgr@****apps bin]$ perl adcfgclone.pl appsTier dualfs

                     Copyright (c) 2002, 2015 Oracle Corporation

                        Redwood Shores, California, USA

                        Oracle E-Business Suite Rapid Clone

                                 Version 12.2

                      adcfgclone Version 120.63.12020000.65

                ***********************************************************

                In AD-TXK Delta 7, we recommend you clone the run and patch

                file systems in a single operation using the 'dualfs' option.

                Separate cloning of the run and patch file systems will be deprecated

     ************************************************************

Enter the APPS password :

Enter the Weblogic AdminServer password :

Do you want to add a node (yes/no) [no] : no


which: no g++ in (/oracle/EBSFS/fs1/EBSapps/comn/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/applmgr/bin)

Checking for make...    found - /usr/bin/make

 Checking for ld...     found - /usr/bin/ld

 Checking for gcc...    found - /usr/bin/gcc

 Checking for g++...

 Unable to locate 'g++' utility in path

 Checking for ar...     found - /usr/bin/ar

 Unable to locate all utilities with system path.

 PATH = /oracle/EBSFS/fs1/EBSapps/comn/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/applmgr/bin


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

Solution:-

#yum install gcc-c++.x86_64


 which g++

/usr/bin/g++


[applmgr@****apps bin]$ g++ --version

g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23.0.1)

Copyright (C) 2010 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Now we have set the package, After that we will execute the dualfs using perl adcfgclone.pl appsTier dualfs.

[applmgr@****apps bin]$ perl adcfgclone.pl appsTier dualfs




                     Copyright (c) 2002, 2015 Oracle Corporation

                        Redwood Shores, California, USA

                        Oracle E-Business Suite Rapid Clone

                                 Version 12.2

                      adcfgclone Version 120.63.12020000.65




Enter the APPS password :

Enter the Weblogic AdminServer password :

Do you want to add a node (yes/no) [no] : no

Running: Context clone...

Log file located at /oracle/EBSFS/fs1/EBSapps/comn/clone/bin/CloneContext_0610161855.log

Provide the values required for creation of the new APPL_TOP Context file.

Target System Hostname (virtual or normal) [***apps]:

Target System Database SID : TEST

Target System Database Server Node [***apps] : ***apps

Target System Database Domain Name [***-****.com] :

Target System Base Directory : /oracle/EBSFS

Target System Base Directory set to /oracle/EBSFS

Target System Current File System Base set to /oracle/EBSFS/fs1

Target System Other File System Base set to /oracle/EBSFS/fs2

Target System Fusion Middleware Home set to /oracle/EBSFS/fs1/FMW_Home

Target System Other File System Fusion Middleware Home set to /oracle/EBSFS/fs2/FMW_Home

Target System Web Oracle Home set to /oracle/EBSFS/fs1/FMW_Home/webtier

Target System Other File System Web Oracle Home set to /oracle/EBSFS/fs2/FMW_Home/webtier

Target System Appl TOP set to /oracle/EBSFS/fs1/EBSapps/appl

Target System Other File System Appl TOP set to /oracle/EBSFS/fs2/EBSapps/appl




Target System COMMON TOP set to /oracle/EBSFS/fs1/EBSapps/comn

Target System Other File System COMMON TOP set to /oracle/EBSFS/fs2/EBSapps/comn

Target System Instance Home Directory [/oracle/EBSFS] :

Target System Current File System Instance Top set to /oracle/EBSFS/fs1/inst/apps/UAT_samarthapps

Do you want to preserve the Display [***test:0.0] (y/n)  : n

Target System Display [***apps:0.0] :

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 the target system to have the same port values as the source system (y/n) [y] ? : n

Target System Port Pool [0-99] : 1

Checking the port pool 1

done: Port Pool 1 is free

Report file located at /oracle/EBSFS/fs1/inst/apps/***_****apps/admin/out/portpool.lst

I believe this article will help you to resolve the issue WARNING Could not find all the required OS utilities in the $PATH’. click here for another issue.

For another similar issue related to OS utility, click here.

Leave a Comment