> Source: [sk122210](https://support.checkpoint.com/results/sk/sk122210)

# sk122210 - "Deleting Domain failed: At least one Virtual System/Router is defined on this Domain/Domain Management Server" error

| Property | Value |
|----------|-------|
| Solution ID | sk122210 |
| Date Created | 2018-01-04 |
| Last Modified | 2020-10-13 |
| Technical Level | Advanced |
| Products | Multi-Domain Security Management Server |
| Versions | R82.10, R82.x, R81.20, R82, R82.20 |
| OS | Gaia |

## Symptoms

- * Error:

  ```
  "Deleting Domain failed: 
  Delete Domain Server: [name] - Delete Domain Server failed: At least one Virtual System/Router is defined on this Domain/Domain Management Server.
  You need to delete all Virtual Systems/Routers prior to deleting Domain/Domain Management Server."
  ```

  ![](https://sc1.checkpoint.com/sc//SolutionsStatics/NEW_SK_NOID1515059236074/CMA_REMOVE1801040151.png)
* Exception:

  DATE TIME,482 INFO coresvc.internal.DomainManagementSvcImpl$DeleteDomainServerTask \[taskExecutor-24\]: domain ca6c2723-d8d3-41d4-9738-6136174558bd , 'CMA-ONPREMISE' is local domain , should call deleteCma for fwm

  DATE TIME,483 INFO coresvc.internal.DomainManagementSvcImpl \[taskExecutor-24\]: Sending deleteCma to fwm cma name CMA-ONPREMISE-MGMT_._._CMA-ONPREMISE, cma objid b202c4cb-8574-4111-b424-b77e84a9e795

  DATE TIME,377 INFO coresvc.internal.DomainManagementSvcImpl \[taskExecutor-24\]: waiting for mds service...

  DATE TIME,686 ERROR coresvc.internal.DomainManagementSvcImpl$DeleteDomainServerTask \[taskExecutor-24\]: caught exception

  CpmGeneralException{base='com.checkpoint.management.is.exceptions.CpmGeneralException:   
  **Error: At least one Virtual System/Router is defined on this Domain/Domain Management Server.**

  **You need to delete all Virtual Systems/Routers prior to deleting Domain/Domain Management Server.', errorCode='CP_ERR_COULD_NOT_CONNECT_FWM', errorFamily='-2147214761', messageForUser='null', message='Error: At least one Virtual System/Router is defined on this Domain/Domain Management Server.**

  **You need to delete all Virtual Systems/Routers prior to deleting Domain/Domain Management Server.'}**

## Cause

VS is an object that is defined in the domain, but has links also from MDS \\ Global, and if it won't be deleted properly the machine will remain with DB inconsistency.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
