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

# sk163713 - Secondary MDS or MLM import fails due to sync error

| Property | Value |
|----------|-------|
| Solution ID | sk163713 |
| Date Created | 2019-12-02 |
| Last Modified | 2020-10-05 |
| Technical Level | Advanced |
| Products | Multi-Domain Security Management Server |
| Versions | R82.10, R81.20, R82, R82.20 |
| OS | Gaia |

## Symptoms

- * MLM Import fails with the following generic messages in the `$CPDIR/log/migrate-X.log`:   

  `
  [DATE TIME] [DbUpgrader::RunCustomCpdbCommand] Going to run custom cpdb upgrade command/opt/CPmds-R80.20/bin/upgrade_standby_server -migrate -primaryip 10.1.1.1 -mdsdb`  
  `
  [DATE TIME] ...--> DbUpgrader::ExecuteCpdb`  
  `
  [DATE TIME] [DbUpgrader::ExecuteCpdb] Executing cpdb using the following arguments: /opt/CPmds-R80.20/bin/upgrade_standby_server -migrate -primaryip 10.1.1.1 -mdsdb`  
  `
  [DATE TIME] [runShellCommand] Executing command: '/opt/CPmds-R80.20/bin/upgrade_standby_server -migrate -primaryip 10.1.1.1 -mdsdb'`  
  `
  [DATE TIME] [runShellCommand] Execution result: 1, exit code: 5`  
  `
  [DATE TIME] [DbUpgrader::ExecuteCpdb] ERR: cpdb completed with error code '5'`  
  `
  [DATE TIME] ...<-- DbUpgrader::ExecuteCpdb`  
  `
  [DATE TIME] ..<-- DbUpgrader::RunCustomCpdbCommand`  
  `
  [DATE TIME] [DbUpgrader::exec] ERR: Failed to execute custom upgrade command`  
  `
  [DATE TIME] .<-- DbUpgrader::exec
  `  

* Cpm_for_cpd log during the import indicates that full sync has failed:   

  `
  DATE TIME,PID ERROR utils.runtime.CpAssert$DefaultAssertionErrorHandler [qtp-758318607-168]: AssertionError has been caught: failed loading data of full sync!`  
  `
  failed loading data of full sync!`

## Cause

Full sync between the secondary MDS or MLM fails with the primary MDS during the import process.

## 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
