12c单实例数据库打最新12.1.0.2.5 PSU补丁记录

时间:2021-09-20 21:29:33
[root@oel11 ~]# su - oracle
[oracle@oel11 ~]$ env|grep ORA
ORA_NLS10=/s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/nls/data
ORACLE_SID=PROD12
ORACLE_BASE=/s01/oracle12c/app/oracle
ORACLE_HOME=/s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1
[oracle@oel11 ~]$ opatch lsinv
Oracle Interim Patch Installer version 12.1.0.1.6
Copyright (c) 2015, Oracle Corporation.  All rights reserved.




Oracle Home       : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1
Central Inventory : /s01/oracle/app/oraInventory
   from           : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/oraInst.loc
OPatch version    : 12.1.0.1.6
OUI version       : 12.1.0.2.0
Log file location : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/opatch/opatch2015-10-30_10-37-45AM_1.log


Lsinventory Output file location : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2015-10-30_10-37-45AM.txt


--------------------------------------------------------------------------------
Installed Top-level Products (1): 


Oracle Database 12c                                                  12.1.0.2.0
There are 1 products installed in this Oracle Home.




Interim patches (1) :


Patch  20831110     : applied on Tue Jul 21 09:54:03 CST 2015
Unique Patch ID:  18977826
Patch description:  "Database Patch Set Update : 12.1.0.2.4 (20831110)"
   Created on 11 Jul 2015, 00:45:40 hrs PST8PDT

Sub-patch  20299023; "Database Patch Set Update : 12.1.0.2.3 (20299023)"
Sub-patch  19769480; "Database Patch Set Update : 12.1.0.2.2 (19769480)"
   Bugs fixed:
     19189525, 19065556, 19075256, 19723336, 19077215, 19865345, 19280225
     18845653, 19524384, 19248799, 18288842, 19048007, 18988834, 19238590
     18921743, 18952989, 16870214, 19134173, 19928926, 19197175, 19018206
     19180770, 20387265, 19149990, 18849537, 19183343, 19730508, 19703301
     19012119, 19001390, 18202441, 19189317, 19067244, 19644859, 20074391
     19358317, 19390567, 19279273, 19706965, 19068970, 14643995, 19512341
     19841800, 20331945, 19619732, 18607546, 20348653, 18940497, 19670108
     19649152, 19547370, 19065677, 18948177, 21225209, 19637186, 19315691
     19676905, 18964978, 20165574, 19035573, 18967382, 19176326, 20558005
     19174430, 19176223, 19532017, 19054077, 19074147, 18674047, 19536415
     19708632, 19289642, 20425790, 19335438, 20294666, 18856999, 19307662
     19195895, 19468347, 19371175, 19154375, 16359751, 18990693, 19769480
     19439759, 19272708, 19978542, 20402832, 19329654, 19382851, 19520602
     19873610, 19174521, 19658708, 20093776, 19304354, 19052488, 19291380
     18681056, 17835294, 19896336, 19076343, 19791377, 19068610, 19561643
     18618122, 20746251, 20440930, 18456643, 19699191, 18909599, 19487147
     19143550, 18250893, 19016730, 19185876, 20347562, 19627012, 16619249
     18354830, 19577410, 19687159, 19001359, 19174942, 20424899, 19989009
     19518079, 18610915, 18674024, 18306996, 19309466, 19081128, 19915271
     19157754, 19058490, 19399918, 18791688, 20284155, 18885870, 19434529
     19303936, 19018447, 18417036, 19597439, 20235511, 20919320, 19284031
     19022470, 20474192, 18964939, 19430401, 19044962, 19385656, 19501299
     17274537, 20899461, 19409212, 19440586, 20657441, 19606174, 18436647
     19023822, 19124589, 19684504, 19178851, 19024808, 19805359, 19597583
     19155797, 19050649, 19393542, 19028800






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


