Skip to Content
Former Member
Dec 21, 2009 at 12:48 PM

Issue with opatch lsinventory - Oracle / HPUX 11.23


Dear All

We are trying to check whether any interim patch has been installed in one of our SAP (ECC) server with Oracle on HP-UX 11.23 platform.

We have copied the opatch utility and installed the same as per SNote 304608.

Output of perl -v is as follows:

db:orarp2 97> perl -v

This is perl, v5.8.3 built for IA64.ARCHREV_0-thread-multi

(with 8 registered patches, see perl -V for more detail)

Copyright 1987-2003, Larry Wall

Binary build 809 provided by ActiveState Corp.

ActiveState is a division of Sophos.

Built Jan 18 2005 15:43:34

Perl may be copied only under the terms of either the Artistic License or the

GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on

this system using `man perl' or `perldoc perl'. If you have access to the

Internet, point your browser at, the Perl Home Page.

Output of opatch lsinventory is as follows:

db:orarp2 96> opatch lsinventory


/usr/bin/perl ./ lsinventory

Using ORACLE_HOME/oui to look up oui libs...

Parsing /oracle/RP2/920_64/inventory/ContentsXML/comps.xml

Found "oracle.swd.oui" version ""

on "/oracle/RP2/920_64/oui"

./ version:

Copyright (c) 2001,2002,2003 Oracle Corporation. All Rights Reserved.

Cannot find

ERROR: OPatch failed because of Inventory problem.

I have checked the ORACLE_HOME, it is pointing to /oracle/RP2/920_64

Also, I have checked that with orarp2 user, I am able to read oraInst.loc file - located at /var/opt/oracle. Also, the inventory exists at /oracle/oraInventory

Please suggest what could be wrong in this. Is there any other way to check for interim patches, in case opatch fails?

Thanks in advance.

Sudip Ghosh