How to rebuild a domain database

  • 7024382
  • 22-Jan-2020
  • 22-Jan-2020

Environment


GroupWise 2014
GroupWise 2014 R2
GroupWise 18

Situation

A resource was renamed on the secondary domain. This was completed successfully, but the Primary domain doesn't show the name change.
A pending operation completed on only one domain.

Resolution

Rebuild the problem domain database from the working domain database

  • Stop GroupWise
  • rcgrpwise stop
  • Rebuild the domain database and put it in a temporary directory
  • gwadminutil rebuild -d /path/to/secondary -n PrimaryDomainName -o /tmp/database/
  • Rename the old database and move the new database to the domain directory
  • cd /groupwise/domain/
  • mv wpdomain.db wpdomain.db.dbad
  • mv /tmp/database/wpdomain.db .
  • Start GroupWise
  • rcgrpwise start