OPatch succeeded.
[oracle@oel11 ~]$ cd /u01
-bash: cd: /u01: No such file or directory
[oracle@oel11 ~]$ cd /oracle
[oracle@oel11 oracle]$ ls -ltr
total 16
drwxr-x---  2 oracle oinstall 4096 Apr 14  2014 PROD
drwxr-xr-x 16 oracle oinstall 4096 Apr 14  2014 ogg
drwxr-xr-x  2 oracle oinstall 4096 Jan 27  2015 archive
drwxr-xr-x  2 oracle oinstall 4096 Jul 22 14:32 pdb3
[oracle@oel11 oracle]$ mkdir soft
[oracle@oel11 oracle]$ su - oracle
Password: 
[oracle@oel11 ~]$ exit
logout
[oracle@oel11 oracle]$ 
[oracle@oel11 oracle]$ 
[oracle@oel11 oracle]$ 
[oracle@oel11 oracle]$ 
[oracle@oel11 oracle]$ ls -ltr
total 20
drwxr-x---  2 oracle oinstall 4096 Apr 14  2014 PROD
drwxr-xr-x 16 oracle oinstall 4096 Apr 14  2014 ogg
drwxr-xr-x  2 oracle oinstall 4096 Jan 27  2015 archive
drwxr-xr-x  2 oracle oinstall 4096 Jul 22 14:32 pdb3
drwxr-xr-x  2 oracle oinstall 4096 Oct 30 10:39 soft
[oracle@oel11 oracle]$ cd soft/
[oracle@oel11 soft]$ ls -ltr
total 93772
-rw-r--r-- 1 oracle oinstall 95921670 Oct 30 10:39 12.1.0.2.5DB_PSU_p21359755_121020_Linux-x86-64.zip
[oracle@oel11 soft]$ 
[oracle@oel11 soft]$ 
[oracle@oel11 soft]$ unzip 12.1.0.2.5DB_PSU_p21359755_121020_Linux-x86-64.zip 
Archive:  12.1.0.2.5DB_PSU_p21359755_121020_Linux-x86-64.zip
   creating: 21359755/
  inflating: 21359755/README.html    
 extracting: 21359755/README.txt     
   creating: 21359755/21359755/
   creating: 21359755/21359755/files/
   creating: 21359755/21359755/files/sqlpatch/
  inflating: 21359755/21359755/files/sqlpatch/sqlpatch.pm  
   creating: 21359755/21359755/files/sqlpatch/21359755/
   creating: 21359755/21359755/files/sqlpatch/21359755/19194568/
  inflating: 21359755/21359755/files/sqlpatch/21359755/19194568/21359755_rollback.sql  
  inflating: 21359755/21359755/files/sqlpatch/21359755/19194568/21359755_apply.sql  
   creating: 21359755/21359755/files/sqlpatch/21359755/19194568/rollback_files/
   creating: 21359755/21359755/files/sqlpatch/21359755/19194568/rollback_files/rdbms/
   creating: 21359755/21359755/files/sqlpatch/21359755/19194568/rollback_files/rdbms/admin/
  inflating: 21359755/21359755/files/sqlpatch/21359755/19194568/rollback_files/rdbms/admin/utluppkg.sql  
  inflating: 21359755/21359755/files/sqlpatch/21359755/19194568/rollback_files/rdbms/admin/bug18909599.sql  
  inflating: 21359755/21359755/files/sqlpatch/21359755/19194568/rollback_files/rdbms/admin/prvtilm.plb  
  inflating: 21359755/21359755/files/sqlpatch/21359755/19194568/rollback_files/rdbms/admin/bug20876308_rollback.sql  
  inflating: 21359755/21359755/files/sqlpatch/21359755/19194568/rollback_files/rdbms/admin/bug19587324.sql  
  inflating: 21359755/21359755/files/sqlpatch/21359755/19194568/rollback_files/rdbms/admin/prvtpexei.plb  
  inflating: 21359755/21359755/files/sqlpatch/21359755/19194568/rollback_files/rdbms/admin/prvtlmd.plb  
  inflating: 21359755/21359755/files/sqlpatch/21359755/19194568/rollback_files/rdbms/admin/bug19532017_downgrade.sql  
  inflating: 21359755/21359755/files/sqlpatch/21359755/19194568/rollback_files/rdbms/admin/prvtpckl.plb  
   creating: 21359755/21359755/files/assistants/
   creating: 21359755/21359755/files/assistants/dbca/
   creating: 21359755/21359755/files/assistants/dbca/jlib/
   creating: 21359755/21359755/files/assistants/dbca/jlib/dbca.jar/
   creating: 21359755/21359755/files/assistants/dbca/jlib/dbca.jar/oracle/
   creating: 21359755/21359755/files/assistants/dbca/jlib/dbca.jar/oracle/sysman/
   creating: 21359755/21359755/files/assistants/dbca/jlib/dbca.jar/oracle/sysman/assistants/
   creating: 21359755/21359755/files/assistants/dbca/jlib/dbca.jar/oracle/sysman/assistants/dbca/
   creating: 21359755/21359755/files/assistants/dbca/jlib/dbca.jar/oracle/sysman/assistants/dbca/dbcx/
  inflating: 21359755/21359755/files/assistants/dbca/jlib/dbca.jar/oracle/sysman/assistants/dbca/dbcx/XMLHost.class  
   creating: 21359755/21359755/files/lib/
   creating: 21359755/21359755/files/lib/libserver12.a/
  inflating: 21359755/21359755/files/lib/libserver12.a/kxes.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kspt.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/ktsk.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kfdva.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kjfm.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/krbm.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kcrfw.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kdc.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kwqmn.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kdt.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/rpi.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kcb.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/ktsplb.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kzam.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kfd.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/ktsp.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kql.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kcbz.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/knlogc.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kfvx.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kzan.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/krb.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kfns.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/krbc.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/qmixo.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kcl.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kjgcr.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kokt.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/qksbg.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kff.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/ktspsrch.o  
  inflating: 21359755/21359755/files/lib/libserver12.a/kpdba.o  
   creating: 21359755/21359755/files/crs/
   creating: 21359755/21359755/files/crs/install/
  inflating: 21359755/21359755/files/crs/install/tfa_setup  
   creating: 21359755/21359755/files/rdbms/
   creating: 21359755/21359755/files/rdbms/admin/
  inflating: 21359755/21359755/files/rdbms/admin/prvtqopi.plb  
  inflating: 21359755/21359755/files/rdbms/admin/prvtilm.plb  
  inflating: 21359755/21359755/files/rdbms/admin/bug19587324.sql  
  inflating: 21359755/21359755/files/rdbms/admin/bundledata_PSU.xml  
  inflating: 21359755/21359755/files/rdbms/admin/prvtsqlpatch.plb  
  inflating: 21359755/21359755/files/rdbms/admin/prvtpexei.plb  
  inflating: 21359755/21359755/files/rdbms/admin/prvtlmd.plb  
   creating: 21359755/21359755/files/rdbms/lib/
  inflating: 21359755/21359755/files/rdbms/lib/sjsex.o  
   creating: 21359755/21359755/etc/
   creating: 21359755/21359755/etc/config/
  inflating: 21359755/21359755/etc/config/composite.xml  
  inflating: 21359755/21359755/etc/config/actions.xml  
  inflating: 21359755/21359755/etc/config/inventory.xml  
   creating: 21359755/20299023/
   creating: 21359755/20299023/files/
   creating: 21359755/20299023/files/sqlpatch/
  inflating: 21359755/20299023/files/sqlpatch/sqlpatch.pm  
   creating: 21359755/20299023/files/sqlpatch/20299023/
   creating: 21359755/20299023/files/sqlpatch/20299023/18703022/
  inflating: 21359755/20299023/files/sqlpatch/20299023/18703022/20299023_apply.sql  
  inflating: 21359755/20299023/files/sqlpatch/20299023/18703022/20299023_rollback.sql  
   creating: 21359755/20299023/files/sqlpatch/20299023/18703022/rollback_files/
   creating: 21359755/20299023/files/sqlpatch/20299023/18703022/rollback_files/rdbms/
   creating: 21359755/20299023/files/sqlpatch/20299023/18703022/rollback_files/rdbms/admin/
  inflating: 21359755/20299023/files/sqlpatch/20299023/18703022/rollback_files/rdbms/admin/utluppkg.sql  
  inflating: 21359755/20299023/files/sqlpatch/20299023/18703022/rollback_files/rdbms/admin/bug18909599.sql  
  inflating: 21359755/20299023/files/sqlpatch/20299023/18703022/rollback_files/rdbms/admin/bug19532017_downgrade.sql  
  inflating: 21359755/20299023/files/sqlpatch/20299023/18703022/rollback_files/rdbms/admin/prvtpckl.plb  
  inflating: 21359755/20299023/files/sqlpatch/sqlpatch.pl  
  inflating: 21359755/20299023/files/sqlpatch/sqlpatch_bootstrap.sql  
   creating: 21359755/20299023/files/lib/
  inflating: 21359755/20299023/files/lib/asmcmdsys.pm  
   creating: 21359755/20299023/files/lib/libgeneric12.a/
  inflating: 21359755/20299023/files/lib/libgeneric12.a/dbgtfm.o  
  inflating: 21359755/20299023/files/lib/libgeneric12.a/dbgtfd.o  
  inflating: 21359755/20299023/files/lib/libgeneric12.a/dbgtc.o  
  inflating: 21359755/20299023/files/lib/libgeneric12.a/dbgrup.o  
  inflating: 21359755/20299023/files/lib/libgeneric12.a/qmx0.o  
  inflating: 21359755/20299023/files/lib/libgeneric12.a/dbgrupt.o  
  inflating: 21359755/20299023/files/lib/libgeneric12.a/qcs.o  
   creating: 21359755/20299023/files/lib/libasmclntsh12.a/
  inflating: 21359755/20299023/files/lib/libasmclntsh12.a/kgfm.o  
  inflating: 21359755/20299023/files/lib/libnnz12.so  
  inflating: 21359755/20299023/files/lib/libnnzst12.a  
   creating: 21359755/20299023/files/lib/libserver12.a/
  inflating: 21359755/20299023/files/lib/libserver12.a/kdblc.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kxft.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/jskr.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kf.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/rfrdb.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kxfx.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kpdbutl.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kfdp.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kxfp.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kzrt.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kdu.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kpdbe.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/rfmrole.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kkae.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kks1.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kdt.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kxs.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kxfpt.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kfd.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kfg.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kxfr.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/opiosq.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/knanr.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/qsmqutl.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/opiexe.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/dbsmig.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kql.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kpdb.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kcbz.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kkdl.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kwra.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kpbf.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/qkadrv.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kpdbc.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kkm2.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/qerpx.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/qerwn.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kdbl.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kpdbxmlt.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kkp.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kzft.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/qkswc.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kkfd.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kpdbf.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kpdbicd.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/knl.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/qksop.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kcv.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/qkexr.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/ktur.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kqlb.o  
  inflating: 21359755/20299023/files/lib/libserver12.a/kpdba.o  
   creating: 21359755/20299023/files/lib/libasmclnt12.a/
  inflating: 21359755/20299023/files/lib/libasmclnt12.a/kgfm.o  
  inflating: 21359755/20299023/files/lib/libnnz12.a  
   creating: 21359755/20299023/files/crs/
   creating: 21359755/20299023/files/crs/install/
  inflating: 21359755/20299023/files/crs/install/tfa_setup  
   creating: 21359755/20299023/files/bin/
  inflating: 21359755/20299023/files/bin/diskmon  
   creating: 21359755/20299023/files/rdbms/
   creating: 21359755/20299023/files/rdbms/admin/
  inflating: 21359755/20299023/files/rdbms/admin/prvtqopi.plb  
  inflating: 21359755/20299023/files/rdbms/admin/utluppkg.sql  
  inflating: 21359755/20299023/files/rdbms/admin/c1201000.sql  
  inflating: 21359755/20299023/files/rdbms/admin/e1201000.sql  
  inflating: 21359755/20299023/files/rdbms/admin/catadvtb.sql  
  inflating: 21359755/20299023/files/rdbms/admin/prvtdrep.plb  
  inflating: 21359755/20299023/files/rdbms/admin/catsqlreg.sql  
  inflating: 21359755/20299023/files/rdbms/admin/bug18909599.sql  
  inflating: 21359755/20299023/files/rdbms/admin/catupstr.sql  
  inflating: 21359755/20299023/files/rdbms/admin/bundledata_PSU.xml  
  inflating: 21359755/20299023/files/rdbms/admin/prvtsqlpatch.plb  
  inflating: 21359755/20299023/files/rdbms/admin/dbmssqlpatch.sql  
  inflating: 21359755/20299023/files/rdbms/admin/catmetx.sql  
  inflating: 21359755/20299023/files/rdbms/admin/bug19532017_downgrade.sql  
  inflating: 21359755/20299023/files/rdbms/admin/catdpb.sql  
  inflating: 21359755/20299023/files/rdbms/admin/prvtbsat.plb  
  inflating: 21359755/20299023/files/rdbms/admin/bug19532017_upgrade.sql  
   creating: 21359755/20299023/etc/
   creating: 21359755/20299023/etc/config/
  inflating: 21359755/20299023/etc/config/actions.xml  
  inflating: 21359755/20299023/etc/config/inventory.xml  
   creating: 21359755/19769480/
   creating: 21359755/19769480/files/
   creating: 21359755/19769480/files/sqlpatch/
  inflating: 21359755/19769480/files/sqlpatch/sqlpatch  
  inflating: 21359755/19769480/files/sqlpatch/sqlpatch.pm  
  inflating: 21359755/19769480/files/sqlpatch/sqlpatch.pl  
   creating: 21359755/19769480/files/sqlpatch/19769480/
   creating: 21359755/19769480/files/sqlpatch/19769480/18350083/
   creating: 21359755/19769480/files/sqlpatch/19769480/18350083/rollback_files/
   creating: 21359755/19769480/files/sqlpatch/19769480/18350083/rollback_files/rdbms/
   creating: 21359755/19769480/files/sqlpatch/19769480/18350083/rollback_files/rdbms/admin/
  inflating: 21359755/19769480/files/sqlpatch/19769480/18350083/rollback_files/rdbms/admin/utluppkg.sql  
  inflating: 21359755/19769480/files/sqlpatch/19769480/18350083/rollback_files/rdbms/admin/bug19532017_downgrade.sql  
  inflating: 21359755/19769480/files/sqlpatch/19769480/18350083/rollback_files/rdbms/admin/prvtpckl.plb  
  inflating: 21359755/19769480/files/sqlpatch/19769480/18350083/19769480_apply.sql  
  inflating: 21359755/19769480/files/sqlpatch/19769480/18350083/19769480_rollback.sql  
  inflating: 21359755/19769480/files/sqlpatch/sqlpatch_bootstrap.sql  
   creating: 21359755/19769480/files/suptools/
 extracting: 21359755/19769480/files/suptools/orachk.zip  
   creating: 21359755/19769480/files/lib/
  inflating: 21359755/19769480/files/lib/libccme_ecc.so  
   creating: 21359755/19769480/files/lib/liboraolap12.a/
  inflating: 21359755/19769480/files/lib/liboraolap12.a/xsfisop.o  
  inflating: 21359755/19769480/files/lib/liboraolap12.a/xsiosec.o  
  inflating: 21359755/19769480/files/lib/libcryptocme.sig  
  inflating: 21359755/19769480/files/lib/libzt12.a  
   creating: 21359755/19769480/files/lib/libxml12.a/
  inflating: 21359755/19769480/files/lib/libxml12.a/lpxfsmbuf.o  
  inflating: 21359755/19769480/files/lib/libccme_ecc_accel_fips.so  
  inflating: 21359755/19769480/files/lib/libcryptocme.so  
   creating: 21359755/19769480/files/lib/libgeneric12.a/
  inflating: 21359755/19769480/files/lib/libgeneric12.a/qcdl.o  
  inflating: 21359755/19769480/files/lib/libgeneric12.a/kgl.o  
  inflating: 21359755/19769480/files/lib/libgeneric12.a/kgl2.o  
  inflating: 21359755/19769480/files/lib/libgeneric12.a/qcs2.o  
  inflating: 21359755/19769480/files/lib/libgeneric12.a/qcsvctx.o  
  inflating: 21359755/19769480/files/lib/libgeneric12.a/qcs.o  
  inflating: 21359755/19769480/files/lib/libgeneric12.a/qmxsax.o  
  inflating: 21359755/19769480/files/lib/libgeneric12.a/kgsc.o  
  inflating: 21359755/19769480/files/lib/libgeneric12.a/qci.o  
   creating: 21359755/19769480/files/lib/libasmclntsh12.a/
  inflating: 21359755/19769480/files/lib/libasmclntsh12.a/kgfz.o  
  inflating: 21359755/19769480/files/lib/libasmclntsh12.a/kfmu.o  
  inflating: 21359755/19769480/files/lib/libnnz12.so  
  inflating: 21359755/19769480/files/lib/libccme_asym.so  
  inflating: 21359755/19769480/files/lib/libnnzst12.a  
   creating: 21359755/19769480/files/lib/libserver12.a/
  inflating: 21359755/19769480/files/lib/libserver12.a/kfn.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kzup.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kpolon.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kpdbs.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kpodp.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/qmxstr.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kpdbcv.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kzp.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kkm.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kjxgm.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kspt.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/rfmon.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kfnm.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kpdbutl.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/krvt.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/updexe.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kfdp.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kdlxdup.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kfiof.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kfds.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kpdbe.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kfgb.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kcffo.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kfpkg.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kcb.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kfsp.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/dbkifw.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kfd.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kfg.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kjfc.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/krvg.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kql.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kpdb.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kcbw.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kcbz.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kcbb.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kdd.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/qcis.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kfrc.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kpdbc.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kzu.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kpdbd.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kzr.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kfns.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/ksfd.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kpdbf.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kcl.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kpdbicd.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kzsr.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/gra.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kfnp.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kffm.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kcv.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kcvfdb.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kerutl.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/ksp.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kff.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/krsd.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/ksu.o  
  inflating: 21359755/19769480/files/lib/libserver12.a/kpdba.o  
  inflating: 21359755/19769480/files/lib/libccme_base.so  
   creating: 21359755/19769480/files/lib/libasmclnt12.a/
  inflating: 21359755/19769480/files/lib/libasmclnt12.a/kgfz.o  
  inflating: 21359755/19769480/files/lib/libasmclnt12.a/kfmu.o  
  inflating: 21359755/19769480/files/lib/libnnz12.a  
   creating: 21359755/19769480/files/crs/
   creating: 21359755/19769480/files/crs/install/
  inflating: 21359755/19769480/files/crs/install/tfa_setup  
   creating: 21359755/19769480/files/bin/
  inflating: 21359755/19769480/files/bin/xmlcg  
  inflating: 21359755/19769480/files/bin/xvm  
  inflating: 21359755/19769480/files/bin/xsl  
  inflating: 21359755/19769480/files/bin/xmldiff  
  inflating: 21359755/19769480/files/bin/xmlpatch  
  inflating: 21359755/19769480/files/bin/xml  
   creating: 21359755/19769480/files/rdbms/
   creating: 21359755/19769480/files/rdbms/admin/
  inflating: 21359755/19769480/files/rdbms/admin/prvtqopi.plb  
  inflating: 21359755/19769480/files/rdbms/admin/utluppkg.sql  
  inflating: 21359755/19769480/files/rdbms/admin/dbmsqopi.sql  
  inflating: 21359755/19769480/files/rdbms/admin/catbundle.sql  
  inflating: 21359755/19769480/files/rdbms/admin/catctl.pl  
  inflating: 21359755/19769480/files/rdbms/admin/noncdb_to_pdb.sql  
  inflating: 21359755/19769480/files/rdbms/admin/catupstr.sql  
  inflating: 21359755/19769480/files/rdbms/admin/bundledata_PSU.xml  
  inflating: 21359755/19769480/files/rdbms/admin/prvtsqlpatch.plb  
  inflating: 21359755/19769480/files/rdbms/admin/dbmssqlpatch.sql  
  inflating: 21359755/19769480/files/rdbms/admin/catmmig.sql  
  inflating: 21359755/19769480/files/rdbms/admin/utlusts.sql  
  inflating: 21359755/19769480/files/rdbms/admin/bug19532017_downgrade.sql  
  inflating: 21359755/19769480/files/rdbms/admin/catlmnr.sql  
  inflating: 21359755/19769480/files/rdbms/admin/prvtpckl.plb  
  inflating: 21359755/19769480/files/rdbms/admin/bug19532017_upgrade.sql  
   creating: 21359755/19769480/files/rdbms/mesg/
  inflating: 21359755/19769480/files/rdbms/mesg/oraus.msg  
  inflating: 21359755/19769480/files/rdbms/mesg/diaus.msg  
  inflating: 21359755/19769480/files/rdbms/mesg/diaus.msb  
  inflating: 21359755/19769480/files/rdbms/mesg/oraus.msb  
   creating: 21359755/19769480/etc/
   creating: 21359755/19769480/etc/config/
  inflating: 21359755/19769480/etc/config/actions.xml  
  inflating: 21359755/19769480/etc/config/inventory.xml  
   creating: 21359755/20831110/
   creating: 21359755/20831110/files/
   creating: 21359755/20831110/files/sqlpatch/
   creating: 21359755/20831110/files/sqlpatch/20831110/
   creating: 21359755/20831110/files/sqlpatch/20831110/18977826/
  inflating: 21359755/20831110/files/sqlpatch/20831110/18977826/20831110_rollback.sql  
  inflating: 21359755/20831110/files/sqlpatch/20831110/18977826/20831110_apply.sql  
   creating: 21359755/20831110/files/sqlpatch/20831110/18977826/rollback_files/
   creating: 21359755/20831110/files/sqlpatch/20831110/18977826/rollback_files/rdbms/
   creating: 21359755/20831110/files/sqlpatch/20831110/18977826/rollback_files/rdbms/admin/
  inflating: 21359755/20831110/files/sqlpatch/20831110/18977826/rollback_files/rdbms/admin/utluppkg.sql  
  inflating: 21359755/20831110/files/sqlpatch/20831110/18977826/rollback_files/rdbms/admin/bug18909599.sql  
  inflating: 21359755/20831110/files/sqlpatch/20831110/18977826/rollback_files/rdbms/admin/bug20876308_rollback.sql  
  inflating: 21359755/20831110/files/sqlpatch/20831110/18977826/rollback_files/rdbms/admin/bug19532017_downgrade.sql  
  inflating: 21359755/20831110/files/sqlpatch/20831110/18977826/rollback_files/rdbms/admin/prvtpckl.plb  
   creating: 21359755/20831110/files/lib/
  inflating: 21359755/20831110/files/lib/libccme_ecc_accel_non_fips.so  
  inflating: 21359755/20831110/files/lib/libccme_ecc_non_fips.so  
  inflating: 21359755/20831110/files/lib/asmcmdug.pm  
  inflating: 21359755/20831110/files/lib/libccme_base_non_fips.so  
  inflating: 21359755/20831110/files/lib/asmcmdshare.pm  
   creating: 21359755/20831110/files/lib/libserver12.a/
  inflating: 21359755/20831110/files/lib/libserver12.a/kzaf.o  
  inflating: 21359755/20831110/files/lib/libserver12.a/rfrdb.o  
  inflating: 21359755/20831110/files/lib/libserver12.a/koklv.o  
  inflating: 21359755/20831110/files/lib/libserver12.a/kcbk.o  
  inflating: 21359755/20831110/files/lib/libserver12.a/ktslj.o  
  inflating: 21359755/20831110/files/lib/libserver12.a/kks1.o  
  inflating: 21359755/20831110/files/lib/libserver12.a/kxs.o  
  inflating: 21359755/20831110/files/lib/libserver12.a/ksk.o  
  inflating: 21359755/20831110/files/lib/libserver12.a/kokm.o  
  inflating: 21359755/20831110/files/lib/libserver12.a/qksvc.o  
  inflating: 21359755/20831110/files/lib/libserver12.a/rfrxpt.o  
  inflating: 21359755/20831110/files/lib/libserver12.a/prsc.o  
  inflating: 21359755/20831110/files/lib/libserver12.a/kcl.o  
  inflating: 21359755/20831110/files/lib/libserver12.a/kzia.o  
  inflating: 21359755/20831110/files/lib/libserver12.a/krsd.o  
   creating: 21359755/20831110/files/crs/
   creating: 21359755/20831110/files/crs/install/
  inflating: 21359755/20831110/files/crs/install/tfa_setup  
   creating: 21359755/20831110/files/olap/
   creating: 21359755/20831110/files/olap/admin/
  inflating: 21359755/20831110/files/olap/admin/bug20558005.sql  
  inflating: 21359755/20831110/files/olap/admin/xoqclnup.sql  
  inflating: 21359755/20831110/files/olap/admin/xoqu112.sql  
   creating: 21359755/20831110/files/rdbms/
   creating: 21359755/20831110/files/rdbms/admin/
  inflating: 21359755/20831110/files/rdbms/admin/catctl.pl  
  inflating: 21359755/20831110/files/rdbms/admin/bug20876308_rollback.sql  
  inflating: 21359755/20831110/files/rdbms/admin/bundledata_PSU.xml  
  inflating: 21359755/20831110/files/rdbms/admin/catschv.sql  
  inflating: 21359755/20831110/files/rdbms/admin/bug20876308_apply.sql  
  inflating: 21359755/20831110/files/rdbms/admin/catfga.sql  
   creating: 21359755/20831110/etc/
   creating: 21359755/20831110/etc/config/
  inflating: 21359755/20831110/etc/config/actions.xml  
  inflating: 21359755/20831110/etc/config/inventory.xml  
  inflating: PatchSearch.xml         
