Oracle OPatch工具-小記

rongshiyuan發表於2012-10-23
Oracle OPatch工具
oracle@linux-u72z:~/product/10.2.0/db_1/OPatch> pwd
/opt/oracle/product/10.2.0/db_1/OPatch
# version
oracle@linux-u72z:~/product/10.2.0/db_1/OPatch> ./opatch version
Invoking OPatch 10.2.0.5.1
OPatch Version: 10.2.0.5.1
#opatch lsinvertory
oracle@linux-u72z:~/product/10.2.0/db_1/OPatch> ./opatch lsinvertory
Invoking OPatch 10.2.0.5.1
Oracle Interim Patch Installer version 10.2.0.5.1
Copyright (c) 2010, Oracle Corporation.  All rights reserved.
Syntax Error... Unrecognized Command or Option (lsinvertory): 1st argument must be one of the following:
      apply
      napply
      rollback
      nrollback
      lsinventory
      lsinv
      query
      util
      prereq
      version
      -help
      -h
Please use the option 'opatch  -help' to get correct syntax
OPatch failed with error code 14
# opatch lsinventory -detail
oracle@linux-u72z:~/product/10.2.0/db_1/OPatch> $ORACLE_HOME/OPatch/opatch lsinventory -detail
Invoking OPatch 10.2.0.5.1
Oracle Interim Patch Installer version 10.2.0.5.1
Copyright (c) 2010, Oracle Corporation.  All rights reserved.

Oracle Home       : /opt/oracle/product/10.2.0/db_1
Central Inventory : /opt/oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 10.2.0.5.1
OUI version       : 10.2.0.5.0
OUI location      : /opt/oracle/product/10.2.0/db_1/oui
Log file location : /opt/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2012-10-21_13-11-32PM.log
Patch history file: /opt/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt
Lsinventory Output file location : /opt/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2012-10-21_13-11-32PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (2):
Oracle Database 10g                                                  10.2.0.1.0
Oracle Database 10g Release 2 Patch Set 4                           10.2.0.5.0a
There are 2 products installed in this Oracle Home.

Installed Products (193):
Agent Required Support Files                                         10.2.0.1.0
Agent Required Support Files Patch                                   10.2.0.5.0
Assistant Common Files                                               10.2.0.1.0
Assistant Common Files Patch                                         10.2.0.5.0
Bali Share                                                           1.1.18.0.0
Bali Share                                                           1.1.19.0.0
Buildtools Common Files                                              10.2.0.1.0
Buildtools Common Files                                              10.2.0.5.0
Character Set Migration Utility                                      10.2.0.1.0
Character Set Migration Utility Patch                                10.2.0.5.0
Database Configuration and Upgrade Assistants                        10.2.0.1.0
Database Configuration and Upgrade Assistants Patch                  10.2.0.5.0
Database SQL Scripts                                                 10.2.0.1.0
Database SQL Scripts Patch                                           10.2.0.5.0
Database Workspace Manager                                           10.2.0.1.0
Database Workspace Manager                                           10.2.0.5.0
DBJAVA Required Support Files                                        10.2.0.1.0
DBJAVA Required Support Files Patch                                  10.2.0.5.0
Enterprise Edition Options                                           10.2.0.1.0
Enterprise Manager Agent Core                                        10.2.0.1.0
Enterprise Manager Agent Core Patch                                 10.2.0.5.0a
Enterprise Manager Agent DB                                          10.2.0.1.0
Enterprise Manager Agent DB                                          10.2.0.5.0
Enterprise Manager Baseline                                          10.2.0.1.0
Enterprise Manager Baseline                                          10.2.0.5.0
Enterprise Manager Common Core Patch                                10.2.0.5.0a
Enterprise Manager Common Files                                      10.2.0.1.0
Enterprise Manager Minimal Integration                               10.2.0.1.0
Enterprise Manager Minimal Integration                               10.2.0.5.0
Enterprise Manager plugin Common Files                               10.2.0.1.0
Enterprise Manager plugin Common Files                               10.2.0.1.0
Enterprise Manager plugin Common Files Patch                         10.2.0.5.0
Enterprise Manager Repository Core                                   10.2.0.1.0
Enterprise Manager Repository Core patch                            10.2.0.5.0a
Enterprise Manager Repository DB                                     10.2.0.1.0
Enterprise Manager Repository DB                                     10.2.0.5.0
Generic Connectivity Common Files                                    10.2.0.1.0
Generic Connectivity Common Files Patch                              10.2.0.5.0
HAS Common Files                                                     10.2.0.1.0
HAS Common Files Patch                                               10.2.0.5.0
HAS Files for DB                                                     10.2.0.1.0
HAS Files for DB Patch                                               10.2.0.5.0
Installation Common Files                                            10.2.0.1.0
Installation Common Files Patch                                      10.2.0.5.0
Installer SDK Component                                              10.2.0.5.0
iSQL*Plus                                                            10.2.0.1.0
iSQL*Plus                                                            10.2.0.5.0
Java Runtime Environment                                             1.4.2.14.0
JDBC Common Files                                                    10.2.0.1.0
JDBC Common Files                                                    10.2.0.5.0
LDAP Required Support Files                                          10.2.0.1.0
LDAP Required Support Files Patch                                    10.2.0.5.0
OLAP SQL Scripts                                                     10.2.0.1.0
OLAP SQL Scripts Patch                                               10.2.0.5.0
Oracle Advanced Security                                             10.2.0.1.0
Oracle Advanced Security Patch                                       10.2.0.5.0
Oracle Call Interface (OCI)                                          10.2.0.1.0
Oracle Call Interface (OCI) Patch                                    10.2.0.5.0
Oracle Clusterware RDBMS Files                                       10.2.0.1.0
Oracle Clusterware RDBMS Files Patch                                 10.2.0.5.0
Oracle Code Editor                                                   1.2.1.0.0I
Oracle Configuration Manager                                         10.3.2.1.0
Oracle Containers for Java                                           10.2.0.1.0
Oracle Containers for Java                                           10.2.0.5.0
Oracle Core Required Support Files                                   10.2.0.1.0
Oracle Core Required Support Files Patch                             10.2.0.5.0
Oracle Data Mining RDBMS Files                                       10.2.0.1.0
Oracle Data Mining RDBMS Files Patch                                 10.2.0.5.0
Oracle Database 10g                                                  10.2.0.1.0
Oracle Database 10g                                                  10.2.0.1.0
Oracle Database 10g interMedia Files                                 10.2.0.1.0
Oracle Database 10g interMedia Files Patch                           10.2.0.5.0
Oracle Database 10g Patch                                            10.2.0.5.0
Oracle Database 10g Patch                                            10.2.0.5.0
Oracle Database 10g Release 2 Patch Set 4                           10.2.0.5.0a
Oracle Database User Interface                                       2.2.13.0.0
Oracle Database Utilities                                            10.2.0.1.0
Oracle Database Utilities Patch                                      10.2.0.5.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.5.0
Oracle Extended Windowing Toolkit                                    3.4.38.0.0
Oracle Globalization Support                                         10.2.0.1.0
Oracle Globalization Support Patch                                   10.2.0.5.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.1.0
Oracle interMedia Annotator                                          10.2.0.1.0
Oracle interMedia Annotator                                          10.2.0.5.0
Oracle interMedia Client Option                                      10.2.0.1.0
Oracle interMedia Client Option Patch                                10.2.0.5.0
Oracle interMedia Java Advanced Imaging                              10.2.0.1.0
Oracle interMedia Java Advanced Imaging Patch                        10.2.0.5.0
Oracle interMedia Locator                                            10.2.0.1.0
Oracle interMedia Locator Patch                                      10.2.0.5.0
Oracle interMedia Locator RDBMS Files                                10.2.0.1.0
Oracle interMedia Locator RDBMS Files Patch                          10.2.0.5.0
Oracle interMedia Patch                                              10.2.0.5.0
Oracle Internet Directory Client                                     10.2.0.1.0
Oracle Internet Directory Client Patch                               10.2.0.5.0
Oracle Java Client                                                   10.2.0.1.0
Oracle Java Client Patch                                             10.2.0.5.0
Oracle JDBC Thin Driver for JDK 1.2                                  10.2.0.1.0
Oracle JDBC Thin Driver for JDK 1.2 Patch                            10.2.0.5.0
Oracle JDBC Thin Driver for JDK 1.4                                  10.2.0.1.0
Oracle JDBC Thin Driver for JDK 1.4 Patch                            10.2.0.5.0
Oracle JDBC/OCI Instant Client                                       10.2.0.1.0
Oracle JDBC/OCI Instant Client Patch                                 10.2.0.5.0
Oracle JFC Extended Windowing Toolkit                                4.2.33.0.0
Oracle JVM                                                           10.2.0.1.0
Oracle JVM Patch                                                     10.2.0.5.0
Oracle LDAP administration                                           10.2.0.1.0
Oracle LDAP administration patch                                     10.2.0.5.0
Oracle Locale Builder                                                10.2.0.1.0
Oracle Message Gateway Common Files                                  10.2.0.1.0
Oracle Message Gateway Common Files Patch                            10.2.0.5.0
Oracle Net                                                           10.2.0.1.0
Oracle Net Listener                                                  10.2.0.1.0
Oracle Net Listener Patch                                            10.2.0.5.0
Oracle Net Patch                                                     10.2.0.5.0
Oracle Net Required Support Files                                    10.2.0.1.0
Oracle Net Required Support Files Patch                              10.2.0.5.0
Oracle Net Services                                                  10.2.0.1.0
Oracle Notification Service                                          10.1.0.3.0
Oracle Notification Service Patch                                    10.2.0.5.0
Oracle ODBC Driver                                                   10.2.0.1.0
Oracle ODBC Driver Patch                                             10.2.0.5.0
Oracle OLAP                                                          10.2.0.1.0
Oracle OLAP API                                                      10.2.0.1.0
Oracle OLAP API Patch                                                10.2.0.5.0
Oracle OLAP Patch                                                    10.2.0.5.0
Oracle OLAP RDBMS Files                                              10.2.0.1.0
Oracle OLAP RDBMS Files Patch                                        10.2.0.5.0
Oracle One-Off Patch Installer                                       10.2.0.4.2
Oracle Partitioning                                                  10.2.0.1.0
Oracle Programmer                                                    10.2.0.1.0
Oracle RAC Required Support Files-HAS                                10.2.0.1.0
Oracle RAC Required Support Files-HAS Patch                          10.2.0.5.0
Oracle Real Application Testing                                      10.2.0.5.0
Oracle Recovery Manager                                              10.2.0.1.0
Oracle Recovery Manager Patch                                        10.2.0.5.0
Oracle Spatial                                                       10.2.0.1.0
Oracle Starter Database                                              10.2.0.1.0
Oracle Starter Database Patch                                        10.2.0.5.0
Oracle Text                                                          10.2.0.1.0
Oracle Text Patch                                                    10.2.0.5.0
Oracle UIX                                                           2.1.22.0.0
Oracle UIX                                                           2.2.24.6.0
Oracle Universal Installer                                           10.2.0.5.0
Oracle Wallet Manager                                                10.2.0.1.0
Oracle Wallet Manager Patch                                          10.2.0.5.0
Oracle XML Development Kit                                           10.2.0.1.0
Oracle XML Development Kit Patch                                     10.2.0.5.0
Parser Generator Required Support Files                              10.2.0.1.0
Parser Generator Required Support Files                              10.2.0.5.0
Perl Interpreter                                                      5.8.3.0.2
PL/SQL                                                               10.2.0.1.0
PL/SQL                                                               10.2.0.5.0
PL/SQL Embedded Gateway                                              10.2.0.1.0
PL/SQL Embedded Gateway Patch                                        10.2.0.5.0
Platform. Required Support Files                                      10.2.0.1.0
Platform. Required Support Files                                      10.2.0.5.0
Precompiler Common Files                                             10.2.0.1.0
Precompiler Common Files Patch                                       10.2.0.5.0
Precompiler Required Support Files                                   10.2.0.1.0
Precompiler Required Support Files Patch                             10.2.0.5.0
RDBMS Required Support Files                                         10.2.0.1.0
RDBMS Required Support Files for Instant Client                      10.2.0.1.0
RDBMS Required Support Files for Instant Client Patch                10.2.0.5.0
RDBMS Required Support Files Patch                                   10.2.0.5.0
regexp                                                                2.1.9.0.0
Required Support Files                                               10.2.0.1.0
Sample Schema Data                                                   10.2.0.1.0
Sample Schema Data Patch                                             10.2.0.5.0
Secure Socket Layer                                                  10.2.0.1.0
Secure Socket Layer Patch                                            10.2.0.5.0
SQL*Plus                                                             10.2.0.1.0
SQL*Plus                                                             10.2.0.5.0
SQL*Plus Required Support Files                                      10.2.0.1.0
SQL*Plus Required Support Files Patch                                10.2.0.5.0
SQLJ Runtime                                                         10.2.0.1.0
SQLJ Runtime Patch                                                   10.2.0.5.0
SSL Required Support Files for InstantClient                         10.2.0.1.0
SSL Required Support Files for InstantClient Patch                   10.2.0.5.0
Sun JDK                                                             1.4.2.14.05
Sun JDK extensions                                                   10.1.2.0.0
XDK Required Support Files                                           10.2.0.1.0
XDK Required Support Files Patch                                     10.2.0.5.0
XML Parser for Java                                                  10.2.0.1.0
XML Parser for Java Patch                                            10.2.0.5.0
XML Parser for Oracle JVM                                            10.2.0.1.0
XML Parser for Oracle JVM Patch                                      10.2.0.5.0
There are 193 products installed in this Oracle Home.

There are no Interim patches installed in this Oracle Home.

--------------------------------------------------------------------------------
OPatch succeeded.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-747032/,如需轉載,請註明出處,否則將追究法律責任。

相關文章