Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

OPatch failed because of Path problem

SOLVED
Go to solution
Millicent Howze-Simmons
Frequent Advisor

OPatch failed because of Path problem

Hi,
I have Oracle 9.2.06 on a HP-UX 11.11 OS.
I am trying to installed the OCT2006 CPU patch. I keep getting an error saying that:
Some commands below are not in your path -
Command= fuser
Extra Search Path= /sbin/fuser, /usr/sbin/fuser

But these commands are in my path:

Path= /usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/pd/bin:/opt/resmon/bin:/opt/gnome/bin:/usr/sbin/diag/contrib:/opt/mozilla:/opt/wbem/bin:/opt/wbem/sbin:/opt/graphics/common/bin:/opt/hpsmh/bin:/opt/perl/bin:/opt/ssh/bin:/opt/gwlm/bin:/opt/oracle/cmostest/bin:/usr/sbin/fuser:/etc/fuser

Does any one know why I am getting this error?
3 REPLIES
Jeff_Traigle
Honored Contributor
Solution

Re: OPatch failed because of Path problem

You put directories in PATH, not files. Your PATH should be:

Path= /usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/pd/bin:/opt/resmon/bin:/opt/gnome/bin:/usr/sbin/diag/contrib:/opt/mozilla:/opt/wbem/bin:/opt/wbem/sbin:/opt/graphics/com
mon/bin:/opt/hpsmh/bin:/opt/perl/bin:/opt/ssh/bin:/opt/gwlm/bin:/opt/oracle/cmostest/bin:/usr/sbin:/etc
--
Jeff Traigle
Millicent Howze-Simmons
Frequent Advisor

Re: OPatch failed because of Path problem

Thanks Jeff. That get rid of that problem.

I am out of practice with applying Patches..
I received another error:
OPatch failed during pre-reqs check.

Invoking fuser on "/opt/oracle/cmostest/bin/oidreconcile"
Invoking fuser on "/opt/oracle/cmostest/bin/lsnrctl"
Invoking fuser on "/opt/oracle/cmostest/bin/tnsping"
Invoking fuser on "/opt/oracle/cmostest/Apache/Apache/bin/rotatelogs"
Invoking fuser on "/opt/oracle/cmostest/Apache/Apache/bin/httpd"
Invoking fuser on "/opt/oracle/cmostest/bin/tnslsnr"
Invoking fuser on "/opt/oracle/cmostest/bin/onrsd"
Invoking fuser on "/opt/oracle/cmostest/bin/oracle"
Invoking fuser on "/opt/oracle/cmostest/bin/nmumigr8"
Invoking fuser on "/opt/oracle/cmostest/bin/trcroute"
Invoking fuser on "/opt/oracle/cmostest/Apache/Apache/bin/htpasswd"
Problems when checking for files that are active.
There were problems when checking for active processes on critical files.
The patch tool runs the command "fuser" to check that critical files are not in use. Make sure 'fuser' is available and executable on your PATH

I stoped all processes pertaining to Oracle. Jeff, what is OPATCH doing?


Yogeeraj_1
Honored Contributor

Re: OPatch failed because of Path problem

hi,

Allow me to clarify this OPatch issue.

First of all, you can find the FAQ in $ORACLE_HOME/OPatch/docs

Note that OPatch is just a set of Perl scripts that allow the application and rolling back of interim patches to an Oracle product.

e.g. "opatch lsinventory" allows you to list down all the interim patches installed on your system.

all you have to do is check where "fuser" is found and make sure that it is found in the PATH environment variable.

(normally the path is /usr/sbin/fuser)

let us know

kind regards
yogeeraj

No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)