[oracle@oel11 soft]$ ls -ltr
total 93812
drwxr-xr-x 6 oracle oinstall     4096 Oct 21 17:52 21359755
-rw-rw-r-- 1 oracle oinstall    34974 Oct 23 00:33 PatchSearch.xml
-rw-r--r-- 1 oracle oinstall 95921670 Oct 30 10:39 12.1.0.2.5DB_PSU_p21359755_121020_Linux-x86-64.zip
[oracle@oel11 soft]$ cd 21359755/
[oracle@oel11 21359755]$ ls -tlr
total 88
-rw-r--r-- 1 oracle oinstall    21 Oct 21 17:52 README.txt
drwxr-xr-x 4 oracle oinstall  4096 Oct 21 17:52 20299023
drwxr-xr-x 4 oracle oinstall  4096 Oct 21 17:52 20831110
drwxr-xr-x 4 oracle oinstall  4096 Oct 21 17:52 19769480
drwxr-xr-x 4 oracle oinstall  4096 Oct 21 17:52 21359755
-rw-rw-r-- 1 oracle oinstall 61688 Oct 23 00:25 README.html
[oracle@oel11 21359755]$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installer version 12.1.0.1.6
Copyright (c) 2015, Oracle Corporation.  All rights reserved.


PREREQ session


