Saturday, March 27, 2021

ERROR: OPatch failed because of Path problem.Some commands below are not in your path: Command= fuser

 Dear Folks,


We have encountered a problem while applying 10.1.2 patches in EBS 12.1.2 system.


PROD [****@***** 25441839]$ opatch apply


Oracle Interim Patch Installer version 1.0.0.0.64


Copyright (c) 2011 Oracle Corporation. All Rights Reserved..


Oracle recommends you to use the latest OPatch version


and read the OPatch documentation available in the OPatch/docs


directory for usage. For information about the latest OPatch and


other support-related issues, refer to document ID 293369.1


available on My Oracle Support (https://myoraclesupport.oracle.com)


Oracle Home           : /u01/app/***/BJKAI/apps/tech_st/10.1.2


Oracle Home Inventory : /u01/app/****/BJKAI/apps/tech_st/10.1.2/inventory


Central Inventory     : /u01/app/****/BJKAI/inst/apps/BJKAINEW_nsmljba02-oel7/admin/oraInventory


   from               : /etc/oraInst.loc


OUI location          : /u01/app/****/BJKAI/apps/tech_st/10.1.2/oui


OUI shared library    : /u01/app/****/BJKAI/apps/tech_st/10.1.2/oui/lib/linux/liboraInstaller.so


Java location         : /u01/app/****/BJKAI/apps/tech_st/10.1.2/jdk/jre/bin/java


Log file location     : /u01/app/****/BJKAI/apps/tech_st/10.1.2/.patch_storage/<patch ID>/*.log


Some commands below are not in your path:


  Command= fuser


  Extra Search Path= /sbin/fuser, /usr/sbin/fuser


  Path= /u01/app/****/BJKAI/inst/apps/BJKAINEW_nsmljba02-oel7/admin/scripts:/u01/app/****/BJKAI/apps/tech_st/10.1.3/perl/bin:/u01/app/****/BJKAI/apps/tech_st/10.1.2/bin:/u01/app/****/BJKAI/apps/apps_st/appl/fnd/12.0.0/bin:/u01/app/****/BJKAI/apps/apps_st/appl/ad/12.0.0/bin:/u01/app/****/BJKAI/apps/tech_st/10.1.3/appsutil/jdk/jre/bin::/u01/app/****/BJKAI/apps/tech_st/10.1.2/bin:/usr/bin:/usr/sbin:/u01/app/****/BJKAI/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/u01/app/****/BJKAI/inst/apps/BJKAINEW_nsmljba02-oel7/admin/scripts:/u01/app/****/BJKAI/apps/tech_st/10.1.3/perl/bin:/u01/app/****/BJKAI/apps/tech_st/10.1.2/bin:/u01/app/****/BJKAI/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/u01/app/****/BJKAI/apps/tech_st/10.1.2/bin:/usr/bin:/usr/sbin:/u01/app/****/BJKAI/apps/tech_st/10.1.3/appsutil/jdk/jre/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/****/.local/bin:/home/****/bin:/u01/app/****/BJKAI/apps/tech_st/10.1.2/OPatch:/u01/app/****/BJKAI/apps/tech_st/10.1.3/appsutil/jdk/bin:/u01/app/****/BJKAI/apps/tech_st/10.1.3/ant/bin:/u01/app/****/BJKAI/apps/tech_st/10.1.2/bin:/u01/app/****/BJKAI/apps/tech_st/10.1.2/OPatch:/u01/app/****/BJKAI/apps/tech_st/10.1.2/OPatch:/u01/app/****/BJKAI/apps/tech_st/10.1.3/appsutil/jdk/bin:/u01/app/****/BJKAI/apps/tech_st/10.1.3/ant/bin:/u01/app/****/BJKAI/apps/tech_st/10.1.2/bin:/u01/app/****/BJKAI/apps/tech_st/10.1.2/OPatch


ERROR: OPatch failed because of Path problem.


This issue is being fixed by installing rpm "psmisc"

rpm -qa | grep psmisc
psmisc-22.20-16.el7.x86_64

Thanks.