Checking DNS before patching ODAs
I ran across an interesting problem that caused an error during our patching from ODA 19.19 to ODA 19.20. After running this command:
odacli create-prepatchreport -d -i <db home id> -v 19.20.0.0.0
I got this error:
Internal error encountered: Failed to run create dbhome OraDB19000_homeXX : null.
I opened a ticket with Oracle support and they suggested I check the DNS servers in /etc/resolv.conf to make sure they are all responding. One way of checking them all is running:
/usr/bin/nslookup unknown-not-reachable-node
If one of the servers is not responding this command will hang. If this happens then remove the bad DNS server entry from /etc/resolv.conf before patching. This resolved my problem, and I ran the create-prepatchreport command again and it successfully completed.