Oracle Home       : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1
Central Inventory : /s01/oracle/app/oraInventory
   from           : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/oraInst.loc
OPatch version    : 12.1.0.1.6
OUI version       : 12.1.0.2.0
Log file location : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/opatch/opatch2015-10-30_10-40-30AM_1.log


Invoking prereq "checkconflictagainstohwithdetail"


Prereq "checkConflictAgainstOHWithDetail" passed.


OPatch succeeded.
[oracle@oel11 21359755]$ opatch apply
Oracle Interim Patch Installer version 12.1.0.1.6
Copyright (c) 2015, Oracle Corporation.  All rights reserved.




Oracle Home       : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1
Central Inventory : /s01/oracle/app/oraInventory
   from           : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/oraInst.loc
OPatch version    : 12.1.0.1.6
OUI version       : 12.1.0.2.0
Log file location : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/opatch/opatch2015-10-30_10-41-31AM_1.log


Verifying environment and performing prerequisite checks...
Prerequisite check "CheckMinimumOPatchVersion" failed.
The details are:




The OPatch being used has version 12.1.0.1.6 while the following patch(es) require higher versions: 
Patch 21359755 requires OPatch version 12.1.0.1.7.
Please download latest OPatch from My Oracle Support.


UtilSession failed: Prerequisite check "CheckMinimumOPatchVersion" failed.
Log file location: /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/opatch/opatch2015-10-30_10-41-31AM_1.log


OPatch failed with error code 73


-------注意此时报错OPatch版本过低,需要去metalink下载最新的PSU!!!!

[oracle@oel11 21359755]$ cd ..
[oracle@oel11 soft]$ ls -ltr
total 145408
drwxr-xr-x 6 oracle oinstall     4096 Oct 21 17:52 21359755
-rw-rw-r-- 1 oracle oinstall    34974 Oct 23 00:33 PatchSearch.xml
-rw-r--r-- 1 oracle oinstall 95921670 Oct 30 10:39 12.1.0.2.5DB_PSU_p21359755_121020_Linux-x86-64.zip
-rw-r--r-- 1 oracle oinstall 52774638 Oct 30 10:44 p6880880_121010_Linux-x86-64.zip
[oracle@oel11 soft]$ cd $ORACLE_HOME
[oracle@oel11 dbhome_1]$ ls -ltr O*
total 160
-rw-r----- 1 oracle oinstall    26 Jan 13  2015 version.txt
drwxr-x--- 2 oracle oinstall  4096 Jan 13  2015 scripts
-rw-r----- 1 oracle oinstall  2913 Jan 13  2015 README.txt
-rw-r----- 1 oracle oinstall  3177 Jan 13  2015 operr_readme.txt
-rwxr-x--- 1 oracle oinstall  4220 Jan 13  2015 operr.bat
-rwxr-x--- 1 oracle oinstall  3161 Jan 13  2015 operr
drwxr-x--- 4 oracle oinstall  4096 Jan 13  2015 opatchprereqs
-rwxr-x--- 1 oracle oinstall  2576 Jan 13  2015 opatch.pl
-rwxr-x--- 1 oracle oinstall  9352 Jan 13  2015 opatchdiag.bat
-rwxr-x--- 1 oracle oinstall 10056 Jan 13  2015 opatchdiag
-rwxr-x--- 1 oracle oinstall 14194 Jan 13  2015 opatch.bat
-rwxr-x--- 1 oracle oinstall 25684 Jan 13  2015 opatch
drwxr-x--- 2 oracle oinstall  4096 Jan 13  2015 jlib
-rwxr-x--- 1 oracle oinstall 23695 Jan 13  2015 emdpatch.pl
-rwxr-x--- 1 oracle oinstall   569 Jan 13  2015 datapatch.bat
-rwxr-x--- 1 oracle oinstall   537 Jan 13  2015 datapatch
drwxr-x--- 5 oracle oinstall  4096 Jan 13  2015 ocm
drwxr-x--- 3 oracle oinstall  4096 Jan 13  2015 oplan
drwxr-x--- 4 oracle oinstall  4096 Jan 13  2015 opatchauto-dir
-rwxr-x--- 1 oracle oinstall   309 Jan 13  2015 opatchauto
drwxr-x--- 2 oracle oinstall  4096 Jan 13  2015 docs
[oracle@oel11 dbhome_1]$ ls -ld O*
drwxr-x--- 9 oracle oinstall 4096 Jan 13  2015 OPatch
[oracle@oel11 dbhome_1]$ mv OPatch OPatch_old
[oracle@oel11 dbhome_1]$ unzip /oracle/soft/
12.1.0.2.5DB_PSU_p21359755_121020_Linux-x86-64.zip  p6880880_121010_Linux-x86-64.zip
21359755/                                           PatchSearch.xml
[oracle@oel11 dbhome_1]$ unzip /oracle/soft/p6880880_121010_Linux-x86-64.zip ./
Archive:  /oracle/soft/p6880880_121010_Linux-x86-64.zip
caution: filename not matched:  ./
[oracle@oel11 dbhome_1]$ unzip /oracle/soft/p6880880_121010_Linux-x86-64.zip -d ./
Archive:  /oracle/soft/p6880880_121010_Linux-x86-64.zip
   creating: ./OPatch/
   creating: ./OPatch/opatchprereqs/
  inflating: ./OPatch/opatchprereqs/prerequisite.properties  
   creating: ./OPatch/opatchprereqs/opatch/
  inflating: ./OPatch/opatchprereqs/opatch/opatch_prereq.xml  
  inflating: ./OPatch/opatchprereqs/opatch/rulemap.xml  
  inflating: ./OPatch/opatchprereqs/opatch/runtime_prereq.xml  
   creating: ./OPatch/opatchprereqs/oui/
  inflating: ./OPatch/opatchprereqs/oui/knowledgesrc.xml  
  inflating: ./OPatch/operr_readme.txt  
  inflating: ./OPatch/emdpatch.pl    
  inflating: ./OPatch/opatchdiag.bat  
   creating: ./OPatch/scripts/
  inflating: ./OPatch/scripts/opatch_jvm_discovery.bat  
  inflating: ./OPatch/scripts/opatch_wls  
  inflating: ./OPatch/scripts/opatch_jvm_discovery  
  inflating: ./OPatch/scripts/opatch_wls.bat  
  inflating: ./OPatch/opatchdiag     
  inflating: ./OPatch/opatch.pl      
  inflating: ./OPatch/opatchauto     
   creating: ./OPatch/docs/
  inflating: ./OPatch/docs/cversion.txt  
  inflating: ./OPatch/docs/Prereq_Users_Guide.txt  
  inflating: ./OPatch/docs/FAQ       
  inflating: ./OPatch/docs/Users_Guide.txt  
 extracting: ./OPatch/version.txt    
   creating: ./OPatch/opatchauto-dir/
   creating: ./OPatch/opatchauto-dir/opatchautodb/
   creating: ./OPatch/opatchauto-dir/opatchautodb/jlib/
 extracting: ./OPatch/opatchauto-dir/opatchautodb/jlib/opatchauto-core.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautodb/jlib/oracle.opatchautodb.classpath.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautodb/jlib/oracle.oplan.db.classpath.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautodb/jlib/opatchauto-db.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautodb/jlib/oplan_db.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautodb/jlib/oracle.opatchautodb.classpath.windows.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautodb/jlib/oracle.opatchautodb.classpath.unix.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautodb/opatchautodbscr  
   creating: ./OPatch/opatchauto-dir/opatchautocore/
   creating: ./OPatch/opatchauto-dir/opatchautocore/jlib/
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/oplan_sample.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/OsysModel.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/oracle.oplan.classpath.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/ProductDriver.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/oplan_core.jar  
   creating: ./OPatch/opatchauto-dir/opatchautocore/jlib/apache-commons/
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/apache-commons/commons-compress-1.4.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/apache-commons/commons-cli-1.0.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/Validation.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/osysmodel-utils.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/ValidationRules.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/automation.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/bundle.jar  
   creating: ./OPatch/opatchauto-dir/opatchautocore/jlib/jaxb/
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/jaxb/jaxb-api.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/jaxb/activation.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/jaxb/jaxb-impl.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/jaxb/jsr173_1.0_api.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/jlib/patchsdk.jar  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/README.html  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/oplan.bat  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/opatchautobinary  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/README.txt  
  inflating: ./OPatch/opatchauto-dir/opatchautocore/oplan  
  inflating: ./OPatch/datapatch      
   creating: ./OPatch/ocm/
   creating: ./OPatch/ocm/doc/
  inflating: ./OPatch/ocm/ocm_platforms.txt  
 extracting: ./OPatch/ocm/ocm.zip    
   creating: ./OPatch/ocm/lib/
  inflating: ./OPatch/ocm/lib/xmlparserv2.jar  
  inflating: ./OPatch/ocm/lib/osdt_jce.jar  
  inflating: ./OPatch/ocm/lib/emocmclnt.jar  
  inflating: ./OPatch/ocm/lib/log4j-core.jar  
  inflating: ./OPatch/ocm/lib/osdt_core3.jar  
  inflating: ./OPatch/ocm/lib/http_client.jar  
  inflating: ./OPatch/ocm/lib/jsse.jar  
  inflating: ./OPatch/ocm/lib/emocmclnt-14.jar  
  inflating: ./OPatch/ocm/lib/jcert.jar  
  inflating: ./OPatch/ocm/lib/emocmcommon.jar  
  inflating: ./OPatch/ocm/lib/jnet.jar  
  inflating: ./OPatch/ocm/lib/regexp.jar  
   creating: ./OPatch/ocm/bin/
  inflating: ./OPatch/ocm/bin/emocmrsp  
   creating: ./OPatch/oplan/
  inflating: ./OPatch/oplan/oplan    
   creating: ./OPatch/oplan/jlib/
   creating: ./OPatch/oplan/jlib/jaxb/
  inflating: ./OPatch/oplan/jlib/jaxb/jsr173_1.0_api.jar  
  inflating: ./OPatch/oplan/jlib/jaxb/jaxb-impl.jar  
  inflating: ./OPatch/oplan/jlib/jaxb/jaxb-api.jar  
  inflating: ./OPatch/oplan/jlib/jaxb/activation.jar  
   creating: ./OPatch/oplan/jlib/apache-commons/
  inflating: ./OPatch/oplan/jlib/apache-commons/commons-compress-1.4.jar  
  inflating: ./OPatch/oplan/jlib/apache-commons/commons-cli-1.0.jar  
  inflating: ./OPatch/oplan/jlib/oplan_core.jar  
  inflating: ./OPatch/oplan/jlib/Validation.jar  
  inflating: ./OPatch/oplan/jlib/oracle.oplan.classpath.jar  
  inflating: ./OPatch/oplan/jlib/ValidationRules.jar  
  inflating: ./OPatch/oplan/jlib/osysmodel-utils.jar  
  inflating: ./OPatch/oplan/jlib/ProductDriver.jar  
  inflating: ./OPatch/oplan/jlib/automation.jar  
  inflating: ./OPatch/oplan/jlib/bundle.jar  
   creating: ./OPatch/oracle_common/
   creating: ./OPatch/oracle_common/modules/
  inflating: ./OPatch/oracle_common/modules/com.oracle.glcm.common-logging_1.2.0.0.jar  
  inflating: ./OPatch/operr.bat      
   creating: ./OPatch/jlib/
  inflating: ./OPatch/jlib/oracle.opatchcore.classpath.jar  
  inflating: ./OPatch/jlib/oracle.opatch.classpath.jar  
  inflating: ./OPatch/jlib/oracle.opatchcore.classpath.windows.jar  
  inflating: ./OPatch/jlib/opatchsdk.jar  
  inflating: ./OPatch/jlib/oracle.opatch.classpath.unix.jar  
  inflating: ./OPatch/jlib/opatch.jar  
  inflating: ./OPatch/jlib/oracle.opatch.classpath.windows.jar  
  inflating: ./OPatch/jlib/oracle.opatchcore.classpath.unix.jar  
  inflating: ./OPatch/datapatch.bat  
  inflating: ./OPatch/opatch.bat     
  inflating: ./OPatch/opatch         
  inflating: ./OPatch/operr          
  inflating: ./OPatch/README.txt     
