RollbackSession failed in system modification phase — Archive not rolled back

When patching a 19c database, I ran into an issue when it’s trying to roll back the old OJVM patch and applying the newer one.

UtilSession failed: RollbackSession failed in system modification phase... 'Archive not rolled back /opt/oracle/190000/.patch_storage/33561310_Jan_5_2022_08_13_10/files/lib/libserver19.a/joxwtp.o to /opt/oracle/190000/lib/libserver19.a... '
OPatch failed with error code 73

It’s strange because I could see the backup file “joxwtp.o” was there. Somehow the patching utility could not read it and restore it to “libserver19.a“. I have a similar system so I compared the md5 checksum of the file “joxwtp.o” on two servers. They are different!

I moved the file out and copied it from that similar system. Tried patching again and it worked. So somehow the file was corrupted and I have no idea how that happened.

Leave a comment