Sometimes there may be a need to clear the CAM queue if CA Client Automation seems hung.
The procedure below outlines the commands that can be used to clear the CAM queue.
Client Automation - All versions
1. Shut down CAF using 'caf stop'.
Run 'caf kill all' and then 'caf status' to ensure CAF service is stopped completely.
2. Set the 'CA Message Queuing Server' service to 'Disabled' in
Services Control Panel or run 'cam change disabled'.
This is to prevent CAM from restarting automatically.
3. Run 'camclose' to stop the CAM service.
4. Run 'csampmux stop' to stop the 'CA Connection Broker' service.
5. Rename 'C:\Program Files\CA\DSM\Appdata\CFNOTSRVD.DAT' to something else.
Note: This step is only applicable to the Domain Manager as CFNOTSRVD.DAT
is present only on the Domain Manager
6. Set the 'CA Message Queuing Server' service back to 'Automatic' or run 'cam change auto'.
7. Run the following command to restart CAM:
'cam start -c -l'
8. Start CAF using 'caf start'.
9. Check if CFNOTSRVD.DAT is created again.