[oracle@oel11 dbhome_1]$ ls -ld OP*
drwxr-x--- 10 oracle oinstall 4096 Oct  9 20:33 OPatch
drwxr-x---  9 oracle oinstall 4096 Jan 13  2015 OPatch_old
[oracle@oel11 dbhome_1]$ cd /oracle/soft/
[oracle@oel11 soft]$ ls -ltr
total 145408
drwxr-xr-x 6 oracle oinstall     4096 Oct 21 17:52 21359755
-rw-rw-r-- 1 oracle oinstall    34974 Oct 23 00:33 PatchSearch.xml
-rw-r--r-- 1 oracle oinstall 95921670 Oct 30 10:39 12.1.0.2.5DB_PSU_p21359755_121020_Linux-x86-64.zip
-rw-r--r-- 1 oracle oinstall 52774638 Oct 30 10:44 p6880880_121010_Linux-x86-64.zip
[oracle@oel11 soft]$ opatch lsinv
Oracle Interim Patch Installer version 12.1.0.1.9
Copyright (c) 2015, Oracle Corporation.  All rights reserved.




Oracle Home       : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1
Central Inventory : /s01/oracle/app/oraInventory
   from           : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/oraInst.loc
OPatch version    : 12.1.0.1.9
OUI version       : 12.1.0.2.0
Log file location : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/opatch/opatch2015-10-30_10-46-32AM_1.log


