需求:安装Oracle 12.1.0.2数据库的PSU 20160719补丁
一.安装步骤:
1.补丁下载
将/usr/ccs/bin和OPatch路径加到$PATH中:
csssit@msuu335:/csssitarch$ echo $PATH
/usr/bin:/usr/sbin:/usr/local/bin:/csssitapp/oracsssit/12.1.0/bin:/usr/ccs/bin:/csssitapp/oracsssit/12.1.0/OPatch
MOS上下载最新的opatch补丁:p6880880_122010_SOLARIS64.zip
cd $ORACLE_HOME
mv OPatch OPatch_old
uzip p6880880_122010_SOLARIS64.zip -d $ORACLE_HOME/
chown -R csssit:dba $ORACLE_HOME/OPatch
MOS上下载12.1.0.2的PSU 20160719补丁:p23273629_121020_SOLARIS64.zip
2.补丁安装
cd /csssitarch/software
mkdir psu
unzip p23273629_121020_SOLARIS64.zip ./psu
cd psu
cd 23273629
cd 23054246
opatch apply
根据提示输入Y,直到安装提示成功.
cd ..
cd 23054327
opatch apply
根据提示输入Y,直到安装提示成功.
csssit@msuu335:/csssitarch/software/psu/23273629$ opatch lsinventory
Installed Top-level Products (1):
Oracle Database 12c 12.1.0.2.0
There are 1 products installed in this Oracle Home.
Interim patches (2) :
Patch 23054327 : applied on Mon Sep 12 17:47:47 CST 2016
Unique Patch ID: 20235292
Patch description: "OCW Patch Set Update : 12.1.0.2.160719 (23054327)"
Created on 16 Jul 2016, 15:20:37 hrs UTC
Bugs fixed:
21339083, 19701617, 18589889, 20768643, 19139608, 19280860, 19061429
21453435, 19133945, 19341538, 19521169, 20011424, 18946768, 19135521
18604143, 19361757, 19187207, 19302350, 19627476, 19130141, 19530755
20568884, 20317221, 19699720, 20177779, 19620918, 19168690, 19266658
18899171, 19244316, 19653795, 18330979, 19027351, 18634372, 19471722
21227730, 18707416, 19536337, 19184188, 19131709, 21113068, 20235486
19925992, 20160490, 20006646, 20995001, 18991776, 18439295, 15922206
21131037, 19380733, 21245437, 18943696, 20552947, 19591984, 19550195
19163425, 18135723, 20014326, 19524857, 18849021, 18890943, 18861196
19154753, 17940721, 18524834, 18748932, 18835283, 19522313, 19184765
19499021, 21639478, 19046190, 20923930, 14851828, 20028666, 19051385
19050688, 19682695, 19831611, 20598625, 19226141, 21607972, 19053891
18871287, 18998228, 18922918, 18980002, 21087799, 18956780, 19683886
19325604, 19682778, 23757020, 19026993, 18777835, 20110156, 17338864
21269977, 18261648, 18362971, 19558324, 22651583, 18945906, 19513650
20185476, 18952577, 19702758, 18882642, 19478119, 19414274, 17447588
19262534, 20752167, 19147513, 21242118, 19514085, 19473088, 20758997
19178517, 18729269, 19529729, 19659885, 19455563, 19319904, 20877072
18703978, 18536826, 20340620, 19700256, 19703246, 19292605, 20467806
22264951, 19192901, 21527118, 20920711, 20660273, 20011635, 17592037
22989069, 19479503, 19147751, 19029647, 19179158, 22302421, 18901356
19140712, 20012766, 21232394, 18964974, 22162062, 18835366, 19184276
19013789, 19207286, 20001507, 20510208, 18950232, 22583325, 19259765
19148791, 19680763, 20079414, 19556820, 16505171, 22135419, 19449737
18962892, 21646169, 19187515, 19513888, 19230771, 14661880, 21519340
20218012, 21222147, 20795241, 19453778, 19853036, 19551830, 19068333
21616278, 18843572, 18520351, 18945435, 19185148, 19232454, 20775015
21220597, 18541110, 19319192, 18834955, 19204743, 19178629, 20839581
19304104, 21694237, 19140891, 18747335, 19284357, 20676340, 19270660
19457575, 20725084, 21297657, 19021575, 19069755, 18715884, 18798573
19584688, 19018001, 19812592, 19325701, 19270956, 19292272, 21967791
20877003, 21794779, 18700893, 19222693, 19662663, 21276514, 18406774
19684131, 20607821, 19010177, 21082737, 19272663, 18910576, 18907170
21694632, 19426384, 9372680, 20115586, 20883009, 19700294, 19164099
20289828, 19331454, 18283792, 20278216, 20827053, 19155350, 20119857
19703199, 22456393, 20588164, 18955644, 20991879, 18508710, 19908346
18798432, 19146822, 19589221, 21123424, 18952857, 19471836, 19537762
20936562, 21152052, 16286734, 18750781, 20669114, 18762843, 18945249
19045143, 19146980, 22483804, 19184799, 19205086, 19601003, 20099624
19351363, 21378016, 20091753, 18862203, 19281106, 19537547, 19031737
19079087, 19148367, 18968981, 19150517, 20231741, 19954372, 19217019
18730096, 18235274, 18975620, 19205617, 19513351, 18843054, 19150313
20219458, 18708349, 19332386, 18953639, 19067804, 21423055, 21259359
19371270, 19203996, 19054979, 19209951, 19318983, 18747382, 20038431
19154673, 18752378, 22905714, 19150088, 19370846, 19013444, 19234177
21053036, 18998379, 20157569, 21357522, 18999857, 19273577, 19075747
19367276, 19632437, 18990354, 19288396, 19874047, 19612597, 19557558
20620581, 19427050, 19127078, 18910443, 20900588, 22088198, 20053557
20033787, 19315567, 19444471, 19148982, 20953798, 18290252, 18813323
19915945, 19777496, 19500293, 20730170, 18643483, 19277814, 19134098
18523468, 20562133, 19071526, 21420753, 18965694, 19226858, 18850051
20433932, 19602208, 19591356, 22884308, 20061168, 18417590, 19370739
18920408, 20822591, 18636884, 19609388, 20136892, 18776786, 18989446
22289350, 19148793, 19043795, 19585454, 20746507, 18260170, 18317489
19955755, 18919682, 19059053, 19807548, 19124972, 18678829, 19147509
18849896, 19617592, 18910748, 18953878, 19273758, 19319357, 19076165
18999195, 19498411, 19704993, 18759724, 21294273, 19459023, 20634511
21474380, 19066844, 21484367, 20276459, 17208793, 19234907, 20290467
13843841, 19538714, 19649640, 19383028, 19062675, 21924910, 19513969
22195657, 18859710, 20862812, 19504641, 19341481, 18304090, 20293730
19986391, 19343245, 19314048, 18834934, 19473851, 19241655, 19458082
18242738, 19470791, 18894342, 20649573, 18372060, 19522067, 18953889
18827679, 19259290, 19023430, 19140711, 19045388, 20186278, 19241857
19522571, 19076778, 18875012, 19709663, 18861564, 19066699, 19273760
19225265, 15885689, 20853464, 18819158, 21696068, 19068003, 18937186
20267877, 19049721, 21394146, 19916737, 19368917, 22393909, 21255373
19635215, 18868829, 19613533, 20579351, 20408163, 20350915, 21327402
21057239, 22024217, 20783416, 19315522, 19141785, 23101338, 19163887
19885321, 19820247, 18715868, 18852058, 20363708, 19538241, 19804032