Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-4835: Procedure for properly deleting the offline store from a DirectAudit agent

Auditing and Monitoring Service ,  

31 May,18 at 03:55 PM

What is the correct and safest way to delete the DirectAudit Agent Offline Store (Spool) so that it no longer consumes disk space on the system nor will be sent to the collector? 

Please follow the following procedure to safely and manually delete the existing Offline Store (Spool):
1. Disable DA auditing by running:

dacontrol -d
2. Close the session and login with a non-audited session (run dainfo to confirm).
3. Make sure all other sessions are closed out and there is no auditing being done on the machine.
4. Stop the DirectAudit agent (dad) by running:

/etc/init.d/centrifyda stop
Note: Do NOT run "kill -9 <pid_of_dad> “(in DA this is the equivalent of a "dirty shutdown")
5. Rename /var/centrifyda/spool-dbqc
For example:
mv /var/centrifyda/spool-dbqc /var/centrifyda/spool-dbqc--bak
6. Re-enable DA auditing by running:
dacontrol -e
7. Start the DirectAudit Agent (dad) by running:
/etc/init.d/centrifyda start
8. Verify agent operation by running dainfo and if connected and streaming to a collector it is now safe to remove the old spool folder.