-
apply patch using opatch
Hi all,
I am on Linux 2.1 and trying to upgrade the security patches 68 on 9.2.0.5
any way, below is the error I got
[oracle@test 3811906]$ /home/oracle/DBA_STUFFS/patches/opatch/OPatch/opatch apply
PERL5LIB=/home/oracle/product/9.2.0/Apache/perl/lib/5.00503:/home/oracle/DBA_STUFFS/patches/opatch/OPatch/perl_modules; export PERL5LIB
/home/oracle/product/9.2.0/Apache/perl/bin/perl /home/oracle/DBA_STUFFS/patches/opatch/OPatch/opatch.pl apply
OPatch Version 1.0.0.0.45
Perl Version 5.00503
Performing pre-patch installation checks.
general_options is set to 0
OPatch can't find command 'fuser'.
/home/oracle/DBA_STUFFS/patches/opatch/OPatch/opatch.pl version: 1.0.0.0.45
Copyright (c) 2001,2002,2003 Oracle Corporation. All Rights Reserved.
Some commands below are not in your path:
Command= fuser
Path= /usr/kerberos/bin:/opt/IBMJava2-131/bin:/opt/IBMJava2-131/jre/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/home/oracle/product/9.2.0/bin:/home/oracle/bin
ERROR: OPatch failed because of Path problem.
it looks for fuser but when I go to /usr/sbin/ I can't find it
any advises????
-
See if it's in your path...
# which fuser
If it's not in your path,
# find / -type f -name fuser
then put it in your path.
Jeff Hunter
-
Originally posted by marist89
See if it's in your path...
# which fuser
If it's not in your path,
# find / -type f -name fuser
then put it in your path.
At lease on HP, you need to: chmod go+x /usr/sbin/fuser
Oracle Certified Master
Oracle Certified Professional 6i,8i,9i,10g,11g,12c
email: ocp_9i@yahoo.com
-
Jeff,
thanks for your advises and I have another question since I am 100% clear of what I need to do.
ok, I have to use the patch for opatch and any way it would be something like this:
[oracle@test 3811906]$ pwd
/home/oracle/DBA_STUFFS/patches/security68_1/3811906
[oracle@qhoudb03 3811906]$ /home/oracle/DBA_STUFFS/patches/opatch/OPatch apply
and now I understand that I have to put the patch of fuser into this command as well, the question is "where to I put the path for fuser?" BTW, the path of my fuser is in /sbin/fuser/
thanks
-
export PATH=$PATH:/sbin
Then do which fuser and it will return you the directory fuser is in so you know you did it correctly
then go to the Patch directory (not the opatch directory) and do
/path_to_opatch/opatch apply
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|