Archive/Purge does not start, error "Unable to Open Primary Document Entity"

Document ID : KB000073151
Last Modified Date : 13/03/2018
Show Technical Document Details
Issue:
When attempting to use Run Now for an Archive and Purge rule, it fails with an error "The archive and purge processes for the selected rules has failed to started".

During startup of the arcpur_srvr process, the startup is being hindered by this log entry: 

01/01 12:00:00.01 SERVER1 arcpur_srvr 8472 ERROR xmlparse.c 642 Fatal Error at file "", line 0, column 0 Message: unable to open primary document entity '' 

The log message is implying that the arcpur_srvr process is expecting access to a specific XML file
Cause:
The issue is caused by the following files being absent in the given installation:

$NX_ROOT/site/cfg/arcpur_cfg.xsd
$NX_ROOT/site/cfg/arcpur_cfg.xml

Optional:
$NX_ROOT/site/mods/cfg/arcpur_cfg.xml

Content in the site/cfg directory controls startup of various processes in Service Desk, including the archive/purge functionality
Resolution:
Suggestion is to restore the directory content from a backup server.  One can experiment bringing in the same files from another testing installation, though this has not been confirmed as a reliable means to address the concern.

One thing to keep in mind is that end users who are remotely accessing the given SDM server may improperly delete or move the cfg directory.  In the latter, the cfg directory may wind up being placed another subfolder under the site folder.