Lsinventory Output file location : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2015-10-30_10-46-32AM.txt


--------------------------------------------------------------------------------
Local Machine Information::
Hostname: oel11
ARU platform id: 226
ARU platform description:: Linux x86-64


Installed Top-level Products (1): 


Oracle Database 12c                                                  12.1.0.2.0
There are 1 products installed in this Oracle Home.




Interim patches (1) :


Patch  20831110     : applied on Tue Jul 21 09:54:03 CST 2015
Unique Patch ID:  18977826
Patch description:  "Database Patch Set Update : 12.1.0.2.4 (20831110)"
   Created on 11 Jul 2015, 00:45:40 hrs PST8PDT
Sub-patch  20299023; "Database Patch Set Update : 12.1.0.2.3 (20299023)"
Sub-patch  19769480; "Database Patch Set Update : 12.1.0.2.2 (19769480)"
   Bugs fixed:
     19189525, 19065556, 19075256, 19723336, 19077215, 19865345, 19280225
     18845653, 19524384, 19248799, 18288842, 19048007, 18988834, 19238590
     18921743, 18952989, 16870214, 19134173, 19928926, 19197175, 19018206
     19180770, 20387265, 19149990, 18849537, 19183343, 19730508, 19703301
     19012119, 19001390, 18202441, 19189317, 19067244, 19644859, 20074391
     19358317, 19390567, 19279273, 19706965, 19068970, 14643995, 19512341
     19841800, 20331945, 19619732, 18607546, 20348653, 18940497, 19670108
     19649152, 19547370, 19065677, 18948177, 21225209, 19637186, 19315691
     19676905, 18964978, 20165574, 19035573, 18967382, 19176326, 20558005
     19174430, 19176223, 19532017, 19054077, 19074147, 18674047, 19536415
     19708632, 19289642, 20425790, 19335438, 20294666, 18856999, 19307662
     19195895, 19468347, 19371175, 19154375, 16359751, 18990693, 19769480
     19439759, 19272708, 19978542, 20402832, 19329654, 19382851, 19520602
     19873610, 19174521, 19658708, 20093776, 19304354, 19052488, 19291380
     18681056, 17835294, 19896336, 19076343, 19791377, 19068610, 19561643
     18618122, 20746251, 20440930, 18456643, 19699191, 18909599, 19487147
     19143550, 18250893, 19016730, 19185876, 20347562, 19627012, 16619249
     18354830, 19577410, 19687159, 19001359, 19174942, 20424899, 19989009
     19518079, 18610915, 18674024, 18306996, 19309466, 19081128, 19915271
     19157754, 19058490, 19399918, 18791688, 20284155, 18885870, 19434529
     19303936, 19018447, 18417036, 19597439, 20235511, 20919320, 19284031
     19022470, 20474192, 18964939, 19430401, 19044962, 19385656, 19501299
     17274537, 20899461, 19409212, 19440586, 20657441, 19606174, 18436647
     19023822, 19124589, 19684504, 19178851, 19024808, 19805359, 19597583
     19155797, 19050649, 19393542, 19028800






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


OPatch succeeded.


[oracle@oel11 .patch_storage]$ cd /oracle/soft/21359755/
[oracle@oel11 21359755]$ ls -ltr
total 88
-rw-r--r-- 1 oracle oinstall    21 Oct 21 17:52 README.txt
drwxr-xr-x 4 oracle oinstall  4096 Oct 21 17:52 20299023
drwxr-xr-x 4 oracle oinstall  4096 Oct 21 17:52 20831110
drwxr-xr-x 4 oracle oinstall  4096 Oct 21 17:52 19769480
drwxr-xr-x 4 oracle oinstall  4096 Oct 21 17:52 21359755
-rw-rw-r-- 1 oracle oinstall 61688 Oct 23 00:25 README.html
[oracle@oel11 21359755]$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installer version 12.1.0.1.9
Copyright (c) 2015, Oracle Corporation.  All rights reserved.


PREREQ session


Oracle Home       : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1
Central Inventory : /s01/oracle/app/oraInventory
   from           : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/oraInst.loc
OPatch version    : 12.1.0.1.9
OUI version       : 12.1.0.2.0
Log file location : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/opatch/opatch2015-10-30_10-50-44AM_1.log


Invoking prereq "checkconflictagainstohwithdetail"


Prereq "checkConflictAgainstOHWithDetail" passed.


OPatch succeeded.
[oracle@oel11 21359755]$ opatch apply
Oracle Interim Patch Installer version 12.1.0.1.9
Copyright (c) 2015, Oracle Corporation.  All rights reserved.




Oracle Home       : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1
Central Inventory : /s01/oracle/app/oraInventory
   from           : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/oraInst.loc
OPatch version    : 12.1.0.1.9
OUI version       : 12.1.0.2.0
Log file location : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/opatch/opatch2015-10-30_10-50-58AM_1.log


Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   21359755  


Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name: 


You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:  y






Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1')




Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying sub-patch '21359755' to OH '/s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1'


Patching component oracle.assistants.server, 12.1.0.2.0...


Patching component oracle.rdbms.rsf, 12.1.0.2.0...


Patching component oracle.rdbms, 12.1.0.2.0...


Patching component oracle.rdbms.dbscripts, 12.1.0.2.0...


Patching component oracle.tfa, 12.1.0.2.0...
Composite patch 21359755 successfully applied.
Log file location: /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/opatch/opatch2015-10-30_10-50-58AM_1.log


OPatch succeeded.
[oracle@oel11 21359755]$ opatch lsinv
Oracle Interim Patch Installer version 12.1.0.1.9
Copyright (c) 2015, Oracle Corporation.  All rights reserved.




Oracle Home       : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1
Central Inventory : /s01/oracle/app/oraInventory
   from           : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/oraInst.loc
OPatch version    : 12.1.0.1.9
OUI version       : 12.1.0.2.0
Log file location : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/opatch/opatch2015-10-30_10-56-28AM_1.log


Lsinventory Output file location : /s01/oracle12c/app/oracle/product/12.1.0.2/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2015-10-30_10-56-28AM.txt


--------------------------------------------------------------------------------
Local Machine Information::
Hostname: oel11
ARU platform id: 226
ARU platform description:: Linux x86-64


Installed Top-level Products (1): 


Oracle Database 12c                                                  12.1.0.2.0
There are 1 products installed in this Oracle Home.




