My Oracle Support Banner

ERROR: md5sum do not match While Applying Patch in Oracle Database Cloud (Doc ID 2390385.1)

Last updated on MAY 26, 2018

Applies to:

Oracle Database Cloud Service - Version N/A to N/A [Release 1.0]
Linux x86-64

Symptoms

Customer was trying to apply April 2018 PSU thorugh dbpatchm utility and it was failing with the error "ERROR: md5sum do not match"

From dbpatchm apply output:

DBAAS CLI version 1.0.0
Executing command dbpatchm --run -apply -cli
/var/opt/oracle/patch/dbpatchm -apply -cli
Use of uninitialized value $cplat in pattern match (m//) at /var/opt/oracle/patch/dbpatchm line 6214.
Use of uninitialized value $service in pattern match (m//) at /var/opt/oracle/patch/dbpatchm line 4077.
Starting DBPATCHM
Logfile is /var/opt/oracle/log/dbpatchm/dbpatchm_2018-04-23_05:32:34.log
Config file is /var/opt/oracle/patch/dbpatchm.cfg

INFO: cdb is set to : yes
INFO: dbversion detected : 12201
INFO: patching type : psu

WARN: inventory check: patch 26729611 installed is a oneoff - which could be lost in upgrade process
WARN: and it can be reinstalled manually if needed, post upgrade.
WARN: inventory check: patch 27034890 installed is a oneoff - which could be lost in upgrade process
WARN: and it can be reinstalled manually if needed, post upgrade.
WARN: inventory check: patch 24923080 installed is a oneoff - which could be lost in upgrade process
WARN: and it can be reinstalled manually if needed, post upgrade.
WARN: inventory check: patch 26272761 installed is a oneoff - which could be lost in upgrade process
WARN: and it can be reinstalled manually if needed, post upgrade.
WARN: inventory check: patch 27372720 installed is a oneoff - which could be lost in upgrade process
WARN: and it can be reinstalled manually if needed, post upgrade.
WARN: inventory check: patch 18774543 installed is a oneoff - which could be lost in upgrade process
WARN: and it can be reinstalled manually if needed, post upgrade.
WARN: inventory check: patch 26389300 installed is a oneoff - which could be lost in upgrade process
WARN: and it can be reinstalled manually if needed, post upgrade.
WARN: inventory check: patch 24701882 installed is a oneoff - which could be lost in upgrade process
WARN: and it can be reinstalled manually if needed, post upgrade.
WARN: inventory check: patch 27001739 installed is a oneoff - which could be lost in upgrade process
WARN: and it can be reinstalled manually if needed, post upgrade.
WARN: inventory check: patch 27105253 installed is a psu - upgrade will bring in newer s/w bits
INFO: there are interim patches installed - please check /var/opt/oracle/log/dbpatchm/invlog for details
detecting rollbackstr for 12.2.0.1.180116, ee
INFO: prereq check phase is completed
INFO: ready for patch apply
ERROR: md5sum do not match
dbpatchm Execution completed

From dbpatchm log:

2018-04-23 05:32:34 - Starting DBPATCHM
2018-04-23 05:32:34 - Logfile is /var/opt/oracle/log/dbpatchm/dbpatchm_2018-04-23_05:32:34.log
2018-04-23 05:32:38 - User args to process are -apply -cli
2018-04-23 05:32:38 - processing line -apply
2018-04-23 05:32:38 -
WARN : No data found for input variable apply
2018-04-23 05:32:38 - processing line cli
2018-04-23 05:32:38 -
WARN : No data found for input variable cli
2018-04-23 05:32:38 - Dump of command line params is
2018-04-23 05:32:38 -
$VAR1 = {};
2018-04-23 05:32:38 - Config file is /var/opt/oracle/patch/dbpatchm.cfg
2018-04-23 05:32:38 - processing line # sample config file
2018-04-23 05:32:38 - processing line
2018-04-23 05:32:38 - processing line # oss storage container url with public access, normally should not be changed
2018-04-23 05:32:38 - processing line # there is a default for this now, that is set to production container
2018-04-23 05:32:38 - processing line oss_container_url=""
2018-04-23 05:32:38 - found match for oss_container_url, data is blank, set to undef
2018-04-23 05:32:38 - processing line
2018-04-23 05:32:38 - processing line # change this following golden image zip/psu zip file to be used in patching
2018-04-23 05:32:38 - processing line # this will be used only if you run dbaascli/dbpatchm directly
2018-04-23 05:32:38 - processing line # keep these files in different location from temporary_space given below & /u01/psu
2018-04-23 05:32:38 - processing line gold_img_loc="</tmp/db11.2.0.4.0_EE_PSU.tar.gz>"
2018-04-23 05:32:38 - found match for gold_img_loc, saving data </tmp/db11.2.0.4.0_EE_PSU.tar.gz>
2018-04-23 05:32:38 - processing line psu_zip_loc="</tmp/p27674384_122010_Linux-x86-64.zip>"
2018-04-23 05:32:38 - found match for psu_zip_loc, saving data </tmp/p27674384_122010_Linux-x86-64.zip>
.......
INFO : prereq_check : Entered non ASYNC case. psu_zip_loc does not exist. Downloading it
2018-04-23 05:32:43 - found : 1
2018-04-23 05:32:43 - purl : https://storage.us2.oraclecloud.com/v1/dbcsswlibp-usoracle29538/dbaas_patch//dbcs_ru_apr2018/p27674384_122010_Linux-x86-64.zip
2018-04-23 05:32:43 - zip file is : p27674384_122010_Linux-x86-64.zip
2018-04-23 05:32:43 - Output from cmd rm -rf /u01/psu.4485; mkdir -p /u01/psu.4485; cd /u01/psu.4485; wget https://storage.us2.oraclecloud.com/v1/dbcsswlibp-usoracle29538/dbaas_patch//dbcs_ru_apr2018/p27674384_122010_Linux-x86-64.zip; unzip p27674384_122010_Linux-x86-64.zip run on localhost is:
2018-04-23 05:32:50 - --2018-04-23 05:32:43-- https://storage.us2.oraclecloud.com/v1/dbcsswlibp-usoracle29538/dbaas_patch//dbcs_ru_apr2018/p27674384_122010_Linux-x86-64.zip
Resolving storage.us2.oraclecloud.com... 129.152.172.3, 129.152.172.4
Connecting to storage.us2.oraclecloud.com|129.152.172.3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 207512935 (198M) [application/zip]
Saving to: “p27674384_122010_Linux-x86-64.zipâ€

0K .......... .......... .......... .......... .......... 0% 12.7M 16s
50K .......... .......... .......... .......... .......... 0% 56.5M 10s
100K .......... .......... .......... .......... .......... 0% 37.6M 8s
150K .......... .......... .......... .......... .......... 0% 36.4M 7s
200K .......... .......... .......... .......... .......... 0% 41.7M 7s
..........
202500K .......... .......... .......... .......... .......... 99% 188M 0s
202550K .......... .......... .......... .......... .......... 99% 267M 0s
202600K .......... .......... .......... .......... ......... 100% 281M=1.6s

2018-04-23 05:32:45 (122 MB/s) - “p27674384_122010_Linux-x86-64.zip†saved [207512935/207512935]

Archive: p27674384_122010_Linux-x86-64.zip
creating: 27674384/
extracting: 27674384/README.html
extracting: 27674384/README.txt
creating: 27674384/etc/
creating: 27674384/etc/config/
inflating: 27674384/etc/config/inventory.xml
inflating: 27674384/etc/config/actions.xml
creating: 27674384/files/
.............
inflating: 27674384/files/rdbms/xml/em/orarep/exadata/exadataHtml.xsl
inflating: 27674384/files/rdbms/xml/em/orarep/exadata/exadataDiffHtml.xsl
inflating: PatchSearch.xml
2018-04-23 05:32:50 - cmd took 7 seconds
2018-04-23 05:32:50 - Output from cmd chown -R oracle:oinstall /u01/psu.4485 run on localhost is:
2018-04-23 05:32:50 - cmd took 0 seconds
2018-04-23 05:32:53 - Output from cmd rm -f /var/opt/oracle/log/dbpatchm/inst_type.txt run on localhost is:
...........
INFO : setup : Entered non ASYNC case. gold_img_loc does not exist. Downloading it
2018-04-23 05:33:06 - found : 1
2018-04-23 05:33:06 - dburl : https://storage.us2.oraclecloud.com/v1/dbcsswlibp-usoracle29538/dbaas_patch//dbcs_ru_apr2018/db12.2.0.1.0_EE_RU_1804.tar.gz.gpg
2018-04-23 05:33:06 - Downloading gold image : https://storage.us2.oraclecloud.com/v1/dbcsswlibp-usoracle29538/dbaas_patch//dbcs_ru_apr2018/db12.2.0.1.0_EE_RU_1804.tar.gz.gpg
2018-04-23 05:33:06 - gold image zip file is : db12.2.0.1.0_EE_RU_1804.tar.gz.gpg
2018-04-23 05:33:06 - Output from cmd rm -rf /u01/download; mkdir -p /u01/download; cd /u01/download; wget https://storage.us2.oraclecloud.com/v1/dbcsswlibp-usoracle29538/dbaas_patch//dbcs_ru_apr2018/db12.2.0.1.0_EE_RU_1804.tar.gz.gpg; chown -R oracle:oinstall /u01/download run on localhost is:
2018-04-23 05:33:06 - --2018-04-23 05:33:06-- https://storage.us2.oraclecloud.com/v1/dbcsswlibp-usoracle29538/dbaas_patch//dbcs_ru_apr2018/db12.2.0.1.0_EE_RU_1804.tar.gz.gpg
Resolving storage.us2.oraclecloud.com... 129.152.172.3, 129.152.172.4
Connecting to storage.us2.oraclecloud.com|129.152.172.3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4865593 (4.6M) [application/octet-stream]
Saving to: “db12.2.0.1.0_EE_RU_1804.tar.gz.gpgâ€

0K .......... .......... .......... .......... .......... 1% 16.1M 0s
50K .......... .......... .......... .......... .......... 2% 58.5M 0s
100K .......... .......... .......... .......... .......... 3% 33.9M 0s
............
4650K .......... .......... .......... .......... .......... 98% 151M 0s
4700K .......... .......... .......... .......... .......... 99% 203M 0s
4750K . 100% 2967G=0.1s

2018-04-23 05:33:06 (31.3 MB/s) - “db12.2.0.1.0_EE_RU_1804.tar.gz.gpg†saved [4865593/4865593]

2018-04-23 05:33:06 - cmd took 0 seconds
2018-04-23 05:33:06 - Output from cmd rm -f /var/opt/oracle/log/dbpatchm/inst_type.txt run on localhost is:
2018-04-23 05:33:06 - cmd took 0 seconds
2018-04-23 05:33:08 - INFO: DB status is: 1 and is_stdby is set to : no
2018-04-23 05:33:11 - INFO: dbversion is 12.2.0.1.180116
2018-04-23 05:33:11 - ERROR: md5sum do not match
2018-04-23 05:33:11 - ERROR: md5sum do not match
at /var/opt/oracle/patch/../perl_lib/DBAAS/Common.pm line 379
Common::logdie('Common=HASH(0x36c4a00)', 'ERROR: md5sum do not match\x{a}') called at /var/opt/oracle/patch/dbpatchm line 2364
eval {...} called at /var/opt/oracle/patch/dbpatchm line 2223
main::setup() called at /var/opt/oracle/patch/dbpatchm line 626

Customer mentioned that the prerequisite check was successful.

Changes

 No changes reported.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.