Technote (troubleshooting)
Problem
Attempt to archive database ends in error: "Server-based archiving not enabled on database"
Symptom
- A database is configured for Server-based and has worked without issue until recently.
- The following errors display in the Domino console during the Compact -a process:
Archiving documents from /<data path>/mail/filename.nsf (First Name Last Name)
Server-based archiving not enabled on database /<data path>/mail/filename.nsf
Compacting /<data path>/mail/filename.nsf (First Name Last Name)
Compacted /<data path>/mail/filename.nsf, ###K bytes recovered (#%)
Cause
In this case the signer of the Archive policy left the company and was no longer authorized to the source database.
Diagnosing the problem
- The debug parameter, Log_Archiving, was enabled to confirm root cause. The debug parameter is dynamic and was set to 11, which is the most verbose setting for this parameter.
- The following output was returned with the parameter enabled:
Archiving documents from /<data path>/mail/filename.nsf (First Name Last Name)
Archiving> Calling NAMEGetPolicy for CN=First Name Last Name/O=Organization
Archiving> Signer does not have the proper access rights to the source database
Archiving> Error getting archive policy from source db: Signer does not have the required access rights to the source database.
PolicyCheckServerArchiveEnabled> Error initializing policy: Signer does not have the required access rights to the source database.
Server-based archiving not enabled on database /<data path>/mail/filename.nsf
Compacting /<data path>/mail/filename.nsf (First Name Last Name)
Compacted /<data path>/mail/filename.nsf, #K bytes recovered (#%)
Resolving the problem
Update the ACL of the reported databases to provide the appropriate level of access or modify the Archive policy to update the signer of the policy as follows:
- Using the Domino Administrator or equivalent id, open one of the databases reporting the error "Server-based archiving not enabled on database"
- Select File -> Application -> Properties then click the Archive Settings button Click on the Criteria tab and note the Last change signature specified for each of the criteria.
- Click Cancel to exit the Archive settings.
- Click X to exit the Database properties dialog.
- Select File -> Application -> Access Control
- Click on the Basics tab and note the rights assigned to the signer(s) of the Archive criteria.
You can either update the ACL of the database or modify the Archive Settings criteria to update the signature. Manager with Delete document rights is the minimum requirement for the source database. Depositor is the minimum access level for the destination/archive database.
Use of a Lotus Notes/Administrator client to update the Archive criteria will sign the criteria with the id currently in use.
Use of an iNotes client to update the Archive criteria will sign the criteria with the Server id.
Related information
Server based archiving not enabled
Server-based archiving not enabled
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.