27 October 2010

ERROR: OPatch failed because of Path problem.

[oracle@muthu 2615271]$ /oracle/NEW/newdb/9.2.0/OPatch/opatch apply
PERL5LIB=/oracle/NEW/newdb/9.2.0/Apache/perl/lib/5.00503:/oracle/NEW/newdb/9.2.0/OPatch/perl_modules; export PERL5LIB
/oracle/NEW/newdb/9.2.0/Apache/perl/bin/perl /oracle/NEW/newdb/9.2.0/OPatch/opatch.pl apply

OPatch Version 1.0.0.0.48
Perl Version 5.00503

/oracle/NEW/newdb/9.2.0/OPatch/opatch.pl version: 1.0.0.0.48
Copyright (c) 2001,2002,2003 Oracle Corporation. All Rights Reserved.

Some commands below are not in your path:
  Command= fuser
  Path= /oracle/NEW/newdb/9.2.0/Apache/perl/bin:/oracle/NEW/newdb/9.2.0/bin:/usr/bin:/usr/sbin:
/oracle/NEW/newdb/9.2.0/jre/1.4.2/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/bin:
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin

ERROR: OPatch failed because of Path problem.
[oracle@muthu 2615271]$ which fuser
/usr/bin/which: no fuser in (/oracle/NEW/newdb/9.2.0/Apache/perl/bin:/oracle/NEW/newdb/9.2.0/bin:
/usr/bin:/usr/sbin:/oracle/NEW/newdb/9.2.0/jre/1.4.2/bin:/usr/ccs/bin:/bin:/usr/bin/X11:
/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin)
[oracle@muthu 2615271]$ find / -type f -name fuser
[oracle@muthu 2615271]$ su
Password:
[root@muthu 2615271]# find / -type f -name fuser
/sbin/fuser
[root@muthu 2615271]# exit
exit
[oracle@muthu 2615271]$ vi /oracle/NEW/newdb/9.2.0/NEW_muthu.env

[oracle@muthu 2615271]$ . /oracle/NEW/newdb/9.2.0/NEW_muthu.env

[oracle@muthu DBupdate]$ cd 4167403/
[oracle@muthu 4167403]$ /oracle/NEW/newdb/9.2.0/OPatch/opatch apply
PERL5LIB=/oracle/NEW/newdb/9.2.0/Apache/perl/lib/5.00503:/oracle/NEW/newdb/9.2.0/OPatch/perl_modules; export PERL5LIB
/oracle/NEW/newdb/9.2.0/Apache/perl/bin/perl /oracle/NEW/newdb/9.2.0/OPatch/opatch.pl apply

OPatch Version 1.0.0.0.48
Perl Version 5.00503

Oracle Home = /oracle/NEW/newdb/9.2.0
Location of Oracle Inventory = /oracle/NEW/newdb/9.2.0/inventory
Oracle Universal Installer shared library = /oracle/NEW/newdb/9.2.0/oui/lib/linux/liboraInstaller.so
Path to Java = /oracle/NEW/newdb/9.2.0/jre/1.4.2/bin/java
Location of Oracle Inventory Pointer = /etc/oraInst.loc
Location of Oracle Universal Installer components = /oracle/NEW/newdb/9.2.0/oui
Required Jar File under Oracle Universal Installer = jlib/OraInstaller.jar


Please shut down Oracle instances running out of this ORACLE_HOME
(Oracle Home = /oracle/NEW/newdb/9.2.0)
Is this system ready for updating?
Please respond Y|N >
y
Patching...
Updating inventory...
/oracle/NEW/newdb/9.2.0/OPatch/opatch.pl version: 1.0.0.0.48
Copyright (c) 2001,2002,2003 Oracle Corporation. All Rights Reserved.


OPatch succeeded.
[oracle@muthu 4167403]$

No comments: