使用OPATCH升级10.2.0.5.0到10.2.0.5.2

    技术2022-05-19  32

    # unzip p10248542_10205_AIX64-5L.zip

    # chown -R oracle:oinstall 10248542

    # chmod -R 755 10248542

    # chown oracle:oinstall p6880880_102000_AIX64-5L.zip

    # su - oracle

    $ cd $ORACLE_HOME

    $ export PATH=$PATH:$ORACLE_HOME/OPatch

    $ opatch version

    Invoking OPatch 10.2.0.4.9

    OPatch Version: 10.2.0.4.9

    OPatch succeeded.

    $ mv OPatch OPatch49

    $ cp /oracle/software/p6880880_102000_AIX64-5L.zip $ORACLE_HOME/p6880880_102000_AIX64-5L.zip

    $ unzip p6880880_102000_AIX64-5L.zip

    $ rm p6880880_102000_AIX64-5L.zip

    $ opatch version

    Invoking OPatch 10.2.0.5.1

    OPatch Version: 10.2.0.5.1

    OPatch succeeded.

    $ cd /oracle/software/

    $ opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir ./10248542

    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.

    PREREQ session

    Oracle Home       : /oracle/product/10.2.0/db_1

    Central Inventory : /oracle/oraInventory

       from           : /etc/oraInst.loc

    OPatch version    : 10.2.0.5.1

    OUI version       : 10.2.0.5.0

    OUI location      : /oracle/product/10.2.0/db_1/oui

    Log file location : /oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2011-04-15_13-47-54PM.log

    Patch history file: /oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt

    Invoking prereq "checkconflictagainstohwithdetail"

    Prereq "checkConflictAgainstOHWithDetail" passed.

    OPatch succeeded.

    $ whereis make ar ld nm

    make: /usr/bin/make /usr/ccs/bin/make

    ar: /usr/bin/ar /usr/include/ar.h /usr/ccs/bin/ar

    ld: /usr/bin/ld /usr/ccs/bin/ld

    nm: /usr/bin/nm /usr/usg/nm /usr/ccs/bin/nm

    $ cd 10248542

    $ opatch apply

    $ opatch lsinventory

    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       : /oracle/product/10.2.0/db_1

    Central Inventory : /oracle/oraInventory

       from           : /etc/oraInst.loc

    OPatch version    : 10.2.0.5.1

    OUI version       : 10.2.0.5.0

    OUI location      : /oracle/product/10.2.0/db_1/oui

    Log file location : /oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2011-04-15_13-52-18PM.log

    Patch history file: /oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt

    Lsinventory Output file location : /oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2011-04-15_13-52-18PM.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.0

    There are 2 products installed in this Oracle Home.

    Interim patches (1) :

    Patch  10248542     : applied on Fri Apr 15 13:49:19 GMT+08:00 2011

    Unique Patch ID:  13264885

       Created on 1 Jan 2011, 13:44:32 hrs UTC

       Bugs fixed:

         6402302, 9713537, 8350262, 9949948, 8394351, 10327179, 8546356, 9711859

         9714832, 10235783, 9952230, 10248542, 8544696, 9963497, 9772888, 8664189

         10249537, 7519406, 9952270, 8277300, 9726739

    --------------------------------------------------------------------------------

    OPatch succeeded.


    最新回复(0)