CPM Crashed/Unavailable

CPM Crashed/Unavailable

Issue:
CPM UI is unavailable or CPM Server instance status check is not 2/2

Workarounds and solutions:

1. Make sure that you are using HTTPS in the URL when trying to open N2WS.

2. The most common issue for UI being unavailable is resource issues (mem/CPU), the quickest solution is to stop/start the instance (not restart!).
Stopping and starting the instance (not restarting!) will also cause the Virtual Machine to startup using new virtual hardware, this can help if the issue was with the AWS virtual hardware (this is rare but we have seen it happen).
Another option is to also temporarily increase the instance size to give it more resources.

3. Check that no changes were done to the security groups/firewall and that communication is allowed inbound to the instance over port 443.

4. If you are using proxy/LoadBalancer/Firewall, check that they are working correctly.

5. After you have stopped/started or increased the size of the instance, wait 5 min and check if the UI is available. 

6. It is recommended to consult with our sizing guide to check if instance has the correct EBS/EC2 sizing:
  1. Recommended instance sizes/volume types for CPM Server instances
7. sometimes this can be caused by log files permissions issue, please have a look at this KB: 
  1. https://support.n2ws.com/portal/en/kb/articles/log-do

8. After doing all of the above, you can raise a ticket with Support to analyze the root cause.
You can download the logs from the UI or by connecting via SSH (user is cpmuser) and downloading the logs from:
  1. CPM Logs: /var/log/cpm
  2. Linux Logs: /var/log/syslog
  3. MYSQL Logs: /var/log/mysql
  4. Apache Logs: /var/log/apache2



    • Related Articles

    • How to Check for AWS Permissions

      Checking for AWS account permissions Each account in N2WS is mapped to a specific Roles or IAM user in AWS. You can see the list of account and authentication types in the Account Tab: For each account, you can select it and then click on 'Check AWS ...
    • Backup stuck in "pending" status after restart

      If CPM is restarted while a backup is running, the backup will be stuck in "Pending" status in the CPM console until that policy runs again. After that, it will change to "Failed". However, the snapshots of the failed backup will still show as ...
    • How to improve CPM’s performance or overcome high memory consumption by creating a swap partition

                                          ***IMPORTANT*** Please make sure your CPM complies with the recommended instance sizes regardless of creating the swap file. ...
    • Release notes for the latest v2.1.x CPM release

      ================================================================================================ Release notes for v2.2x are here: https://support.n2ws.com/portal/kb/articles/release-notes-for-the-latest-v2-2-x-cpm-release ...
    • Permission checks fails with Error: “User not Found”

      Permission checks fails with Error: “User not Found”   You may receive the following error when checking permissions on an account within CPM.  Also, the policy check .CSV file will show only “User not Found” when opened. In the cpm_server logs you ...