节点1很顺利,节点2莫名报权限错误,需注意chmod 660 /oracle/app/oraInventory/ContentsXML/oui-patch.xml
[oracle@rac1 31219897]$ opatch lsinventory
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/19c/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.21
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_21-42-05PM_1.log
Lsinventory Output file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2020-07-28_21-42-05PM.txt
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: rac1
ARU platform id: 226
ARU platform description:: Linux x86-64
Installed Top-level Products (1):
Oracle Database 19c 19.0.0.0.0
There are 1 products installed in this Oracle Home.
Interim patches (2) :
Patch 31305087 : applied on Sun Jul 26 21:44:52 CST 2020
Unique Patch ID: 23640701
Patch description: "OCW RELEASE UPDATE 19.8.0.0.0 (31305087)"
Created on 25 Jun 2020, 11:36:08 hrs PST8PDT
Bugs fixed:
17787434, 25736599, 26675491, 26813848, 27092095, 27148384, 27222128
27262781, 27505699, 27526265, 27572040, 27604329, 27663388, 27760043
27877830, 28302439, 28302580, 28319989, 28336118, 28344129, 28406406
28441307, 28462255, 28470673, 28554809, 28567875, 28621543, 28628631
28642469, 28697242, 28697896, 28699321, 28704073, 28710663, 28723237
28747089, 28755846, 28762163, 28772816, 28785321, 28790623, 28800508
28805158, 28805475, 28808652, 28814106, 28815557, 28834364, 28834743
28847541, 28847572, 28847655, 28852065, 28865162, 28870111, 28870496
28871040, 28874416, 28874529, 28874678, 28877252, 28881191, 28881848
28887675, 28887933, 28888083, 28892095, 28897229, 28911140, 28912188
28917537, 28925250, 28925460, 28935956, 28940472, 28942694, 28951332
28958624, 28963036, 28968779, 28973989, 28979734, 28980448, 28984430
28987100, 28993689, 28995287, 29003207, 29003617, 29016294, 29018680
29024876, 29026154, 29027933, 29030056, 29040641, 29047127, 29050804
29051269, 29052850, 29053083, 29058476, 29111631, 29112455, 29117337
29117435, 29118754, 29123444, 29125708, 29125786, 29129476, 29130169
29130654, 29131772, 29132456, 29139727, 29146157, 29147849, 29149170
29152603, 29152752, 29154631, 29154636, 29154829, 29159216, 29159661
29160462, 29161923, 29169540, 29169739, 29170717, 29173618, 29178563
29181568, 29182920, 29183298, 29186091, 29191827, 29201143, 29201695
29202442, 29203691, 29209545, 29209972, 29210577, 29210610, 29210624
29210683, 29213641, 29218185, 29219627, 29224294, 29225861, 29229839
29231008, 29235934, 29242906, 29243749, 29244495, 29244766, 29244968
29248723, 29249583, 29251564, 29254863, 29255616, 29256021, 29257308
29260224, 29261171, 29261695, 29266584, 29268887, 29271019, 29273360
29274911, 29275362, 29276220, 29280752, 29282090, 29282666, 29283505
29285453, 29285621, 29288842, 29289634, 29290235, 29292232, 29293806
29293928, 29294753, 29299830, 29307090, 29307109, 29311336, 29318127
29329675, 29330791, 29338139, 29339299, 29340414, 29342966, 29347106
29351297, 29351881, 29357821, 29359713, 29360467, 29360775, 29367971
29368725, 29376616, 29377086, 29379299, 29379381, 29380201, 29380253
29380496, 29380527, 29381000, 29382296, 29385861, 29387212, 29390900
29391301, 29392779, 29393649, 29395961, 29397888, 29398418, 29400386
29402110, 29407192, 29411931, 29412620, 29413360, 29413448, 29416851
29420825, 29423578, 29433282, 29433434, 29437506, 29438073, 29439095
29445982, 29450417, 29450448, 29452365, 29457241, 29457319, 29460775
29462569, 29465047, 29468589, 29470298, 29471399, 29473188, 29478378
29485756, 29490266, 29495628, 29498957, 29499868, 29502953, 29504266
29505022, 29505730, 29507560, 29510452, 29515945, 29518947, 29524627
29528119, 29529127, 29529394, 29529530, 29529973, 29535802, 29537427
29540165, 29542152, 29545235, 29549429, 29552763, 29555663, 29557756
29583036, 29585881, 29592188, 29593025, 29594744, 29599431, 29599530
29600906, 29601549, 29605539, 29615077, 29616325, 29618725, 29623009
29624902, 29626253, 29632615, 29637215, 29641885, 29645874, 29655862
29657866, 29659031, 29663838, 29671651, 29671851, 29671933, 29672162
29672852, 29677500, 29684210, 29684609, 29684672, 29685228, 29686671
29690422, 29692674, 29694497, 29695749, 29698779, 29699534, 29699562
29701744, 29705286, 29707246, 29708830, 29721974, 29722328, 29741589
29751644, 29754146, 29760252, 29760705, 29769321, 29770006, 29770719
29772541, 29780086, 29785001, 29786752, 29797504, 29797626, 29798124
29799836, 29805654, 29814770, 29814993, 29817598, 29820015, 29822858
29825944, 29828755, 29838281, 29839229, 29841704, 29851066, 29851272
29852422, 29853256, 29861561, 29862652, 29862828, 29864061, 29866488
29866585, 29866596, 29867220, 29868392, 29876493, 29885967, 29893587
29893839, 29896074, 29909288, 29910893, 29921525, 29932617, 29936936
29939536, 29939698, 29947897, 29955305, 29958570, 29967574, 29968289
29972301, 29994370, 29997226, 29997804, 30000227, 30006937, 30007337
30009279, 30009884, 30012348, 30021600, 30022613, 30028540, 30028697
30032515, 30033476, 30039843, 30043518, 30044720, 30047157, 30047710
30051563, 30067674, 30070902, 30076461, 30080241, 30082930, 30085531
30095414, 30116557, 30123264, 30123726, 30131854, 30134541, 30140462
30142644, 30155486, 30159782, 30161113, 30162350, 30165554, 30165795
30185718, 30188573, 30189609, 30191807, 30195027, 30196865, 30200123
30203000, 30206171, 30210185, 30216942, 30226726, 30233110, 30234873
30235714, 30236372, 30237688, 30239459, 30252076, 30261630, 30262897
30263219, 30264916, 30264943, 30275786, 30278910, 30284723, 30300812
30303080, 30311166, 30319294, 30323118, 30328520, 30330813, 30334538
30338260, 30338499, 30343189, 30345805, 30346838, 30358809, 30377668
30381769, 30387361, 30389333, 30398754, 30408896, 30409116, 30413792
30417292, 30422030, 30424257, 30425441, 30434074, 30443907, 30444173
30444545, 30448788, 30461079, 30461097, 30471076, 30472602, 30475421
30479074, 30480015, 30480378, 30482794, 30487313, 30499905, 30500636
30502264, 30503923, 30523200, 30529280, 30532192, 30533938, 30539675
30545230, 30555276, 30559848, 30565732, 30569412, 30582487, 30590095
30591151, 30591555, 30595008, 30595728, 30596993, 30609892, 30612898
30614124, 30614585, 30620439, 30630707, 30632160, 30632273, 30635219
30636188, 30637938, 30640862, 30642033, 30642161, 30643660, 30657466
30662447, 30663428, 30673082, 30685620, 30686289, 30698651, 30699254
30720136, 30721066, 30728561, 30728595, 30750568, 30756046, 30765956
30769856, 30774873, 30774907, 30786449, 30789435, 30790528, 30807859
30812961, 30822401, 30839977, 30840944, 30849022, 30865110, 30879918
30893147, 30896920, 30911757, 30915682, 30953043, 30954829, 30966990
30972464, 31003463, 31008132, 31009792, 31020503, 31040440, 31077542
31098981, 30940966, 31125280, 31329006, 31414282, 31486620, 3
Patch 31281355 : applied on Sun Jul 26 21:43:18 CST 2020
Unique Patch ID: 23688465
Patch description: "Database Release Update : 19.8.0.0.200714 (31281355)"
Created on 6 Jul 2020, 11:18:02 hrs PST8PDT
Bugs fixed:
30533132, 30312546, 29924181, 30980733, 31383396, 31094688, 7391838
8476681, 14735102, 17428816, 19080742, 19697993, 20313356, 21374587
21965541, 22580355, 22729345, 23296836, 23606241, 23645975, 23763462
24596874, 24669730, 24687075, 24971456, 25030027, 25092651, 25416731
25560538, 25756945, 25804387, 25806201, 25883179, 25986062, 25997810
26001677, 26284288, 26440142, 26476244, 26611353, 26668264, 26739322
26777814, 26872233, 27036163, 27044169, 27101798, 27126122, 27126938
27166935, 27195935, 27221350, 27244999, 27254335, 27359766, 27369515
27378053, 27392968, 27406105, 27411022, 27423500, 27439716, 27453490
27458357, 27489107, 27582210, 27589260, 27629928, 27666312, 27692173
27700413, 27710072, 27729678, 27801144, 27828892, 27846298, 27880025
27929509, 27934711, 27935464, 27941110, 27957203, 27967484, 28064977
28072567, 28078186, 28092783, 28104176, 28109326, 28125947, 28129791
28138847, 28144569, 28181021, 28189466, 28204262, 28205555, 28209985
28210681, 28263142, 28271258, 28271693, 28276054, 28279456, 28294563
28313275, 28319114, 28322973, 28326928, 28350595, 28371123, 28373960
28375383, 28379065, 28381939, 28386259, 28390273, 28395302, 28397317
28402823, 28410431, 28431445, 28435333, 28442896, 28454215, 28463226
28475242, 28484299, 28489419, 28492006, 28498976, 28502773, 28504631
28513333, 28521330, 28530171, 28534475, 28535127, 28538439, 28541606
28542455, 28546290, 28547068, 28547926, 28558645, 28561704, 28564479
28565296, 28567417, 28567819, 28569897, 28572407, 28572533, 28572544
28572667, 28572834, 28578945, 28587723, 28589509, 28593682, 28594086
28597221, 28601957, 28605066, 28606598, 28608211, 28612239, 28618343
28620697, 28622202, 28625862, 28627033, 28628592, 28632796, 28636532
28639299, 28642899, 28643654, 28643718, 28644549, 28645570, 28646200
28646939, 28649388, 28655209, 28663289, 28663782, 28672457, 28673945
28681153, 28689483, 28692103, 28692275, 28694639, 28694872, 28696373
28703812, 28705231, 28707931, 28708400, 28709063, 28710385, 28710469
28710734, 28714461, 28715655, 28715727, 28718469, 28719348, 28720204
28720418, 28721497, 28722229, 28730079, 28734355, 28740708, 28742555
28745367, 28749853, 28752923, 28755011, 28758722, 28760206, 28765983
28767240, 28769456, 28771947, 28772390, 28774416, 28776431, 28776811
28777214, 28778754, 28781599, 28781754, 28785531, 28789531, 28791852
28793062, 28795551, 28795734, 28802734, 28804517, 28805242, 28808314
28808656, 28810381, 28811560, 28813931, 28815123, 28815355, 28817449
28819640, 28820669, 28821847, 28824482, 28827682, 28831971, 28833912
28835937, 28836716, 28838385, 28844738, 28845346, 28846759, 28849776
28850084, 28854004, 28855520, 28855922, 28857552, 28861861, 28862532
28863263, 28863432, 28863487, 28865569, 28867992, 28872645, 28873575
28875089, 28876253, 28876639, 28876926, 28878865, 28882784, 28884931
28887305, 28888327, 28889730, 28892794, 28897512, 28899663, 28900506
28901126, 28905390, 28905457, 28905615, 28907196, 28910498, 28912691
28915561, 28917080, 28918429, 28919145, 28922227, 28922532, 28922608
28925634, 28925880, 28927452, 28932914, 28933158, 28935293, 28936114
28937717, 28938422, 28938698, 28940179, 28940281, 28941901, 28942455
28945421, 28945994, 28946233, 28949888, 28950868, 28951533, 28952168
28954762, 28955606, 28955883, 28956908, 28957292, 28957723, 28958088
28959493, 28960863, 28962775, 28965084, 28965095, 28965231, 28965376
28966444, 28974083, 28974999, 28977322, 28981871, 28983095, 28983486
28985478, 28986207, 28986231, 28986257, 28986326, 28986481, 28988482
28988864, 28989306, 28993295, 28993353, 28994307, 28994542, 28996376
29000000, 29001305, 29001888, 29002488, 29002784, 29002927, 29003407
29003738, 29006318, 29006621, 29007321, 29007353, 29007775, 29008035
29008669, 29009513, 29010126, 29011936, 29012609, 29013475, 29013832
29014076, 29015118, 29017265, 29018655, 29019121, 29021063, 29021352
29022986, 29024054, 29024448, 29024552, 29024732, 29026582, 29026606
29027456, 29027694, 29027940, 29031575, 29031600, 29032234, 29032276
29032457, 29032607, 29033052, 29033145, 29033200, 29033280, 29034587
29036278, 29037290, 29038528, 29038728, 29039089, 29039510, 29040739
29043554, 29043651, 29043725, 29044763, 29044954, 29046482, 29047850
29048178, 29048289, 29048498, 29048605, 29048728, 29050357, 29050560
29050765, 29050886, 29051702, 29051953, 29052726, 29053783, 29055644
29056024, 29056270, 29056560, 29056767, 29056894, 29059011, 29060216
29061016, 29061959, 29062692, 29062848, 29062860, 29062868, 29110526
29110783, 29110790, 29110797, 29110802, 29110805, 29111598, 29113282
29113305, 29115857, 29117526, 29117642, 29118543, 29119077, 29120223
29122224, 29122254, 29123297, 29123432, 29123482, 29124368, 29125036
29125374, 29125380, 29126345, 29127957, 29128693, 29128935, 29129450
29129497, 29129712, 29130219, 29131539, 29132869, 29132938, 29133470
29134447, 29135383, 29135649, 29136111, 29138641, 29139070, 29139761
29139956, 29141316, 29141341, 29141685, 29142609, 29142667, 29143516
29144995, 29145214, 29145730, 29146810, 29149829, 29150338, 29151520
29152357, 29154725, 29155099, 29157051, 29157389, 29158680, 29158899
29159909, 29159936, 29160174, 29161597, 29162095, 29163073, 29163156
29163415, 29163437, 29163524, 29163567, 29164376, 29165682, 29167111
29167342, 29167374, 29167940, 29168137, 29168219, 29168433, 29169073
29169215, 29170232, 29171683, 29171942, 29172618, 29172826, 29173140
29173373, 29173817, 29174004, 29174753, 29176318, 29177466, 29177543
29177886, 29178385, 29179097, 29180313, 29180455, 29180559, 29180893
29181078, 29181153, 29181231, 29181620, 29181743, 29181923, 29182019
29182517, 29182901, 29183912, 29184297, 29184666, 29185193, 29186456
29186605, 29188255, 29189302, 29189307, 29189889, 29190235, 29190474
29190663, 29190740, 29191541, 29192419, 29192468, 29192685, 29193207
29194205, 29194367, 29194493, 29194827, 29194981, 29195279, 29195337
29195758, 29196725, 29198092, 29198913, 29199635, 29199733, 29200316
29200700, 29201494, 29201539, 29201787, 29202104, 29202461, 29202850
29203122, 29203166, 29203227, 29203425, 29203443, 29203604, 29205281
29205323, 29205419, 29205463, 29205767, 29205918, 29206109, 29206605
29207073, 29208260, 29208732, 29211457, 29211724, 29212012, 29212433
29212611, 29213320, 29213351, 29213613, 29213775, 29213850, 29213879
29214561, 29214960, 29216312, 29216723, 29216746, 29216984, 29217294
29217472, 29217828, 29217848, 29218570, 29219205, 29219273, 29220079
29221248, 29221891, 29221942, 29222031, 29222784, 29223833, 29223859
29223967, 29224065, 29224605, 29225076, 29225168, 29225758, 29227602
29228869, 29229164, 29229754, 29229844, 29229955, 29230252, 29230565
29231133, 29232117, 29232154, 29232449, 29233415, 29233810, 29233953
29234123, 29236573, 29237538, 29237575, 29237744, 29240307, 29240759
29241345, 29241651, 29242017, 29242884, 29243958, 29245063, 29245137
29245160, 29246163, 29247415, 29247712, 29247906, 29248495, 29248552
29248835, 29248858, 29249289, 29249412, 29249991, 29250059, 29250317
29251259, 29253184, 29253871, 29254031, 29254930, 29255178, 29255273
29255431, 29255435, 29255718, 29255973, 29256426, 29259119, 29259320
29260452, 29260956, 29261547, 29261548, 29261906, 29262512, 29262887
29265448, 29266248, 29266899, 29267292, 29268412, 29269171, 29269228
29269825, 29270585, 29273539, 29273570, 29273735, 29273812, 29273847
29274428, 29274564, 29274627, 29275461, 29276272, 29277317, 29278218
29278684, 29279658, 29279751, 29279854, 29281527, 29281691, 29281796
29282233, 29282898, 29285197, 29285503, 29285788, 29285956, 29286037
29286229, 29287130, 29287705, 29290110, 29292837, 29293072, 29293574
29296257, 29297863, 29297915, 29298220, 29299049, 29299082, 29299844
29301463, 29301566, 29302963, 29303918, 29304314, 29304781, 29306226
29306713, 29307638, 29309698, 29311528, 29311588, 29311927, 29312310
29312672, 29312734, 29312753, 29312889, 29313347, 29313417, 29313525
29314539, 29314636, 29317756, 29318410, 29319441, 29321489, 29323946
29324568, 29324735, 29325087, 29325105, 29325257, 29325765, 29325993
29327044, 29327892, 29329042, 29329087, 29329807, 29330361, 29331066
29331209, 29331380, 29331493, 29332292, 29332395, 29332763, 29332771
29333500, 29336843, 29337294, 29337310, 29337742, 29338315, 29338348
29338453, 29338780, 29338913, 29339101, 29339155, 29341209, 29343086
29343156, 29343861, 29344541, 29345937, 29346057, 29346211, 29346943
29347620, 29348176, 29350052, 29350762, 29350868, 29351044, 29351386
29351662, 29351716, 29351735, 29351749, 29351771, 29352298, 29352724
29352867, 29352947, 29353271, 29353432, 29353718, 29353821, 29353960
29355654, 29356547, 29356704, 29356711, 29356752, 29356782, 29358509
29358828, 29360252, 29360285, 29360672, 29360911, 29360950, 29361319
29361472, 29361801, 29362596, 29363151, 29364171, 29364177, 29366406
29366940, 29367019, 29367561, 29368253, 29368310, 29372069, 29372541
29373418, 29373588, 29374179, 29375355, 29375941, 29375984, 29376346
29377804, 29377986, 29378029, 29378287, 29378834, 29378913, 29379750
29379978, 29382641, 29382784, 29382815, 29383695, 29384781, 29384854
29384864, 29385339, 29385429, 29385652, 29386502, 29386557, 29386635
29386660, 29387073, 29387274, 29387310, 29387337, 29388020, 29388072
29388094, 29388524, 29388830, 29389408, 29389889, 29390011, 29390435
29390785, 29391030, 29391237, 29391438, 29391849, 29391925, 29392554
29392966, 29393291, 29394014, 29394140, 29394749, 29395657, 29397954
29397996, 29398488, 29398863, 29399046, 29399100, 29399121, 29399336
29399938, 29402131, 29404483, 29405012, 29405462, 29405651, 29405996
29407488, 29407804, 29408853, 29409149, 29409455, 29410311, 29410834
29411037, 29411469, 29412066, 29412269, 29413382, 29413517, 29413544
29413634, 29413956, 29416688, 29416700, 29417084, 29417173, 29417719
29417884, 29418165, 29420254, 29420834, 29421059, 29423003, 29423016
29423156, 29423826, 29424999, 29426241, 29426320, 29428230, 29429017
29429087, 29429264, 29429466, 29429566, 29430524, 29430866, 29431192
29431485, 29432176, 29434301, 29434869, 29435474, 29435652, 29436454
29436514, 29436522, 29436727, 29437594, 29437712, 29438150, 29438277
29438736, 29439522, 29441196, 29442936, 29443187, 29443250, 29444072
29444282, 29444602, 29446669, 29448498, 29449477, 29449845, 29449852
29450162, 29450193, 29450421, 29450812, 29450936, 29451386, 29452251
29452576, 29452936, 29452953, 29454978, 29455424, 29455773, 29456538
29456714, 29457312, 29457370, 29457502, 29457807, 29457978, 29460252
29461420, 29461791, 29461971, 29462594, 29462767, 29462957, 29463047
29463528, 29463798, 29464616, 29464779, 29465177, 29466674, 29467622
29469565, 29470291, 29471832, 29471860, 29472618, 29473708, 29476473
29481584, 29483452, 29483532, 29483626, 29483672, 29483685, 29483712
29483723, 29483771, 29485099, 29486181, 29486848, 29487150, 29487189
29488894, 29489436, 29489546, 29490256, 29492127, 29492939, 29493122
29494245, 29495057, 29495684, 29497311, 29497588, 29497696, 29498198
29500257, 29500826, 29500963, 29501218, 29502561, 29503543, 29503631
29503827, 29504492, 29504682, 29505668, 29506942, 29507270, 29507616
29508681, 29509777, 29510278, 29511064, 29511611, 29511980, 29512890
29514479, 29515134, 29515240, 29515476, 29515766, 29515834, 29516300
29516727, 29516766, 29517168, 29517883, 29519131, 29521187, 29521688
29521748, 29521862, 29522358, 29522561, 29522662, 29523055, 29523216
29523511, 29524599, 29524985, 29525366, 29525467, 29525886, 29526966
29527595, 29527610, 29528368, 29529147, 29530440, 29530515, 29530812
29530909, 29531654, 29531836, 29532532, 29536342, 29536445, 29537829
29538631, 29541742, 29541769, 29542084, 29542449, 29542580, 29542643
29543034, 29543956, 29546817, 29547010, 29547867, 29548413, 29548427
29548592, 29548687, 29548722, 29549040, 29549071, 29549104, 29549154
29549730, 29552773, 29553141, 29554092, 29557144, 29557261, 29557336
29557556, 29558238, 29558452, 29558975, 29559187, 29559395, 29559446
29559908, 29559981, 29564592, 29564593, 29565611, 29579919, 29580394
29580983, 29581771, 29584261, 29584693, 29586143, 29587299, 29587765
29589544, 29591343, 29592011, 29592215, 29597536, 29597754, 29598039
29598046, 29598226, 29598233, 29599008, 29599300, 29601461, 29602831
29603460, 29603884, 29604002, 29604257, 29606261, 29607136, 29607797
29608000, 29608023, 29610506, 29611020, 29611991, 29614206, 29614987
29615824, 29616244, 29616414, 29618074, 29618190, 29620042, 29622936
29623323, 29625065, 29625804, 29625876, 29626154, 29626732, 29628200
29629430, 29629650, 29629681, 29629745, 29631749, 29632095, 29632265
29632611, 29633697, 29633753, 29633936, 29634643, 29635427, 29635717
29635990, 29637362, 29637526, 29637560, 29638285, 29641736, 29643721
29644426, 29644464, 29645167, 29645349, 29647176, 29648928, 29651183
29651520, 29653132, 29653246, 29655164, 29655668, 29656400, 29656819
29656843, 29657399, 29657422, 29657744, 29657960, 29658056, 29661028
29661065, 29661722, 29663191, 29663368, 29663494, 29663601, 29664087
29664161, 29665940, 29667527, 29667994, 29668005, 29669413, 29670782
29671363, 29672507, 29675446, 29676089, 29677051, 29677173, 29677733
29677927, 29679856, 29681987, 29683039, 29683211, 29684518, 29685137
29685276, 29687214, 29687220, 29687459, 29687718, 29687727, 29687763
29688867, 29689145, 29689255, 29692694, 29694869, 29695425, 29695821
29695841, 29696310, 29700125, 29700460, 29700770, 29703932, 29705793
29707099, 29707493, 29707896, 29708876, 29708915, 29710188, 29710858
29713810, 29715220, 29715703, 29716194, 29716227, 29716491, 29716602
29716871, 29717659, 29717901, 29719146, 29720133, 29721418, 29721576
29722167, 29724658, 29725476, 29725781, 29726695, 29738400, 29739576
29741319, 29741976, 29742223, 29744225, 29746962, 29747493, 29747648
29747653, 29748285, 29748336, 29748513, 29749471, 29750673, 29751094
29753244, 29754196, 29754951, 29755821, 29756274, 29756444, 29757099
29757264, 29757651, 29757687, 29758203, 29758217, 29758661, 29761678
29761837, 29761911, 29763158, 29765035, 29765393, 29766207, 29766435
29766503, 29766679, 29768899, 29770750, 29771032, 29771242, 29773197
29773842, 29775393, 29779196, 29780140, 29782211, 29782823, 29782866
29784106, 29785239, 29785311, 29787292, 29787766, 29789911, 29791152
29791880, 29792213, 29793318, 29794174, 29794462, 29795712, 29795957
29796378, 29797726, 29802695, 29804875, 29805772, 29806390, 29807964
29809792, 29809837, 29812084, 29812489, 29813503, 29813650, 29813671
29815341, 29815713, 29817278, 29817547, 29817784, 29821582, 29822714
29825525, 29827647, 29827852, 29831196, 29834506, 29836096, 29838485
29838773, 29839715, 29840619, 29841267, 29841687, 29843277, 29843692
29843831, 29844226, 29844275, 29845530, 29846126, 29846645, 29846688
29848084, 29848849, 29849100, 29850930, 29851733, 29853485, 29856859
29858121, 29858376, 29859068, 29860994, 29861075, 29864203, 29864261
29865188, 29865590, 29865658, 29869086, 29869404, 29869887, 29869906
29870065, 29871098, 29871312, 29872401, 29872937, 29872983, 29873665
29874090, 29874761, 29875459, 29875565, 29876358, 29876989, 29877608
29878076, 29881050, 29881478, 29881575, 29881643, 29881839, 29882427
29882454, 29882729, 29884958, 29885890, 29886809, 29887111, 29888621
29889184, 29889358, 29890740, 29891075, 29891853, 29891916, 29892604
29893132, 29896510, 29897418, 29897863, 29900203, 29900824, 29901419
29902299, 29902327, 29902330, 29902659, 29903190, 29903299, 29903357
29903454, 29904002, 29906678, 29907942, 29908389, 29908777, 29909658
29910402, 29912286, 29913805, 29913966, 29914449, 29914544, 29915217
29915848, 29916975, 29919789, 29920025, 29920376, 29920804, 29921318
29922225, 29923452, 29926466, 29927756, 29928210, 29928427, 29928564
29930457, 29932202, 29932430, 29932780, 29934052, 29937565, 29937956
29938225, 29939400, 29939795, 29940373, 29942096, 29942554, 29943670
29943879, 29944035, 29944660, 29944963, 29945645, 29946388, 29947145
29950220, 29951620, 29951759, 29956016, 29956222, 29957412, 29957493
29958925, 29960884, 29961353, 29961609, 29961847, 29962160, 29962248
29962834, 29962927, 29962939, 29965052, 29965603, 29965888, 29966768
29967223, 29968085, 29969557, 29970081, 29970298, 29971027, 29971481
29971888, 29971936, 29971951, 29972176, 29973012, 29989783, 29989845
29991257, 29993717, 29997326, 29997553, 30000664, 30001331, 30003187
30006159, 30006985, 30007450, 30007797, 30008125, 30008198, 30008214
30009710, 30012181, 30015070, 30017836, 30018017, 30018903, 30019864
30024618, 30025814, 30026016, 30027614, 30028599, 30029519, 30029806
30031027, 30032376, 30033040, 30033547, 30034456, 30035598, 30038392
30039800, 30039959, 30040157, 30041501, 30042490, 30043398, 30043610
30043930, 30044507, 30045389, 30045484, 30046497, 30047531, 30047702
30047765, 30047931, 30049966, 30051176, 30051783, 30051804, 30052928
30053036, 30053501, 30053748, 30054980, 30056058, 30057718, 30057799
30058149, 30058453, 30059106, 30059109, 30060267, 30060330, 30062364
30062819, 30064268, 30066352, 30067565, 30068871, 30071446, 30072905
30073314, 30073744, 30074296, 30074349, 30074469, 30074472, 30074820
30075037, 30076058, 30076197, 30076253, 30078675, 30078934, 30079949
30080266, 30081546, 30081580, 30082145, 30083100, 30083216, 30083488
30083807, 30084971, 30085897, 30086596, 30086992, 30090568, 30092280
30092859, 30095591, 30095952, 30097092, 30097115, 30098251, 30099302
30099420, 30099454, 30100354, 30101186, 30103551, 30103553, 30104378
30104555, 30106748, 30109365, 30110224, 30110370, 30110518, 30114477
30114489, 30114534, 30116085, 30116203, 30116854, 30117209, 30117335
30117593, 30118261, 30118279, 30120608, 30122583, 30125765, 30126145
30127522, 30127805, 30127904, 30128047, 30131286, 30131645, 30132708
30133841, 30135396, 30135731, 30135942, 30136346, 30139392, 30142907
30143470, 30143593, 30146593, 30146969, 30147473, 30147928, 30149035
30149658, 30150606, 30153552, 30153885, 30154633, 30155814, 30155837
30159329, 30159511, 30159536, 30159752, 30159760, 30163243, 30164714
30165493, 30165503, 30165897, 30169254, 30170104, 30172925, 30173113
30173556, 30174401, 30175291, 30177597, 30178250, 30178839, 30178990
30179644, 30180208, 30181756, 30183696, 30183715, 30183920, 30184102
30185852, 30186319, 30186476, 30186706, 30187866, 30189516, 30190090
30191274, 30193165, 30193505, 30193736, 30194612, 30194710, 30194972
30195667, 30195668, 30195684, 30196195, 30196358, 30196629, 30198861
30198905, 30200034, 30200132, 30200237, 30200680, 30200758, 30202349
30202388, 30203929, 30204042, 30204542, 30206493, 30206675, 30207473
30208327, 30208723, 30209736, 30210884, 30213031, 30213540, 30215130
30215302, 30215351, 30217206, 30217982, 30218044, 30218317, 30219222
30221237, 30221298, 30222512, 30223712, 30223847, 30224650, 30224868
30224950, 30225265, 30225443, 30225718, 30225844, 30226244, 30228567
30229683, 30232638, 30235919, 30235979, 30236554, 30238211, 30238715
30239480, 30240010, 30240547, 30241567, 30241920, 30242120, 30242724
30243216, 30244340, 30246053, 30246179, 30247305, 30249432, 30251003
30252005, 30252098, 30252156, 30252458, 30252977, 30253035, 30253090
30253608, 30253705, 30253835, 30254206, 30254525, 30254726, 30255143
30255528, 30256542, 30257412, 30264405, 30265523, 30265608, 30265615
30265703, 30266791, 30267155, 30269428, 30269748, 30270647, 30270744
30271114, 30272329, 30274090, 30274188, 30274324, 30275548, 30275569
30275578, 30276243, 30277120, 30277451, 30277733, 30281428, 30282501
30282591, 30283296, 30283577, 30283579, 30283581, 30283932, 30284219
30284369, 30285457, 30285843, 30288343, 30288491, 30289458, 30293345
30294267, 30294671, 30295110, 30295549, 30295808, 30297905, 30299367
30299817, 30299934, 30300030, 30300538, 30305264, 30305395, 30305568
30305880, 30307814, 30307883, 30308368, 30308624, 30308772, 30308947
30309098, 30309798, 30311826, 30312094, 30313848, 30314079, 30314198
30314837, 30316667, 30316897, 30317209, 30318638, 30318943, 30319080
30319099, 30322980, 30323658, 30323849, 30324180, 30325407, 30326882
30327149, 30328168, 30328690, 30329209, 30330123, 30331759, 30332505
30334484, 30334563, 30335127, 30335832, 30335987, 30336032, 30336742
30339103, 30341713, 30342371, 30342878, 30344614, 30345201, 30345432
30345809, 30346330, 30346867, 30349714, 30352581, 30352623, 30355490
30357463, 30357897, 30360383, 30362003, 30362850, 30363716, 30364329
30364613, 30365745, 30367193, 30368048, 30368482, 30368534, 30368668
30371264, 30371623, 30371909, 30372081, 30373550, 30374345, 30374570
30374739, 30375109, 30376986, 30377347, 30381207, 30381525, 30382982
30383286, 30384121, 30384152, 30389229, 30389414, 30389507, 30391272
30392011, 30393110, 30393653, 30394738, 30394974, 30396946, 30397100
30398257, 30398422, 30399906, 30402386, 30403763, 30403881, 30403902
30403989, 30404117, 30408515, 30408808, 30409207, 30409339, 30409590
30412188, 30412863, 30412885, 30412921, 30413137, 30414679, 30414714
30416034, 30417648, 30419024, 30421439, 30421476, 30422487, 30423135
30423218, 30424347, 30430921, 30431274, 30431504, 30431698, 30431703
30431717, 30433177, 30437149, 30441687, 30441959, 30442749, 30442884
30443393, 30446583, 30447060, 30447589, 30448182, 30448917, 30449194
30450787, 30453442, 30454090, 30458568, 30458593, 30460922, 30461458
30463938, 30464250, 30464655, 30466081, 30469777, 30472891, 30474167
30474774, 30475115, 30476768, 30477588, 30477685, 30477691, 30477767
30479715, 30480872, 30483140, 30483521, 30484042, 30484801, 30485255
30486436, 30487387, 30490014, 30493518, 30495035, 30495133, 30495483
30496957, 30497057, 30500224, 30500297, 30500344, 30500582, 30501574
30502415, 30503943, 30505497, 30506794, 30506991, 30507032, 30509277
30510347, 30510527, 30513285, 30513848, 30515886, 30516868, 30517214
30519188, 30522285, 30522998, 30523137, 30523538, 30523601, 30523750
30528547, 30528704, 30529940, 30534351, 30534549, 30534827, 30537405
30537533, 30539519, 30540109, 30540407, 30544247, 30544595, 30545281
30545556, 30549637, 30549789, 30549881, 30551000, 30551123, 30556581
30556807, 30557386, 30560513, 30561590, 30564139, 30564343, 30573703
30576393, 30577071, 30579051, 30581448, 30582500, 30588738, 30591028
30592859, 30595114, 30595860, 30596488, 30598682, 30598746, 30598919
30599405, 30599407, 30600173, 30600184, 30602230, 30605215, 30609799
30612199, 30613937, 30613971, 30614411, 30619525, 30619787, 30622528
30623138, 30623142, 30624792, 30624864, 30625121, 30628899, 30629643
30629799, 30631393, 30633259, 30633938, 30635183, 30635302, 30635326
30637270, 30637319, 30641755, 30641900, 30644889, 30651231, 30651621
30651674, 30652515, 30652853, 30654558, 30657365, 30657624, 30657706
30657875, 30658702, 30661939, 30662651, 30663646, 30668407, 30671813
30674959, 30676209, 30681462, 30681516, 30686131, 30690686, 30691604
30691731, 30691857, 30692473, 30698289, 30703610, 30704826, 30708735
30710807, 30714151, 30714715, 30718862, 30719419, 30720736, 30720844
30722705, 30724679, 30724881, 30727701, 30729604, 30730026, 30732711
30734707, 30735736, 30740997, 30741263, 30749722, 30750991, 30751968
30758943, 30761878, 30763272, 30763305, 30763639, 30765486, 30769312
30773164, 30776416, 30776929, 30778855, 30781032, 30781041, 30783551
30785101, 30789904, 30790441, 30801296, 30801510, 30803210, 30808869
30812574, 30814285, 30815852, 30816938, 30823744, 30825391, 30825419
30825656, 30826474, 30828350, 30829779, 30833454, 30834110, 30838605
30847442, 30848773, 30851951, 30857721, 30858919, 30866141, 30866988
30871716, 30871792, 30880913, 30881407, 30883877, 30886188, 30887501
30890720, 30890971, 30896620, 30904672, 30906274, 30909918, 30913399
30914272, 30914674, 30919691, 30922936, 30922996, 30923517, 30923940
30927821, 30930339, 30936831, 30937410, 30939934, 30940259, 30941056
30944643, 30945005, 30952104, 30953836, 30957739, 30964194, 30968737
30970518, 30972841, 30972966, 30973113, 30973137, 30973143, 30980317
30987088, 30990034, 30992597, 30993198, 30996991, 30998759, 30998847
31001017, 31001455, 31001859, 31004077, 31004719, 31004844, 31008240
31010976, 31013127, 31016413, 31019249, 31021157, 31022858, 31029936
31031955, 31032904, 31039627, 31039928, 31051075, 31062010, 31066265
31077365, 31084921, 31100172, 31106577, 31113089, 31118809, 31119057
31134430, 31153120, 31156383, 31172207, 31177193, 31182793, 31193936
31200845, 31305624, 31338673, 31393600, 31414023, 31414524
--------------------------------------------------------------------------------
OPatch succeeded.
[oracle@rac1 31219897]$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
PREREQ session
Oracle Home : /oracle/app/oracle/product/19c/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.21
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_21-42-38PM_1.log
Invoking prereq "checkconflictagainstohwithdetail"
Prereq "checkConflictAgainstOHWithDetail" passed.
OPatch succeeded.
[oracle@rac1 31219897]$ opatch apply
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/19c/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.21
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_21-43-05PM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 31219897
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/oracle/app/oracle/product/19c/dbhome_1')
Is the local system ready for patching? [y|n]
n
User Responded with: N
NApply exits on request
UtilSession: NApply exits on user's request.
UtilSession system modification phase did not start: NApply exits on request
Log file location: /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_21-43-05PM_1.log
OPatch stopped on request.
[oracle@rac1 31219897]$ srvctl stop database -d orcl
[oracle@rac1 31219897]$ opatch apply
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/19c/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.21
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_21-47-45PM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 31219897
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/oracle/app/oracle/product/19c/dbhome_1')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '31219897' to OH '/oracle/app/oracle/product/19c/dbhome_1'
Patching component oracle.javavm.server, 19.0.0.0.0...
Patching component oracle.javavm.server.core, 19.0.0.0.0...
Patching component oracle.rdbms.dbscripts, 19.0.0.0.0...
Patching component oracle.rdbms, 19.0.0.0.0...
Patch 31219897 successfully applied.
Log file location: /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_21-47-45PM_1.log
OPatch succeeded.
[oracle@rac1 31219897]$ pwd
/patch/31326369/31326369/31219897
[oracle@rac1 31219897]$ cd $ORACLE_HOME
[oracle@rac1 dbhome_1]$ ls -al
total 112
drwxr-xr-x 74 oracle oinstall 4096 Jul 26 21:44 .
drwxr-xr-x 3 oracle oinstall 22 Jul 21 18:54 ..
drwxr-xr-x 2 oracle oinstall 102 Jul 22 18:19 addnode
drwxr-xr-x 3 oracle asmadmin 18 Jul 26 12:24 admin
drwxr-xr-x 6 oracle oinstall 4096 Apr 17 2019 apex
drwxr-xr-x 9 oracle oinstall 93 Apr 17 2019 assistants
drwxr-xr-x 2 oracle oinstall 8192 Jul 28 21:48 bin
drwxr-xr-x 7 oracle oinstall 82 Jul 26 21:38 cfgtoollogs
drwxr-xr-x 3 oracle oinstall 19 Jul 26 21:44 client
drwxr-xr-x 4 oracle oinstall 87 Jul 22 18:19 clone
drwxr-xr-x 6 oracle oinstall 55 Apr 17 2019 crs
drwxr-xr-x 3 oracle oinstall 18 Apr 17 2019 css
drwxr-xr-x 11 oracle oinstall 119 Apr 17 2019 ctx
drwxr-xr-x 7 oracle oinstall 71 Apr 17 2019 cv
drwxr-xr-x 3 oracle oinstall 20 Apr 17 2019 data
drwxr-xr-x 3 oracle oinstall 19 Apr 17 2019 dbjava
drwxr-xr-x 2 oracle oinstall 62 Jul 28 21:47 dbs
drwxr-xr-x 5 oracle oinstall 191 Jul 22 18:19 deinstall
drwxr-xr-x 3 oracle oinstall 20 Apr 17 2019 demo
drwxr-xr-x 3 oracle oinstall 20 Apr 17 2019 diagnostics
drwxr-xr-x 13 oracle oinstall 198 Apr 17 2019 dmu
drwxr-xr-x 4 oracle oinstall 30 Apr 17 2019 drdaas
drwxr-xr-x 3 oracle oinstall 19 Apr 17 2019 dv
-rw-r--r-- 1 oracle oinstall 852 Aug 18 2015 env.ora
drwxr-xr-x 3 oracle oinstall 18 Apr 17 2019 has
drwxr-xr-x 5 oracle oinstall 41 Apr 17 2019 hs
drwxrwx--- 10 oracle oinstall 4096 Jul 26 21:44 install
drwxr-xr-x 2 oracle oinstall 29 Apr 17 2019 instantclient
drwxr-x--- 14 oracle oinstall 233 Jul 22 11:22 inventory
drwxr-xr-x 8 oracle oinstall 82 Apr 18 2019 javavm
drwxr-xr-x 3 oracle oinstall 35 Apr 17 2019 jdbc
drwxr-xr-x 6 oracle oinstall 219 Jul 26 21:44 jdk
drwxr-xr-x 2 oracle oinstall 4096 Jul 26 21:43 jlib
drwxr-xr-x 10 oracle oinstall 112 Apr 17 2019 ldap
drwxr-xr-x 4 oracle oinstall 12288 Jul 26 21:44 lib
drwxr-x--T 4 oracle oinstall 30 Jul 26 11:38 log
drwxr-xr-x 9 oracle oinstall 98 Apr 17 2019 md
drwxr-xr-x 4 oracle oinstall 31 Apr 17 2019 mgw
drwxr-xr-x 10 oracle oinstall 106 Apr 17 2019 network
drwxr-xr-x 5 oracle oinstall 46 Apr 17 2019 nls
drwxr-xr-x 8 oracle oinstall 101 Apr 17 2019 odbc
drwxr-xr-x 5 oracle oinstall 42 Apr 17 2019 olap
drwxr-x--- 14 oracle oinstall 4096 Jul 26 20:55 OPatch
drwxr-xr-x 3 oracle oinstall 16 Jul 26 21:38 opatchautocfg
drwxr-x--- 3 oracle oinstall 28 Apr 18 2019 .opatchauto_storage
drwxr-x--- 14 oracle oinstall 4096 Jul 22 11:22 OPatch.bak
drwxr-xr-x 7 oracle oinstall 65 Apr 17 2019 opmn
drwxr-xr-x 4 oracle oinstall 34 Apr 17 2019 oracore
-rw-r----- 1 oracle oinstall 59 Jul 21 20:32 oraInst.loc
drwxr-xr-x 6 oracle oinstall 52 Apr 17 2019 ord
drwxr-xr-x 4 oracle oinstall 66 Apr 17 2019 ords
drwxr-xr-x 3 oracle oinstall 19 Apr 17 2019 oss
drwxr-xr-x 8 oracle oinstall 226 Jul 22 18:19 oui
drwxr-xr-x 4 oracle oinstall 33 Apr 17 2019 owm
drwx------ 8 oracle oinstall 297 Jul 28 21:47 .patch_storage
drwxr-xr-x 5 oracle oinstall 39 Apr 17 2019 perl
drwxr-xr-x 6 oracle oinstall 78 Apr 17 2019 plsql
drwxr-xr-x 6 oracle oinstall 56 Apr 18 2019 precomp
drwxr-xr-x 2 oracle oinstall 26 Apr 17 2019 QOpatch
drwxr-xr-x 5 oracle oinstall 52 Apr 17 2019 R
drwxr-xr-x 4 oracle oinstall 29 Apr 17 2019 racg
drwxr-xr-x 15 oracle oinstall 163 Jul 26 21:43 rdbms
drwxr-xr-x 3 oracle oinstall 21 Apr 17 2019 relnotes
-rwx------ 1 oracle oinstall 549 Jul 22 18:19 root.sh
-rwx------ 1 oracle oinstall 786 Apr 17 2019 root.sh.old
-rw-r----- 1 oracle oinstall 10 Apr 17 2019 root.sh.old.1
-rwx------ 1 oracle oinstall 638 Apr 18 2019 root.sh.old.2
-rw-r----- 1 oracle oinstall 10 Apr 17 2019 root.sh.old.3
-rwx------ 1 oracle oinstall 549 Jul 22 11:22 root.sh.old.4
-rw-r----- 1 oracle oinstall 10 Apr 17 2019 root.sh.old.5
-rwx------ 1 oracle oinstall 549 Jul 22 13:23 root.sh.old.6
-rw-r----- 1 oracle oinstall 10 Apr 17 2019 root.sh.old.7
-rwx------ 1 oracle oinstall 549 Jul 22 15:34 root.sh.old.8
-rw-r----- 1 oracle oinstall 10 Apr 17 2019 root.sh.old.9
-rwxr-x--- 1 oracle oinstall 1783 Mar 9 2017 runInstaller
-rw-r--r-- 1 oracle oinstall 2927 Oct 15 2016 schagent.conf
drwxr-xr-x 5 oracle oinstall 119 Apr 17 2019 sdk
drwxr-xr-x 3 oracle oinstall 18 Apr 17 2019 slax
drwxr-xr-x 4 oracle oinstall 41 Apr 17 2019 sqldeveloper
drwxr-xr-x 3 oracle oinstall 17 Apr 17 2019 sqlj
drwxr-xr-x 6 oracle oinstall 288 Jul 28 21:48 sqlpatch
drwxr-xr-x 6 oracle oinstall 53 Jul 22 18:19 sqlplus
drwxr-xr-x 6 oracle oinstall 54 Apr 17 2019 srvm
drwxr-xr-x 5 oracle oinstall 45 Apr 17 2019 suptools
drwxr-xr-x 3 oracle oinstall 35 Apr 17 2019 ucp
drwxr-xr-x 4 oracle oinstall 31 Apr 17 2019 usm
drwxr-xr-x 2 oracle oinstall 33 Apr 17 2019 utl
drwxr-xr-x 3 oracle oinstall 19 Apr 17 2019 wwg
drwxr-x--- 7 oracle oinstall 69 Apr 17 2019 xdk
[oracle@rac1 dbhome_1]$ cd .patch_storage
[oracle@rac1 .patch_storage]$ ls
29517242_Apr_17_2019_23_27_10 31219897_Jul_8_2020_01_57_16 31305087_Jun_25_2020_11_36_08 LatestOPatchSession.properties record_inventory.txt
29585399_Apr_9_2019_19_12_47 31281355_Jul_6_2020_11_18_02 interim_inventory.txt NApply
[oracle@rac1 .patch_storage]$ cd ..
[oracle@rac1 dbhome_1]$ pwd
/oracle/app/oracle/product/19c/dbhome_1
[oracle@rac1 dbhome_1]$ ssh /patch/31326369/31326369/31219897
ssh: Could not resolve hostname /patch/31326369/31326369/31219897: Name or service not known
[oracle@rac1 dbhome_1]$ ssh rac2
Last login: Mon Jul 27 21:29:50 2020 from rac1
[oracle@rac2 ~]$ cd /patch/31326369/31326369/31219897
[oracle@rac2 31219897]$ ll
total 84
drwxrwxrwx 3 grid oinstall 20 Jul 8 16:57 etc
drwxrwxrwx 5 grid oinstall 49 Jul 8 16:57 files
-rwxrwxrwx 1 grid oinstall 80721 Jul 11 03:19 README.html
-rwxrwxrwx 1 grid oinstall 11 Jul 8 16:57 README.txt
[oracle@rac2 31219897]$ pwd
/patch/31326369/31326369/31219897
[oracle@rac2 31219897]$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
PREREQ session
Oracle Home : /oracle/app/oracle/product/19c/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.21
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_21-50-11PM_1.log
Invoking prereq "checkconflictagainstohwithdetail"
Prereq "checkConflictAgainstOHWithDetail" passed.
OPatch succeeded.
[oracle@rac2 31219897]$ opatch apply
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/19c/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.21
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_21-50-35PM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 31219897
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/oracle/app/oracle/product/19c/dbhome_1')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '31219897' to OH '/oracle/app/oracle/product/19c/dbhome_1'
Patching component oracle.javavm.server, 19.0.0.0.0...
Patching component oracle.javavm.server.core, 19.0.0.0.0...
Patching component oracle.rdbms.dbscripts, 19.0.0.0.0...
Patching component oracle.rdbms, 19.0.0.0.0...
ApplySession failed in system modification phase... 'ApplySession::apply failed: java.io.IOException: oracle.sysman.oui.patch.PatchException: java.io.FileNotFoundException: /oracle/app/oraInventory/ContentsXML/oui-patch.xml (Permission denied)'
Restoring "/oracle/app/oracle/product/19c/dbhome_1" to the state prior to running NApply...
#### Stack trace of processes holding locks ####
Time: 2020-07-28_09-50-35PM
Command: oracle/opatch/OPatch apply -invPtrLoc /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
Lock File Name: /oracle/app/oraInventory/locks/_oracle_app_oracle_product_19c_dbhome_1_writer.lock
StackTrace:
-----------
java.lang.Throwable
at oracle.sysman.oii.oiit.OiitLockHeartbeat.writeStackTrace(OiitLockHeartbeat.java:193)
at oracle.sysman.oii.oiit.OiitLockHeartbeat.<init>(OiitLockHeartbeat.java:173)
at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:346)
at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:238)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:564)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initAreaControl(OiicStandardInventorySession.java:359)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:332)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:294)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:243)
at oracle.sysman.oui.patch.impl.HomeOperationsImpl.initialize(HomeOperationsImpl.java:107)
at oracle.glcm.opatch.common.api.install.HomeOperationsShell.initialize(HomeOperationsShell.java:117)
at oracle.opatch.ipm.IPMRWServices.addPatchCUP(IPMRWServices.java:134)
at oracle.opatch.ipm.IPMRWServices.add(IPMRWServices.java:146)
at oracle.opatch.ApplySession.apply(ApplySession.java:899)
at oracle.opatch.ApplySession.processLocal(ApplySession.java:4098)
at oracle.opatch.ApplySession.process(ApplySession.java:5080)
at oracle.opatch.ApplySession.process(ApplySession.java:4942)
at oracle.opatch.OPatchACL.processApply(OPatchACL.java:310)
at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:1429)
at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:372)
at oracle.opatch.opatchutil.NApply.process(NApply.java:352)
at oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at oracle.opatch.UtilSession.process(UtilSession.java:355)
at oracle.opatch.OPatchSession.process(OPatchSession.java:2660)
at oracle.opatch.OPatch.process(OPatch.java:840)
at oracle.opatch.OPatch.main(OPatch.java:897)
------------------------------------
OPatch failed to restore OH '/oracle/app/oracle/product/19c/dbhome_1'. Consult OPatch document to restore the home manually before proceeding.
NApply was not able to restore the home. Please invoke the following scripts:
- restore.[sh,bat]
- make.txt (Unix only)
to restore the ORACLE_HOME. They are located under
"/oracle/app/oracle/product/19c/dbhome_1/.patch_storage/NApply/2020-07-28_21-50-35PM"
UtilSession failed: ApplySession failed in system modification phase... 'ApplySession::apply failed: java.io.IOException: oracle.sysman.oui.patch.PatchException: java.io.FileNotFoundException: /oracle/app/oraInventory/ContentsXML/oui-patch.xml (Permission denied)'
Log file location: /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_21-50-35PM_1.log
OPatch failed with error code 73
[oracle@rac2 31219897]$ ll /oracle/app/oraInventory/ContentsXML/oui-patch.xml
-rw-r--r-- 1 grid oinstall 174 Jul 26 22:39 /oracle/app/oraInventory/ContentsXML/oui-patch.xml
[oracle@rac2 31219897]$ pwd
/patch/31326369/31326369/31219897
[oracle@rac2 31219897]$ exit
logout
Connection to rac2 closed.
[oracle@rac1 dbhome_1]$ ll /oracle/app/oraInventory/ContentsXML/oui-patch.xml
-rw-rw---- 1 grid oinstall 174 Jul 28 21:48 /oracle/app/oraInventory/ContentsXML/oui-patch.xml
[oracle@rac1 dbhome_1]$ ssh rac2
Last login: Tue Jul 28 21:49:44 2020 from rac1
[oracle@rac2 ~]$ su - root
Password:
Last login: Tue Jul 28 21:26:22 CST 2020 from 192.168.52.1 on pts/0
[root@rac2 ~]# chmod 660 /oracle/app/oraInventory/ContentsXML/oui-patch.xml
[root@rac2 ~]# ll /oracle/app/oraInventory/ContentsXML/oui-patch.xml
-rw-rw---- 1 grid oinstall 174 Jul 26 22:39 /oracle/app/oraInventory/ContentsXML/oui-patch.xml
[root@rac2 ~]# su - oracle
Last login: Tue Jul 28 21:52:18 CST 2020 from rac1 on pts/1
[oracle@rac2 ~]$ cd /patch/31326369/31326369/31219897
[oracle@rac2 31219897]$ opatch apply --此步骤可能应该用opatchauto resume,但没试过
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/19c/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.21
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_21-53-35PM_1.log
Verifying environment and performing prerequisite checks...
UtilSession failed: NApply was not able to get the list of patches to apply.
Log file location: /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_21-53-35PM_1.log
OPatch failed with error code 73
[oracle@rac2 31219897]$ opatch rollback -id 31219897
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
Argument(s) Error... Patch not present in the Oracle Home, Rollback cannot proceed
If the patch was applied using -no_inventory option, use -ph option
to specify the patch shiphome location. Use 'opatch rollback -help'
to get more information.
Please check the arguments and try again.
OPatch failed with error code 135
[oracle@rac2 31219897]$ ll /oracle/app/oraInventory/locks/_oracle_app_oracle_product_19c_dbhome_1_writer.lock
-rw-rw---- 1 oracle oinstall 2740 Jul 28 21:51 /oracle/app/oraInventory/locks/_oracle_app_oracle_product_19c_dbhome_1_writer.lock
[oracle@rac2 31219897]$ mv /oracle/app/oraInventory/locks/_oracle_app_oracle_product_19c_dbhome_1_writer.lock /oracle/app/oraInventory/locks/_oracle_app_oracle_product_19c_dbhome_1_writer.lockbak
[oracle@rac2 31219897]$ ll /oracle/app/oraInventory/ContentsXML/oui-patch.xml
-rw-rw---- 1 grid oinstall 174 Jul 26 22:39 /oracle/app/oraInventory/ContentsXML/oui-patch.xml
[oracle@rac2 31219897]$ mv /oracle/app/oraInventory/locks/_oracle_app_oracle_product_19c_dbhome_1_writer.lock /oracle/app/oraInventory/locks/_oracle_app_oracle[oracle@rac2 31219897]$ ll /oracle/app/oraInventory/locks/_oracle_app_oracle_product_19c_dbhome_1_writer.lock
[oracle@rac2 31219897]$ opatch apply
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/19c/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.21
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_21-57-11PM_1.log
Verifying environment and performing prerequisite checks...
UtilSession failed: NApply was not able to get the list of patches to apply.
Log file location: /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_21-57-11PM_1.log
OPatch failed with error code 73
[oracle@rac2 31219897]$ cat /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
#Oracle Installer Location File Location
#Wed Jul 22 18:21:42 CST 2020
inst_group=oinstall
inventory_loc=/oracle/app/oraInventory
[oracle@rac2 31219897]$ opatch util cleanup
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/19c/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.21
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_22-00-24PM_1.log
Invoking utility "cleanup"
OPatch will clean up 'restore.sh,make.txt' files and 'scratch,backup' directories.
You will be still able to rollback patches after this cleanup.
Do you want to proceed? [y|n]
y
User Responded with: Y
UtilSession failed: java.lang.RuntimeException: Unable to create patchObject
Possible causes are:
ORACLE_HOME/inventory/oneoffs/31219897 is corrupted. PatchObject constructor: Input file "/oracle/app/oracle/product/19c/dbhome_1/inventory/oneoffs/31219897/etc/config/actions" or "/oracle/app/oracle/product/19c/dbhome_1/inventory/oneoffs/31219897/etc/config/inventory" does not exist.
OPatch failed with error code 73
[oracle@rac2 31219897]$ pwd
/patch/31326369/31326369/31219897
[oracle@rac2 31219897]$ exit
logout
[root@rac2 ~]# su - oracle
Last login: Tue Jul 28 21:53:24 CST 2020 on pts/1
[oracle@rac2 ~]$ cd $ORACLE_HOME/inventory/oneoffs/
[oracle@rac2 oneoffs]$ ll
total 0
drwxr-x--- 4 oracle oinstall 29 Jul 22 18:20 29517242
drwxr-x--- 4 oracle oinstall 29 Jul 22 18:20 29585399
drwxr-xr-x 4 oracle oinstall 29 Jul 26 22:05 31281355
drwxr-xr-x 4 oracle oinstall 29 Jul 26 22:06 31305087
[oracle@rac2 oneoffs]$ ssh rac3
ssh: Could not resolve hostname rac3: Name or service not known
[oracle@rac2 oneoffs]$ ssh rac2
Warning: Permanently added the RSA host key for IP address '192.168.52.182' to the list of known hosts.
Last login: Tue Jul 28 22:00:56 2020
[oracle@rac2 ~]$ exit
logout
Connection to rac2 closed.
[oracle@rac2 oneoffs]$ exit
logout
[root@rac2 ~]# exit
logout
[oracle@rac2 ~]$ exit
logout
Connection to rac2 closed.
[oracle@rac1 dbhome_1]$ cd $ORACLE_HOME/inventory/oneoffs/
[oracle@rac1 oneoffs]$ ll
total 0
drwxr-x--- 4 oracle oinstall 29 Apr 18 2019 29517242
drwxr-x--- 4 oracle oinstall 29 Apr 18 2019 29585399
drwxr-xr-x 4 oracle oinstall 29 Jul 28 21:48 31219897
drwxr-xr-x 4 oracle oinstall 29 Jul 26 21:44 31281355
drwxr-xr-x 4 oracle oinstall 29 Jul 26 21:44 31305087
[oracle@rac1 oneoffs]$ scp -rp 31219897 rac2:$ORACLE_HOME/inventory/oneoffs/
inventory.xml 100% 3200 4.0MB/s 00:00
actions.xml 100% 6477 7.7MB/s 00:00
[oracle@rac1 oneoffs]$ ssh rac2
Last login: Tue Jul 28 22:01:19 2020 from rac2
[oracle@rac2 ~]$ pwd
/home/oracle
[oracle@rac2 ~]$ cd /patch/31326369/31326369/31219897
[oracle@rac2 31219897]$ pwd
/patch/31326369/31326369/31219897
[oracle@rac2 31219897]$ pwd
/patch/31326369/31326369/31219897
[oracle@rac2 31219897]$ find $ORACLE_HOME -name restore.sh
[oracle@rac2 31219897]$ find $ORACLE_HOME -name make.txt
[oracle@rac2 31219897]$ find $ORACLE_HOME -name restore
[oracle@rac2 31219897]$ pwd
/patch/31326369/31326369/31219897
[oracle@rac2 31219897]$ cd $ORACLE_BASE
[oracle@rac2 oracle]$ find ./ -name restore.sh
[oracle@rac2 oracle]$ pwd
/oracle/app/oracle
[oracle@rac2 oracle]$ cd $ORACLE_HOME
[oracle@rac2 dbhome_1]$ find ./ -name restore.sh
[oracle@rac2 dbhome_1]$ cd /patch/31326369/31326369/31219897
[oracle@rac2 31219897]$ opatch lspatches
31219897;OJVM RELEASE UPDATE: 19.8.0.0.200714 (31219897)
31305087;OCW RELEASE UPDATE 19.8.0.0.0 (31305087)
31281355;Database Release Update : 19.8.0.0.200714 (31281355)
OPatch succeeded.
[oracle@rac2 31219897]$ opatch util cleanup
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/19c/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.21
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_22-06-31PM_1.log
Invoking utility "cleanup"
OPatch will clean up 'restore.sh,make.txt' files and 'scratch,backup' directories.
You will be still able to rollback patches after this cleanup.
Do you want to proceed? [y|n]
y
User Responded with: Y
Backup area for restore has been cleaned up. For a complete list of files/directories
deleted, Please refer log file.
OPatch succeeded.
[oracle@rac2 31219897]$ opatch apply
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/19c/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.21
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_22-06-57PM_1.log
Verifying environment and performing prerequisite checks...
The following patch(es) are duplicate patches with patches installed in the Oracle Home.
[ 31219897]
You have already installed same patch(es) with same UPI(s) or same version(s).
These patch(es) will be skipped.
OPatch Session completed with warnings.
Log file location: /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_22-06-57PM_1.log
OPatch completed with warnings.
[oracle@rac2 31219897]$ mv /oracle/app/oraInventory/locks/_oracle_app_oracle_product_19c_dbhome_1_writer.lock /oracle/app/oraInventory/locks/_oracle_app_oracle[oracle@rac2 31219897]$ ll /oracle/app/oraInventory/locks/_oracle_app_oracle_product_19c_dbhome_1_writer.lock
[oracle@rac2 31219897]$ opatch rollback -id 31219897
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/19c/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.21
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_22-07-26PM_1.log
Patches will be rolled back in the following order:
31219897
The following patch(es) will be rolled back: 31219897
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/oracle/app/oracle/product/19c/dbhome_1')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Rolling back patch 31219897...
RollbackSession rolling back interim patch '31219897' from OH '/oracle/app/oracle/product/19c/dbhome_1'
Patching component oracle.javavm.server, 19.0.0.0.0...
Patching component oracle.javavm.server.core, 19.0.0.0.0...
Patching component oracle.rdbms.dbscripts, 19.0.0.0.0...
Patching component oracle.rdbms, 19.0.0.0.0...
RollbackSession removing interim patch '31219897' from inventory
Log file location: /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_22-07-26PM_1.log
OPatch succeeded.
[oracle@rac2 31219897]$ mv /oracle/app/oraInventory/locks/_oracle_app_oracle_product_19c_dbhome_1_writer.lock /oracle/app/oraInventory/locks/_oracle_app_oracle[oracle@rac2 31219897]$ ll /oracle/app/oraInventory/locks/_oracle_app_oracle_product_19c_dbhome_1_writer.lock
[oracle@rac2 31219897]$ mv /oracle/app/oraInventory/locks/_oracle_app_oracle_product_19c_dbhome_1_writer.lock /oracle/app/oraInventory/locks/_oracle_app_oracle[oracle@rac2 31219897]$ ll /oracle/app/oraInventory/ContentsXML/oui-patch.xml
[oracle@rac2 31219897]$ ll /oracle/app/oraInventory/ContentsXML/oui-patch.xml
-rw-rw---- 1 grid oinstall 174 Jul 28 22:07 /oracle/app/oraInventory/ContentsXML/oui-patch.xml
[oracle@rac2 31219897]$ opatch apply
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/19c/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.21
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_22-08-29PM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 31219897
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/oracle/app/oracle/product/19c/dbhome_1')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '31219897' to OH '/oracle/app/oracle/product/19c/dbhome_1'
Patching component oracle.javavm.server, 19.0.0.0.0...
Patching component oracle.javavm.server.core, 19.0.0.0.0...
Patching component oracle.rdbms.dbscripts, 19.0.0.0.0...
Patching component oracle.rdbms, 19.0.0.0.0...
Patch 31219897 successfully applied.
Log file location: /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2020-07-28_22-08-29PM_1.log
OPatch succeeded.
[oracle@rac2 31219897]$ opatch lspatches
31219897;OJVM RELEASE UPDATE: 19.8.0.0.200714 (31219897)
31305087;OCW RELEASE UPDATE 19.8.0.0.0 (31305087)
31281355;Database Release Update : 19.8.0.0.200714 (31281355)
OPatch succeeded.
[oracle@rac2 31219897]$ exit
logout
Connection to rac2 closed.
[oracle@rac1 oneoffs]$ opatch lspatches
31219897;OJVM RELEASE UPDATE: 19.8.0.0.200714 (31219897)
31305087;OCW RELEASE UPDATE 19.8.0.0.0 (31305087)
31281355;Database Release Update : 19.8.0.0.200714 (31281355)
OPatch succeeded.
[oracle@rac1 oneoffs]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Jul 28 22:10:45 2020
Version 19.8.0.0.0
Copyright (c) 1982, 2020, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 4999610048 bytes
Fixed Size 9146048 bytes
Variable Size 1291845632 bytes
Database Buffers 3690987520 bytes
Redo Buffers 7630848 bytes
Database mounted.
Database opened.
SQL> alter system set cluster_database=false scope=spfile;
System altered.
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.8.0.0.0
sr[oracle@rac1 oneoffs]$ srvctl stop database -d orcl
[oracle@rac1 oneoffs]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Jul 28 22:12:40 2020
Version 19.8.0.0.0
Copyright (c) 1982, 2020, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup upgrade
ORACLE instance started.
Total System Global Area 4999610048 bytes
Fixed Size 9146048 bytes
Variable Size 1291845632 bytes
Database Buffers 3690987520 bytes
Redo Buffers 7630848 bytes
Database mounted.
Database opened.
SQL> show pdbs;
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED MIGRATE YES
3 PDB MOUNTED
SQL> alter pluggable database all open upgrade;
Pluggable database altered.
SQL> show pdbs;
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED MIGRATE YES
3 PDB MIGRATE YES
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.8.0.0.0
[oracle@rac1 oneoffs]$ cd $ORACLE_HOME/OPatch
[oracle@rac1 OPatch]$ ./datapatch -verbose
SQL Patching tool version 19.8.0.0.0 Production on Tue Jul 28 22:14:41 2020
Copyright (c) 2012, 2020, Oracle. All rights reserved.
Log file for this invocation: /oracle/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_22432_2020_07_28_22_14_41/sqlpatch_invocation.log
Connecting to database...OK
Gathering database info...done
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 interim SQL patches:
Interim patch 31219897 (OJVM RELEASE UPDATE: 19.8.0.0.200714 (31219897)):
Binary registry: Installed
PDB CDB$ROOT: Not installed
PDB PDB: Not installed
PDB PDB$SEED: Not installed
Current state of release update SQL patches:
Binary registry:
19.8.0.0.0 Release_Update 200703031501: Installed
PDB CDB$ROOT:
Applied 19.8.0.0.0 Release_Update 200703031501 successfully on 27-JUL-20 09.52.49.305000 PM
PDB PDB:
Applied 19.8.0.0.0 Release_Update 200703031501 successfully on 27-JUL-20 09.52.52.237480 PM
PDB PDB$SEED:
Applied 19.8.0.0.0 Release_Update 200703031501 successfully on 27-JUL-20 09.52.53.065046 PM
Adding patches to installation queue and performing prereq checks...done
Installation queue:
For the following PDBs: CDB$ROOT PDB$SEED PDB
No interim patches need to be rolled back
No release update patches need to be installed
The following interim patches will be applied:
31219897 (OJVM RELEASE UPDATE: 19.8.0.0.200714 (31219897))
Installing patches...
Patch installation complete. Total patches installed: 3
Validating logfiles...done
Patch 31219897 apply (pdb CDB$ROOT): SUCCESS
logfile: /oracle/app/oracle/cfgtoollogs/sqlpatch/31219897/23619699/31219897_apply_ORCL_CDBROOT_2020Jul28_22_15_10.log (no errors)
Patch 31219897 apply (pdb PDB$SEED): SUCCESS
logfile: /oracle/app/oracle/cfgtoollogs/sqlpatch/31219897/23619699/31219897_apply_ORCL_PDBSEED_2020Jul28_22_15_13.log (no errors)
Patch 31219897 apply (pdb PDB): SUCCESS
logfile: /oracle/app/oracle/cfgtoollogs/sqlpatch/31219897/23619699/31219897_apply_ORCL_PDB_2020Jul28_22_15_13.log (no errors)
Automatic recompilation incomplete; run utlrp.sql to revalidate.
PDBs: PDB$SEED
SQL Patching tool complete on Tue Jul 28 22:15:24 2020
[oracle@rac1 OPatch]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Jul 28 22:16:00 2020
Version 19.8.0.0.0
Copyright (c) 1982, 2020, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.8.0.0.0
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 4999610048 bytes
Fixed Size 9146048 bytes
Variable Size 1291845632 bytes
Database Buffers 3690987520 bytes
Redo Buffers 7630848 bytes
Database mounted.
Database opened.
SQL> alter system set cluster_database=true scope=spfile;
System altered.
SQL> show parameter cluster;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
cdb_cluster boolean FALSE
cdb_cluster_name string
cluster_database boolean FALSE
cluster_database_instances integer 1
cluster_interconnects string
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.8.0.0.0
[oracle@rac1 OPatch]$ srvctl start database -d orcl
[oracle@rac1 OPatch]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Tue Jul 28 22:19:12 2020
Version 19.8.0.0.0
Copyright (c) 1982, 2020, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.8.0.0.0
SQL> show parameter cluster;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
cdb_cluster boolean FALSE
cdb_cluster_name string
cluster_database boolean TRUE
cluster_database_instances integer 2
cluster_interconnects string
SQL> @?/rdbms/admin/utlrp.sql
Session altered.
TIMESTAMP
--------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_BGN 2020-07-28 22:19:27
DOC> The following PL/SQL block invokes UTL_RECOMP to recompile invalid
DOC> objects in the database. Recompilation time is proportional to the
DOC> number of invalid objects in the database, so this command may take
DOC> a long time to execute on a database with a large number of invalid
DOC> objects.
DOC>
DOC> Use the following queries to track recompilation progress:
DOC>
DOC> 1. Query returning the number of invalid objects remaining. This
DOC> number should decrease with time.
DOC> SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
DOC>
DOC> 2. Query returning the number of objects compiled so far. This number
DOC> should increase with time.
DOC> SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
DOC>
DOC> This script automatically chooses serial or parallel recompilation
DOC> based on the number of CPUs available (parameter cpu_count) multiplied
DOC> by the number of threads per CPU (parameter parallel_threads_per_cpu).
DOC> On RAC, this number is added across all RAC nodes.
DOC>
DOC> UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
DOC> recompilation. Jobs are created without instance affinity so that they
DOC> can migrate across RAC nodes. Use the following queries to verify
DOC> whether UTL_RECOMP jobs are being created and run correctly:
DOC>
DOC> 1. Query showing jobs created by UTL_RECOMP
DOC> SELECT job_name FROM dba_scheduler_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
DOC> 2. Query showing UTL_RECOMP jobs that are running
DOC> SELECT job_name FROM dba_scheduler_running_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>#
PL/SQL procedure successfully completed.
TIMESTAMP
--------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_END 2020-07-28 22:19:29
DOC> The following query reports the number of invalid objects.
DOC>
DOC> If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#
OBJECTS WITH ERRORS
-------------------
0
DOC> The following query reports the number of exceptions caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC> Note: Typical compilation errors (due to coding errors) are not
DOC> logged into this table: they go into DBA_ERRORS instead.
DOC>#
ERRORS DURING RECOMPILATION
---------------------------
0
Function created.
PL/SQL procedure successfully completed.
Function dropped.
PL/SQL procedure successfully completed.
SQL> show pdbs;
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB READ WRITE NO
SQL> alter session set container=PDB;
Session altered.
SQL> @?/rdbms/admin/utlrp.sql
Session altered.
TIMESTAMP
--------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_BGN 2020-07-28 22:21:40
DOC> The following PL/SQL block invokes UTL_RECOMP to recompile invalid
DOC> objects in the database. Recompilation time is proportional to the
DOC> number of invalid objects in the database, so this command may take
DOC> a long time to execute on a database with a large number of invalid
DOC> objects.
DOC>
DOC> Use the following queries to track recompilation progress:
DOC>
DOC> 1. Query returning the number of invalid objects remaining. This
DOC> number should decrease with time.
DOC> SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
DOC>
DOC> 2. Query returning the number of objects compiled so far. This number
DOC> should increase with time.
DOC> SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
DOC>
DOC> This script automatically chooses serial or parallel recompilation
DOC> based on the number of CPUs available (parameter cpu_count) multiplied
DOC> by the number of threads per CPU (parameter parallel_threads_per_cpu).
DOC> On RAC, this number is added across all RAC nodes.
DOC>
DOC> UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
DOC> recompilation. Jobs are created without instance affinity so that they
DOC> can migrate across RAC nodes. Use the following queries to verify
DOC> whether UTL_RECOMP jobs are being created and run correctly:
DOC>
DOC> 1. Query showing jobs created by UTL_RECOMP
DOC> SELECT job_name FROM dba_scheduler_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
DOC> 2. Query showing UTL_RECOMP jobs that are running
DOC> SELECT job_name FROM dba_scheduler_running_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>#
PL/SQL procedure successfully completed.
TIMESTAMP
--------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_END 2020-07-28 22:21:42
DOC> The following query reports the number of invalid objects.
DOC>
DOC> If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#
OBJECTS WITH ERRORS
-------------------
0
DOC> The following query reports the number of exceptions caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC> Note: Typical compilation errors (due to coding errors) are not
DOC> logged into this table: they go into DBA_ERRORS instead.
DOC>#
ERRORS DURING RECOMPILATION
---------------------------
0
Function created.
PL/SQL procedure successfully completed.
Function dropped.
PL/SQL procedure successfully completed.
SQL> select count(*) from dba_objects where status='INVALID';
COUNT(*)
----------
0
SQL> set line 132
SQL> set wrap off
SQL> select comp_id,status,version from dba_registry
COMP_ID STATUS VERSION
------------------------------ ---------------------- ------------------------------
CATALOG VALID 19.0.0.0.0
CATPROC VALID 19.0.0.0.0
RAC VALID 19.0.0.0.0
JAVAVM VALID 19.0.0.0.0
XML VALID 19.0.0.0.0
CATJAVA VALID 19.0.0.0.0
APS VALID 19.0.0.0.0
XDB VALID 19.0.0.0.0
OWM VALID 19.0.0.0.0
CONTEXT VALID 19.0.0.0.0
ORDIM VALID 19.0.0.0.0
COMP_ID STATUS VERSION
------------------------------ ---------------------- ------------------------------
SDO VALID 19.0.0.0.0
XOQ VALID 19.0.0.0.0
OLS VALID 19.0.0.0.0
DV VALID 19.0.0.0.0
15 rows selected.
SQL> conn / as sysdba
Connected.
SQL> select comp_id,status,version from dba_registry;
COMP_ID STATUS VERSION
------------------------------ ---------------------- ------------------------------
CATALOG VALID 19.0.0.0.0
CATPROC VALID 19.0.0.0.0
RAC VALID 19.0.0.0.0
JAVAVM VALID 19.0.0.0.0
XML VALID 19.0.0.0.0
CATJAVA VALID 19.0.0.0.0
APS VALID 19.0.0.0.0
XDB VALID 19.0.0.0.0
OWM VALID 19.0.0.0.0
CONTEXT VALID 19.0.0.0.0
ORDIM VALID 19.0.0.0.0
COMP_ID STATUS VERSION
------------------------------ ---------------------- ------------------------------
SDO VALID 19.0.0.0.0
XOQ VALID 19.0.0.0.0
OLS VALID 19.0.0.0.0
DV VALID 19.0.0.0.0
15 rows selected.
SQL> select patch_id,action,status,ACTION_TIME from dba_registry_sqlpatch;
PATCH_ID ACTION STATUS ACTION_TIME
---------- --------------- ------------------------- ---------------------------------------------------------------------------
29517242 APPLY SUCCESS 26-JUL-20 12.14.21.091505 PM
31281355 APPLY SUCCESS 27-JUL-20 09.52.49.305000 PM
31219897 APPLY SUCCESS 28-JUL-20 10.15.21.672220 PM
SQL> alter session set container=PDB;
Session altered.
SQL> select patch_id,action,status,ACTION_TIME from dba_registry_sqlpatch;
PATCH_ID ACTION STATUS ACTION_TIME
---------- --------------- ------------------------- ---------------------------------------------------------------------------
29517242 APPLY SUCCESS 26-JUL-20 12.21.57.588343 PM
31281355 APPLY SUCCESS 27-JUL-20 09.52.52.237480 PM
31219897 APPLY SUCCESS 28-JUL-20 10.15.21.705940 PM
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.8.0.0.0
网友遇到的过的坑参考: