ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Error "Failed to run migration action "CopyFiles"" during DLP 15.7 migration

book

Article ID: 199646

calendar_today

Updated On:

Products

Data Loss Prevention Endpoint Discover Data Loss Prevention Data Loss Prevention Enforce

Issue/Introduction

Data Loss Prevention (DLP)


The DLP 15.7 upgrade failed when the migration utility was run.
Started the ./EnforceServerMigrationUtility. 
It ran for a while and then it aborted.

The hs_err_pidxxxx.log file shows this message

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fb355aca4a3, pid=42686, tid=0x00007fb3585d5780
#
# JRE version: Java(TM) SE Runtime Environment (8.0_202-b08) (build 1.8.0_202-b08)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.202-b08 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x6c74a3]  get_method_id(JNIEnv_*, _jclass*, char const*, char const*, bool, Thread*) [clone .constprop.107]+0xa3
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/Symantec/DataLossPrevention/EnforceServer/15.7/Protect/Migrator/hs_err_pid42686.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#Aborted

The MigrationUtility.log ends with these entries:

FINE: Copying file "/var/Symantec/DataLossPrevention/ServerPlatformCommon/15.5/index/bkp_CUALL" to "/var/Symantec/DataLossPrevention/ServerPlatformCommon/15.7/index/bkp_CUALL"
Sep 16, 2020 7:01:36 PM com.symantec.dlp.migrationcommon.MigrationActionsExecutor executeMigrationActions
SEVERE: Failed to execute migration actions. Please refer to the log file for details
com.symantec.dlp.migrationcommon.MigrationException: Failed to run migration action "CopyFiles"
 at com.symantec.dlp.migrationcommon.MigrationActionsExecutor.runMigrationAction(MigrationActionsExecutor.java:54)
 at com.symantec.dlp.migrationcommon.MigrationActionsExecutor.executeMigrationActions(MigrationActionsExecutor.java:100)
 at com.symantec.dlp.migrationcommon.MigrationUtility.runMigrationUtility(MigrationUtility.java:124)
 at com.symantec.dlp.migrationcommon.MigrationUtility.runMigrationUtility(MigrationUtility.java:70)
 at com.symantec.dlp.enforceservermigrationutility.EnforceServerMigrationUtility.runMigration(EnforceServerMigrationUtility.java:17)
Caused by: com.symantec.dlp.migrationcommon.MigrationException: Failed to copy source path "/var/Symantec/DataLossPrevention/ServerPlatformCommon/15.5/index" to destination path "/var/Symantec/DataLossPrevention/ServerPlatformCommon/15.7/index".
 at com.symantec.dlp.migrationcommon.actions.CopyFilesMigrationAction.runAction(CopyFilesMigrationAction.java:183)
 at com.symantec.dlp.migrationcommon.MigrationActionsExecutor.runMigrationAction(MigrationActionsExecutor.java:47)
 ... 4 more
Caused by: java.lang.RuntimeException: Failed to copy "/var/Symantec/DataLossPrevention/ServerPlatformCommon/15.5/index/bkp_CUALL" to "/var/Symantec/DataLossPrevention/ServerPlatformCommon/15.7/index/bkp_CUALL"
 at com.symantec.dlp.migrationcommon.utilities.FileCopier.loopThroughAndCopy(FileCopier.java:186)
 at com.symantec.dlp.migrationcommon.utilities.FileCopier.copyDirectory(FileCopier.java:142)
 at com.symantec.dlp.migrationcommon.utilities.FileCopier.copyFile(FileCopier.java:212)
 at com.symantec.dlp.migrationcommon.utilities.FileCopier.copyFile(FileCopier.java:197)
 at com.symantec.dlp.migrationcommon.actions.CopyFilesMigrationAction.runAction(CopyFilesMigrationAction.java:179)
 ... 5 more
Caused by: java.nio.file.FileSystemException: /var/Symantec/DataLossPrevention/ServerPlatformCommon/15.5/index/bkp_CUALL -> /var/Symantec/DataLossPrevention/ServerPlatformCommon/15.7/index/bkp_CUALL: No space left on device
 at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
 at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
 at sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:253)
 at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:581)
 at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
 at java.nio.file.Files.copy(Files.java:1274)
 at com.symantec.dlp.migrationcommon.utilities.FileCopier.copyRegularFile(FileCopier.java:113)
 at com.symantec.dlp.migrationcommon.utilities.FileCopier.loopThroughAndCopy(FileCopier.java:162)

Cause

Insufficient space on the disk or directory to run the migration utility.

Environment

Release : 15.7

Component : Enforce on Linux RHEL 7.8

Resolution

  1. Add additional space to the disk and installation directories.
  2. Restore the database backup.
  3. Restart the previous Enforce services.
  4. Confirm Enforce is up.
  5. Run the Update Readiness Tool again to ensure the database is ready for the migration.
  6. Run the migration utility again.