Typically, damage to the domain database (wpdomain.db) can be repaired using the database maintenance tools provided in ConsoleOne, as described in Section 26.0, Maintaining Domain and Post Office Databases.
If damage to the domain database is so severe that rebuilding the database is not possible:
Stop the MTA for the domain.
Use the backup software for your platform, as listed in Section 31.1, Backing Up a Domain, to restore the domain database into the domain directory.
Restart the MTA for the domain.
To update the restored domain database with administrative changes made since it was backed up, synchronize the restored domain database with the primary domain database, as described in Section 29.4, Synchronizing a Secondary Domain.
If the restored domain database is for the primary domain, see Section 29.5, Synchronizing the Primary Domain from a Secondary Domain.