- Change your directory to cd $ORACLE_HOME/OPatch
- Issue ./opatch lsinventory
[oracle@av-mrp OPatch]$ cd $ORACLE_HOME/OPatch
[oracle@av-mrp OPatch]$ ./opatch lsinventory
Invoking OPatch 10.2.0.4.7
Oracle Interim Patch Installer version 10.2.0.4.7
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /u01/oracle/product/10.2.3/av_1
Central Inventory : /u01/app/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.4.7
OUI version : 10.2.0.5.0
OUI location : /u01/oracle/product/10.2.3/av_1/oui
Log file location : /u01/oracle/product/10.2.3/av_1/cfgtoollogs/opatch/opatch2011-12-13_13-37-41PM.log
Patch history file: /u01/oracle/product/10.2.3/av_1/cfgtoollogs/opatch/opatch_history.txt
Lsinventory Output file location : /u01/oracle/product/10.2.3/av_1/cfgtoollogs/opatch/lsinv/lsinventory2011-12-13_13-37-41PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (2):
Oracle Audit Vault 10g 10.2.3.0.0
Oracle Audit Vault 10g Release 2 Patch Set 2 10.2.3.2.0
There are 2 products installed in this Oracle Home.
Interim patches (6) :
Patch 8648568 : applied on Fri Dec 09 16:04:10 BDT 2011
Unique Patch ID: 11585139
Created on 24 Jul 2009, 01:44:15 hrs PST8PDT
Bugs fixed:
6964283, 6940487, 6805009, 5679561, 4740049, 6996030, 6954407, 6023472
4085593, 7581770, 6340297, 7685199, 6726958, 8648568
Patch 8567353 : applied on Fri Dec 09 16:03:45 BDT 2011
Unique Patch ID: 11523582
Created on 9 Jul 2009, 00:14:42 hrs PST8PDT
Bugs fixed:
7510032, 6936368, 8567353
Patch 8562769 : applied on Fri Dec 09 16:03:26 BDT 2011
Unique Patch ID: 11382699
Created on 4 Jun 2009, 01:42:38 hrs PST8PDT
Bugs fixed:
4447712, 8562769, 7022700
Patch 7564548 : applied on Fri Dec 09 16:03:09 BDT 2011
Created on 2 Nov 2009, 16:14:32 hrs PST8PDT
Bugs fixed:
7564548
Patch 7524768 : applied on Fri Dec 09 16:02:55 BDT 2011
Created on 21 Jan 2009, 22:14:01 hrs US/Pacific
Bugs fixed:
7524768
Patch 6720712 : applied on Fri Dec 09 16:02:35 BDT 2011
Created on 9 Jan 2009, 17:22:18 hrs PST8PDT
Bugs fixed:
6720712
--------------------------------------------------------------------------------
OPatch succeeded.
[oracle@av-mrp OPatch]$ ./opatch lsinventory -details >/tmp/patch.txt
[oracle@av-mrp OPatch]$ less /tmp/patch.txt
Invoking OPatch 10.2.0.4.7
Oracle Interim Patch Installer version 10.2.0.4.7
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /u01/oracle/product/10.2.3/av_1
Central Inventory : /u01/app/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.4.7
OUI version : 10.2.0.5.0
OUI location : /u01/oracle/product/10.2.3/av_1/oui
Log file location : /u01/oracle/product/10.2.3/av_1/cfgtoollogs/opatch/opatch2011-12-13_13-39-55PM.log
Patch history file: /u01/oracle/product/10.2.3/av_1/cfgtoollogs/opatch/opatch_history.txt
Lsinventory Output file location : /u01/oracle/product/10.2.3/av_1/cfgtoollogs/opatch/lsinv/lsinventory2011-12-13_13-39-55PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (2):
Oracle Audit Vault 10g 10.2.3.0.0
Oracle Audit Vault 10g Release 2 Patch Set 2 10.2.3.2.0
There are 2 products installed in this Oracle Home.
Installed Products (196):
Agent Required Support Files 10.2.0.3.0
Agent Required Support Files Patch 10.2.0.4.0
Assistant Common Files 10.2.0.3.0
Assistant Common Files Patch 10.2.0.4.0
Bali Share 1.1.18.0.0
Buildtools Common Files 10.2.0.3.0
Character Set Migration Utility 10.2.0.3.0
Character Set Migration Utility Patch 10.2.0.4.0
Database Configuration and Upgrade Assistants 10.2.0.3.0
Database Configuration and Upgrade Assistants Patch 10.2.0.4.0
Database SQL Scripts 10.2.0.3.0
Database SQL Scripts Patch 10.2.0.4.0
Database Workspace Manager 10.2.0.3.0
Database Workspace Manager 10.2.0.4.0
DBJAVA Required Support Files 10.2.0.3.0
DBJAVA Required Support Files Patch 10.2.0.4.0
Enterprise Edition Options 10.2.0.3.0
Enterprise Manager Agent Core 10.2.0.1.0
Enterprise Manager Agent Core Patch 10.2.0.4.0a
Enterprise Manager Agent DB 10.2.0.1.0
Enterprise Manager Agent DB 10.2.0.4.0
Enterprise Manager Baseline 10.2.0.1.0
Enterprise Manager Baseline 10.2.0.4.0
Enterprise Manager Common Core Patch 10.2.0.4.0a
Enterprise Manager Common Files 10.2.0.1.0
Enterprise Manager Minimal Integration 10.2.0.3.0
Enterprise Manager plugin Common Files 10.2.0.1.0
Enterprise Manager plugin Common Files 10.2.0.3.0
Enterprise Manager plugin Common Files Patch 10.2.0.4.0
Enterprise Manager Repository Core 10.2.0.1.0
Enterprise Manager Repository Core patch 10.2.0.4.0a
Enterprise Manager Repository DB 10.2.0.1.0
Enterprise Manager Repository DB 10.2.0.4.0
Generic Connectivity Common Files 10.2.0.3.0
Generic Connectivity Common Files Patch 10.2.0.4.0
HAS Common Files 10.2.0.3.0
HAS Common Files Patch 10.2.0.4.0
HAS Files for DB 10.2.0.3.0
HAS Files for DB Patch 10.2.0.4.0
Installation Common Files 10.2.0.3.0
Installation Common Files Patch 10.2.0.4.0
Installer SDK Component 10.2.0.5.0
Java Runtime Environment 1.4.2.14.0
JDBC Common Files 10.2.0.3.0
JDBC Common Files 10.2.0.4.0
LDAP Required Support Files 10.2.0.3.0
LDAP Required Support Files Patch 10.2.0.4.0
OLAP SQL Scripts 10.2.0.3.0
OLAP SQL Scripts Patch 10.2.0.4.0
Oracle Advanced Security 10.2.0.3.0
Oracle Advanced Security Patch 10.2.0.4.0
Oracle Application Express 3.2.0.00.27
Oracle Audit Vault 10g 10.2.3.0.0
Oracle Audit Vault 10g Patch 10.2.3.2.0
Oracle Audit Vault 10g Release 2 Patch Set 2 10.2.3.2.0
Oracle Audit Vault Common Files 10.2.3.0.0
Oracle Audit Vault Common Files Patch 10.2.3.2.0
Oracle Audit Vault One-Off Patch 10.2.3.0.0
Oracle Call Interface (OCI) 10.2.0.3.0
Oracle Call Interface (OCI) Patch 10.2.0.4.0
Oracle Clusterware RDBMS Files 10.2.0.3.0
Oracle Clusterware RDBMS Files Patch 10.2.0.4.0
Oracle Code Editor 1.2.1.0.0I
Oracle Containers for Java 10.2.0.3.0
Oracle Containers for Java 10.2.0.4.0
Oracle Core Required Support Files 10.2.0.3.0
Oracle Core Required Support Files Patch 10.2.0.4.0
Oracle Database 10g 10.2.0.3.0
Oracle Database 10G 32 bit 10.2.0.1.0
Oracle Database 10g interMedia Files 10.2.0.3.0
Oracle Database 10g interMedia Files Patch 10.2.0.4.0
Oracle Database 10g Patch 10.2.0.4.0
Oracle Database User Interface 2.2.13.0.0
Oracle Database Utilities 10.2.0.3.0
Oracle Database Utilities Patch 10.2.0.4.0
Oracle Database Vault J2EE Application 10.2.0.3.0
Oracle Database Vault J2EE Application Patch 10.2.0.4.0
Oracle Database Vault Scripts 10.2.0.3.0
Oracle Database Vault Scripts Patch 10.2.0.4.0
Oracle Display Fonts 9.0.2.0.0
Oracle Enterprise Manager Console DB 10.2.0.1.0
Oracle Enterprise Manager Console DB 10.2.0.4.0
Oracle Extended Windowing Toolkit 3.4.38.0.0
Oracle Globalization Support 10.2.0.3.0
Oracle Globalization Support Patch 10.2.0.4.0
Oracle Help For Java 4.2.6.1.0
Oracle Help for the Web 1.1.10.0.0
Oracle Ice Browser 5.2.3.6.0
Oracle interMedia 10.2.0.3.0
Oracle interMedia Annotator 10.2.0.3.0
Oracle interMedia Client Option 10.2.0.3.0
Oracle interMedia Client Option Patch 10.2.0.4.0
Oracle interMedia Java Advanced Imaging 10.2.0.3.0
Oracle interMedia Java Advanced Imaging Patch 10.2.0.4.0
Oracle interMedia Locator 10.2.0.3.0
Oracle interMedia Locator Patch 10.2.0.4.0
Oracle interMedia Locator RDBMS Files 10.2.0.3.0
Oracle interMedia Locator RDBMS Files Patch 10.2.0.4.0
Oracle interMedia Patch 10.2.0.4.0
Oracle Internet Directory Client 10.2.0.3.0
Oracle Internet Directory Client Patch 10.2.0.4.0
Oracle Java Client 10.2.0.3.0
Oracle Java Client Patch 10.2.0.4.0
Oracle JDBC Thin Driver for JDK 1.2 10.2.0.3.0
Oracle JDBC Thin Driver for JDK 1.2 Patch 10.2.0.4.0
Oracle JDBC Thin Driver for JDK 1.4 10.2.0.3.0
Oracle JDBC Thin Driver for JDK 1.4 Patch 10.2.0.4.0
Oracle JDBC/OCI Instant Client 10.2.0.3.0
Oracle JDBC/OCI Instant Client Patch 10.2.0.4.0
Oracle JFC Extended Windowing Toolkit 4.2.33.0.0
Oracle JVM 10.2.0.3.0
Oracle JVM Patch 10.2.0.4.0
Oracle Label Security 10.2.0.3.0
Oracle Label Security Patch 10.2.0.4.0
Oracle LDAP administration 10.2.0.3.0
Oracle LDAP administration patch 10.2.0.4.0
Oracle Locale Builder 10.2.0.3.0
Oracle Locale Builder 10.2.0.4.0
Oracle Message Gateway Common Files 10.2.0.3.0
Oracle Message Gateway Common Files Patch 10.2.0.4.0
Oracle Net 10.2.0.3.0
Oracle Net Listener 10.2.0.3.0
Oracle Net Listener Patch 10.2.0.4.0
Oracle Net Patch 10.2.0.4.0
Oracle Net Required Support Files 10.2.0.3.0
Oracle Net Required Support Files Patch 10.2.0.4.0
Oracle Net Services 10.2.0.3.0
Oracle Notification Service 10.1.0.3.0
Oracle Notification Service Patch 10.2.0.4.0
Oracle ODBC Driver 10.2.0.3.0
Oracle ODBC Driver Patch 10.2.0.4.0
Oracle ODBC Driverfor Instant Client 10.2.0.3.0
Oracle OLAP 10.2.0.3.0
Oracle OLAP API 10.2.0.3.0
Oracle OLAP API Patch 10.2.0.4.0
Oracle OLAP Patch 10.2.0.4.0
Oracle OLAP RDBMS Files 10.2.0.3.0
Oracle OLAP RDBMS Files Patch 10.2.0.4.0
Oracle One-Off Patch Installer 10.2.0.4.2
Oracle Partitioning 10.2.0.3.0
Oracle Partitioning Patch 10.2.0.4.0
Oracle Programmer 10.2.0.3.0
Oracle RAC Required Support Files-HAS 10.2.0.3.0
Oracle RAC Required Support Files-HAS Patch 10.2.0.4.0
Oracle Real Application Testing 10.2.0.4.0
Oracle Recovery Manager 10.2.0.3.0
Oracle Recovery Manager Patch 10.2.0.4.0
Oracle Required Support Files 32 bit 10.2.0.0.0
Oracle Required Support Files 32 bit Patch 10.2.0.4.0
Oracle Spatial 10.2.0.3.0
Oracle Starter Database 10.2.0.3.0
Oracle Starter Database Patch 10.2.0.4.0
Oracle Text 10.2.0.3.0
Oracle Text Patch 10.2.0.4.0
Oracle UIX 2.1.22.0.0
Oracle Universal Installer 10.2.0.5.0
Oracle Wallet Manager 10.2.0.3.0
Oracle Wallet Manager Patch 10.2.0.4.0
Oracle XML Development Kit 10.2.0.3.0
Oracle XML Development Kit Patch 10.2.0.4.0
Parser Generator Required Support Files 10.2.0.3.0
Perl Interpreter 5.8.3.0.6
PL/SQL 10.2.0.3.0
PL/SQL 10.2.0.4.0
PL/SQL Embedded Gateway 10.2.0.3.0
PL/SQL Embedded Gateway Patch 10.2.0.4.0
Platform Required Support Files 10.2.0.3.0
Platform Required Support Files 10.2.0.4.0
Precompiler Common Files 10.2.0.3.0
Precompiler Common Files Patch 10.2.0.4.0
Precompiler Required Support Files 10.2.0.3.0
Precompiler Required Support Files Patch 10.2.0.4.0
RDBMS Required Support Files 10.2.0.3.0
RDBMS Required Support Files for Instant Client 10.2.0.3.0
RDBMS Required Support Files for Instant Client Patch 10.2.0.4.0
RDBMS Required Support Files Patch 10.2.0.4.0
regexp 2.1.9.0.0
Required Support Files 10.2.0.3.0
Secure Socket Layer 10.2.0.3.0
Secure Socket Layer Patch 10.2.0.4.0
SQL*Plus 10.2.0.3.0
SQL*Plus 10.2.0.4.0
SQL*Plus Required Support Files 10.2.0.3.0
SQL*Plus Required Support Files Patch 10.2.0.4.0
SQLJ Runtime 10.2.0.3.0
SQLJ Runtime Patch 10.2.0.4.0
SSL Required Support Files for InstantClient 10.2.0.3.0
SSL Required Support Files for InstantClient Patch 10.2.0.4.0
Sun JDK 1.4.2.0.8a
Sun JDK extensions 10.1.2.0.0
XDK Required Support Files 10.2.0.3.0
XDK Required Support Files Patch 10.2.0.4.0
XML Parser for Java 10.2.0.3.0
XML Parser for Java Patch 10.2.0.4.0
XML Parser for Oracle JVM 10.2.0.3.0
XML Parser for Oracle JVM Patch 10.2.0.4.0
There are 196 products installed in this Oracle Home.
Interim patches (6) :
Patch 8648568 : applied on Fri Dec 09 16:04:10 BDT 2011
Unique Patch ID: 11585139
Created on 24 Jul 2009, 01:44:15 hrs PST8PDT
Bugs fixed:
6964283, 6940487, 6805009, 5679561, 4740049, 6996030, 6954407, 6023472
4085593, 7581770, 6340297, 7685199, 6726958, 8648568
Files Touched:
/aud.o --> ORACLE_HOME/lib/libserver10.a
/kza.o --> ORACLE_HOME/lib/libserver10.a
/kzft.o --> ORACLE_HOME/lib/libserver10.a
/kzax.o --> ORACLE_HOME/lib/libserver10.a
/kzam.o --> ORACLE_HOME/lib/libserver10.a
/szaud.o --> ORACLE_HOME/lib/libserver10.a
/zlle.o --> ORACLE_HOME/lib/libserver10.a
/psdsys.o --> ORACLE_HOME/lib/libserver10.a
/kspare.o --> ORACLE_HOME/lib/libserver10.a
catlbacs.sql --> ORACLE_HOME/rdbms/admin/catlbacs.sql
catnools.sql --> ORACLE_HOME/rdbms/admin/catnools.sql
dbmsamgt.sql --> ORACLE_HOME/rdbms/admin/dbmsamgt.sql
catamgt.sql --> ORACLE_HOME/rdbms/admin/catamgt.sql
prvtamgt.plb --> ORACLE_HOME/rdbms/admin/prvtamgt.plb
ins_rdbms.mk --> ORACLE_HOME/rdbms/lib/ioracle
Patch Location in Inventory:
/u01/oracle/product/10.2.3/av_1/inventory/oneoffs/8648568
Patch Location in Storage area:
/u01/oracle/product/10.2.3/av_1/.patch_storage/8648568_Jul_24_2009_01_44_15
Patch 8567353 : applied on Fri Dec 09 16:03:45 BDT 2011
Unique Patch ID: 11523582
Created on 9 Jul 2009, 00:14:42 hrs PST8PDT
Bugs fixed:
7510032, 6936368, 8567353
Files Touched:
/kdbl.o --> ORACLE_HOME/lib/libserver10.a
/kdblc.o --> ORACLE_HOME/lib/libserver10.a
ins_rdbms.mk --> ORACLE_HOME/rdbms/lib/ioracle
Patch Location in Inventory:
/u01/oracle/product/10.2.3/av_1/inventory/oneoffs/8567353
Patch Location in Storage area:
/u01/oracle/product/10.2.3/av_1/.patch_storage/8567353_Jul_9_2009_00_14_42
Patch 8562769 : applied on Fri Dec 09 16:03:26 BDT 2011
Unique Patch ID: 11382699
Created on 4 Jun 2009, 01:42:38 hrs PST8PDT
Bugs fixed:
4447712, 8562769, 7022700
Files Touched:
/kkfd.o --> ORACLE_HOME/lib/libserver10.a
/qksht.o --> ORACLE_HOME/lib/libserver10.a
/prssz.o --> ORACLE_HOME/lib/libserver10.a
ins_rdbms.mk --> ORACLE_HOME/rdbms/lib/ioracle
Patch Location in Inventory:
/u01/oracle/product/10.2.3/av_1/inventory/oneoffs/8562769
Patch Location in Storage area:
/u01/oracle/product/10.2.3/av_1/.patch_storage/8562769_Jun_4_2009_01_42_38
Patch 7564548 : applied on Fri Dec 09 16:03:09 BDT 2011
Created on 2 Nov 2009, 16:14:32 hrs PST8PDT
Bugs fixed:
7564548
Files Touched:
wwv_flow_worksheet.plb --> ORACLE_HOME/apex/core/wwv_flow_worksheet.plb
Patch Location in Inventory:
/u01/oracle/product/10.2.3/av_1/inventory/oneoffs/7564548
Patch Location in Storage area:
/u01/oracle/product/10.2.3/av_1/.patch_storage/7564548_Nov_2_2009_16_14_32
Patch 7524768 : applied on Fri Dec 09 16:02:55 BDT 2011
Created on 21 Jan 2009, 22:14:01 hrs US/Pacific
Bugs fixed:
7524768
Files Touched:
/kzvdve.o --> ORACLE_HOME/lib/libserver10.a
ins_rdbms.mk --> ORACLE_HOME/rdbms/lib/ioracle
Patch Location in Inventory:
/u01/oracle/product/10.2.3/av_1/inventory/oneoffs/7524768
Patch Location in Storage area:
/u01/oracle/product/10.2.3/av_1/.patch_storage/7524768_Jan_21_2009_22_14_01
Patch 6720712 : applied on Fri Dec 09 16:02:35 BDT 2011
Created on 9 Jan 2009, 17:22:18 hrs PST8PDT
Bugs fixed:
6720712
Files Touched:
/kkpo.o --> ORACLE_HOME/lib/libserver10.a
ins_rdbms.mk --> ORACLE_HOME/rdbms/lib/ioracle
Patch Location in Inventory:
/u01/oracle/product/10.2.3/av_1/inventory/oneoffs/6720712
Patch Location in Storage area:
/u01/oracle/product/10.2.3/av_1/.patch_storage/6720712_Jan_9_2009_17_22_18
--------------------------------------------------------------------------------
OPatch succeeded.
You can also check same command in order to check version and patch list for any Oracle software environment. For example in my RAC database,[oracle@DC-DB-01 OPatch]$ ./opatch lsinventory Invoking OPatch 11.1.0.6.6 Oracle Interim Patch Installer version 11.1.0.6.6 Copyright (c) 2009, Oracle Corporation. All rights reserved. Oracle Home : /u01/app/oracle/product/11.2.0/dbhome_1 Central Inventory : /u01/app/oraInventory from : /etc/oraInst.loc OPatch version : 11.1.0.6.6 OUI version : 11.2.0.1.0 OUI location : /u01/app/oracle/product/11.2.0/dbhome_1/oui Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2011-12-13_14-14-16PM.log Patch history file: /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch_history.txt Lsinventory Output file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2011-12-13_14-14-16PM.txt -------------------------------------------------------------------------------- Installed Top-level Products (1): Oracle Database 11g 11.2.0.1.0 There are 1 products installed in this Oracle Home. There are no Interim patches installed in this Oracle Home. Rac system comprising of multiple nodes Local node = dc-db-01 Remote node = dc-db-02 -------------------------------------------------------------------------------- OPatch succeeded.
You can also issue avctl show_av_status command from audit vault server like below.
[oracle@av-mrp ~]$ avctl show_av_status TZ set to Asia/DaccaOracle Audit Vault 10g Database Control Release 10.2.3.2.0 Copyright (c) 2006, 2009 Oracle Corporation. All rights reserved. http://av-mrp:5700/av Oracle Audit Vault 10g is running. ------------------------------------ Logs are generated in directory /u01/oracle/product/10.2.3/av_1/av/log