Interim patches (1) :


Patch  21359755     : applied on Fri Oct 30 10:53:48 CST 2015
Unique Patch ID:  19194568
Patch description:  "Database Patch Set Update : 12.1.0.2.5 (21359755)"
   Created on 21 Oct 2015, 02:52:58 hrs PST8PDT
Sub-patch  20831110; "Database Patch Set Update : 12.1.0.2.4 (20831110)"
Sub-patch  20299023; "Database Patch Set Update : 12.1.0.2.3 (20299023)"
Sub-patch  19769480; "Database Patch Set Update : 12.1.0.2.2 (19769480)"
   Bugs fixed:
     19189525, 19075256, 19865345, 19791273, 19280225, 18845653, 19248799
     19243521, 18988834, 19238590, 21281532, 18921743, 20245930, 19134173
     19571367, 20476175, 20925795, 19018206, 20387265, 19149990, 18849537
     19183343, 19703301, 19001390, 18202441, 19189317, 19644859, 19390567
     19358317, 19279273, 19706965, 19068970, 19619732, 18607546, 20348653
     18940497, 19670108, 19649152, 18948177, 19315691, 19676905, 18964978
     20165574, 19035573, 19176326, 20413820, 20558005, 19176223, 19532017
     20134339, 19074147, 18411216, 20361671, 20425790, 18966843, 20294666
     19371175, 19307662, 19195895, 19154375, 19468991, 19174521, 19520602
     19382851, 19658708, 20093776, 17835294, 19068610, 19791377, 20746251
     20048359, 19143550, 19185876, 19627012, 20281121, 19577410, 19001359
     19518079, 18610915, 18674024, 18306996, 19309466, 19081128, 19915271
     20122715, 20284155, 18791688, 21442094, 19303936, 19597439, 20235511
     18964939, 19430401, 19044962, 19409212, 20657441, 19684504, 19024808
     19028800, 19065556, 19723336, 19077215, 21421886, 19524384, 19048007
     18288842, 18952989, 16870214, 19928926, 19180770, 19197175, 19730508
     19012119, 19067244, 20074391, 19841800, 19512341, 14643995, 20331945
     19587324, 19065677, 19547370, 19637186, 21225209, 20397490, 18967382
     19174430, 18674047, 19054077, 19708632, 19536415, 19289642, 19335438
     17365043, 18856999, 20471920, 19468347, 21620471, 16359751, 18990693
     19439759, 19769480, 19272708, 19978542, 19329654, 20402832, 19873610
     19304354, 19052488, 19291380, 18681056, 19896336, 19076343, 19561643
     18618122, 20440930, 18456643, 19699191, 18909599, 19487147, 18250893
     19016730, 18743542, 20347562, 16619249, 18354830, 19687159, 19174942
     20424899, 19989009, 20688221, 20441797, 19157754, 19058490, 19032777
     19399918, 18885870, 19434529, 19018447, 18417036, 20919320, 19284031
     19022470, 20474192, 22062026, 19385656, 19501299, 17274537, 20899461
     19440586, 19606174, 18436647, 19023822, 19178851, 19124589, 19805359
     19597583, 19155797, 19393542, 19050649






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


OPatch succeeded.
[oracle@oel11 21359755]$ sqlplus / as sysdba


SQL*Plus: Release 12.1.0.2.0 Production on Fri Oct 30 10:56:46 2015


Copyright (c) 1982, 2014, Oracle.  All rights reserved.


Connected to an idle instance.


SQL> startup
ORACLE instance started.


Total System Global Area  838860800 bytes
Fixed Size                  2929936 bytes
Variable Size             562039536 bytes
Database Buffers          268435456 bytes
Redo Buffers                5455872 bytes
Database mounted.
Database opened.
SQL> alter pluggable database all open;


Pluggable database altered.


SQL> show pdbs;


    CON_ID CON_NAME                       OPEN MODE  RESTRICTED
---------- ------------------------------ ---------- ----------
         2 PDB$SEED                       READ ONLY  NO
         3 PDB12C                         READ WRITE NO


SQL> quit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
[oracle@oel11 21359755]$ cd $ORACLE_HOME/OPatch
[oracle@oel11 OPatch]$ ./datapatch -verbose

SQL Patching tool version 12.1.0.2.0 on Fri Oct 30 10:58:59 2015
Copyright (c) 2015, Oracle.  All rights reserved.


Log file for this invocation: /s01/oracle12c/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_5038_2015_10_30_10_58_59/sqlpatch_invocation.log


Connecting to database...OK
Note:  Datapatch will only apply or rollback SQL fixes for PDBs
       that are in an open state, no patches will be applied to closed PDBs.
       Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation
       (Doc ID 1585822.1)
Bootstrapping registry and package to current versions...done
Determining current state...done


Current state of SQL patches:
Bundle series PSU:
  ID 5 in the binary registry and ID 4 in PDB CDB$ROOT, ID 4 in PDB PDB$SEED, ID 4 in PDB PDB12C


Adding patches to installation queue and performing prereq checks...
Installation queue:
  For the following PDBs: CDB$ROOT PDB$SEED PDB12C
    Nothing to roll back
    The following patches will be applied:
      21359755 (Database Patch Set Update : 12.1.0.2.5 (21359755))


Installing patches...
Patch installation complete.  Total patches installed: 3


Validating logfiles...
Patch 21359755 apply (pdb CDB$ROOT): SUCCESS
  logfile: /s01/oracle12c/app/oracle/cfgtoollogs/sqlpatch/21359755/19194568/21359755_apply_PROD12_CDBROOT_2015Oct30_10_59_56.log (no errors)
Patch 21359755 apply (pdb PDB$SEED): SUCCESS
  logfile: /s01/oracle12c/app/oracle/cfgtoollogs/sqlpatch/21359755/19194568/21359755_apply_PROD12_PDBSEED_2015Oct30_11_00_12.log (no errors)
Patch 21359755 apply (pdb PDB12C): SUCCESS
  logfile: /s01/oracle12c/app/oracle/cfgtoollogs/sqlpatch/21359755/19194568/21359755_apply_PROD12_PDB12C_2015Oct30_11_00_12.log (no errors)
SQL Patching tool complete on Fri Oct 30 11:00:23 2015
[oracle@oel11 OPatch]$ sqlplus / as sysdba


SQL*Plus: Release 12.1.0.2.0 Production on Fri Oct 30 11:00:28 2015


Copyright (c) 1982, 2014, Oracle.  All rights reserved.




Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options


SQL> set linesize 999 pagesize 500
SQL> select b.con_id, a.pdb_name, a.status, b.open_mode 
  2  from dba_pdbs a, v$pdbs b
  3  where a.pdb_name = b.name
  4  order by b.con_id;


    CON_ID PDB_NAME                                                                                                                      STATUS    OPEN_MODE
---------- -------------------------------------------------------------------------------------------------------------------------------- --------- ----------
         2 PDB$SEED                                                                                                                      NORMAL    READ ONLY
         3 PDB12C                                                                                                                        NORMAL    READ WRITE


SQL> show pdbs;


    CON_ID CON_NAME                       OPEN MODE  RESTRICTED
---------- ------------------------------ ---------- ----------
         2 PDB$SEED                       READ ONLY  NO
         3 PDB12C                         READ WRITE NO
SQL> quit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options