Ticket 49273 - crash when DBVERSION is corrupt.
Bug Description: During a disk full DBVERSION was corrupted.
As a result, we would segfault.
Fix Description: Rather than segfaulting, we should handle the
error gracefully, with steps to resolve.
Patch notes: roll up of
9e1a761b45dfc2d28199e39c514ea66764c3f127
d8cccbf70e2cc8b807190214a93d20b20d77db50
5d5b9c617e8c73f3771720c1f6906bddae2612db
https://pagure.io/389-ds-base/issue/49273
Author: wibrown
Review by: nhosoi, mreynolds (Thanks!)