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

# sk168360 - Migrate Export fails with reference to the migrate log

| Property | Value |
|----------|-------|
| Solution ID | sk168360 |
| Date Created | 2020-07-30 |
| Last Modified | 2020-11-25 |
| Technical Level | Advanced |
| Products | Security Management Server |
| Versions | R81 (EOS) |
| OS | Gaia |

## Symptoms

- * Migrate export on the Management server fails with "`Failed to fopen source file: No such file or directory`".  

* Migrate Log contains the following messages:  

  `

  Copying file 'cpm.elg.5' from directory '/opt/CPsuite-R80.40/fw1/log/' into directory '/opt/CPsuite-R80.40/fw1/tmp/migrate/regular_files/fwdir/log/imported_logs/'`  
  `
  Splitting path 'cpm.elg.5'`  
  `
  `**cpIsDir: Calling cpIsDirEx: No such file or directory**   
  `
  ERR: Failed to copy file`  
  `
  ERR: Failed to perform action on component`  
  `
  ERR: Failed to transfer file`  
  `
  ERR: Failed to copy required files`  
  `
  Indication about gzip execution failure is: 0`  

* Attempt to check the info on the missing file will results in seeing a symbolic link:  

  `
  # cd $FWDIR/log`  
  `
  # ls -l cpm.elg.5`  
  `
  lrwxrwxrwx 1 admin root 45 Jun 21 09:13 cpm.elg.5 -> /var/log/opt/CPsuite-R80.30/fw1/log/cpm.elg.5`  

  Instead of the normal state:  
  `
  # ls -l cpm.elg.5`  
  `
  -rw-rw---- 1 admin root 765 Jun 23 00:13 cpm.elg.5`   

* The directory that should contain the file does not exist or does not have the file.

## Cause

Sometimes log files of FWM and CPM are placed in a different folder and *$FWDIR/log* contains soft-links to those files. However those soft links are leading to the incorrect folder, leading to Management server unable to find the logs.  
Usually *cpm.elg* and *fwm.elg* files themselves are not affected.

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