Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
BlueGrass
Contributor

Migrate import error from R77.2 to R80.4

Dear all,

 

Just got below error message from SMS:

 

[12 Jun 13:48:19] [ExecCommandGetOutput] Going to execute command: '"/var/log/migrate/././/gzip" -l /var/log/migrate/CPR772to804.tgz'
[12 Jun 13:48:19] [ExecCommandGetOutput] Command completed with an exit code -1
[12 Jun 13:48:19] [ExecCommandGetOutput] ERR: The given exit code indicates an error
[12 Jun 13:48:19] ...<-- ExecCommandGetOutput
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::GetUncompressedSize] ERR: no output for command : "/var/log/migrate/././/gzip" -l /var/log/migrate/CPR772to804.tgz cannot get uncompressed file size
[12 Jun 13:48:19] ..<-- CheckDiskSpaceBerforeMigrate::GetUncompressedSize
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::exec] tgz unzipped file size is :0
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::exec] ERR: Stopping with error
[12 Jun 13:48:19] ..--> UpgradeMacroReplacer::Instance
[12 Jun 13:48:19] ..<-- UpgradeMacroReplacer::Instance
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::exec] $FWDIR path is :/opt/CPsuite-R80.40/fw1
[12 Jun 13:48:19] ..--> CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory] findDirectoryParitionCommand : df /opt/CPsuite-R80.40/fw1/conf
[12 Jun 13:48:19] ...--> ExecCommandGetOutput
[12 Jun 13:48:19] [ExecCommandGetOutput] Going to execute command: 'df /opt/CPsuite-R80.40/fw1/conf'
[12 Jun 13:48:19] [ExecCommandGetOutput] Command completed with an exit code 0
[12 Jun 13:48:19] [ExecCommandGetOutput] Command completed successfully
[12 Jun 13:48:19] ...<-- ExecCommandGetOutput
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory] Command's output:
-------------------------------------
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg_splat-lv_current 15718400 8750524 6967876 56% /
-------------------------------------

-------------------------------------
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory] commandOutput: /dev/mapper/vg_splat-lv_current 15718400 8750524 6967876 56% /
[12 Jun 13:48:19] ..<-- CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory
[12 Jun 13:48:19] ..--> CheckDiskSpaceBerforeMigrate::CheckDiskSpaceForDirectory
[12 Jun 13:48:19] ..<-- CheckDiskSpaceBerforeMigrate::CheckDiskSpaceForDirectory
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::exec] $FWDIR/conf available disk space is :7135105024 partition : /dev/mapper/vg_splat-lv_current 15718400 8750524 6967876 56% /
[12 Jun 13:48:19] ..--> CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory] findDirectoryParitionCommand : df /opt/CPsuite-R80.40/fw1/tmp
[12 Jun 13:48:19] ...--> ExecCommandGetOutput
[12 Jun 13:48:19] [ExecCommandGetOutput] Going to execute command: 'df /opt/CPsuite-R80.40/fw1/tmp'
[12 Jun 13:48:19] [ExecCommandGetOutput] Command completed with an exit code 0
[12 Jun 13:48:19] [ExecCommandGetOutput] Command completed successfully
[12 Jun 13:48:19] ...<-- ExecCommandGetOutput
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory] Command's output:
-------------------------------------
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg_splat-lv_log 31441920 3475972 27965948 12% /var/log
-------------------------------------
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory] commandOutput: /dev/mapper/vg_splat-lv_log 31441920 3475972 27965948 12% /var/log
[12 Jun 13:48:19] ..<-- CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory
[12 Jun 13:48:19] ..--> CheckDiskSpaceBerforeMigrate::CheckDiskSpaceForDirectory
[12 Jun 13:48:19] ..<-- CheckDiskSpaceBerforeMigrate::CheckDiskSpaceForDirectory
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::exec] $FWDIR/tmp available disk space is :28637130752 partition : /dev/mapper/vg_splat-lv_log 31441920 3475972 27965948 12% /var/log
[12 Jun 13:48:19] ..--> CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory] findDirectoryParitionCommand : df /opt/CPsuite-R80.40/fw1/log
[12 Jun 13:48:19] ...--> ExecCommandGetOutput
[12 Jun 13:48:19] [ExecCommandGetOutput] Going to execute command: 'df /opt/CPsuite-R80.40/fw1/log'
[12 Jun 13:48:19] [ExecCommandGetOutput] Command completed with an exit code 0
[12 Jun 13:48:19] [ExecCommandGetOutput] Command completed successfully
[12 Jun 13:48:19] ...<-- ExecCommandGetOutput
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory] Command's output:
-------------------------------------
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg_splat-lv_log 31441920 3475972 27965948 12% /var/log
-------------------------------------
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory] commandOutput: /dev/mapper/vg_splat-lv_log 31441920 3475972 27965948 12% /var/log
[12 Jun 13:48:19] ..<-- CheckDiskSpaceBerforeMigrate::CheckPartitionForDirectory
[12 Jun 13:48:19] ..--> CheckDiskSpaceBerforeMigrate::CheckDiskSpaceForDirectory
[12 Jun 13:48:19] ..<-- CheckDiskSpaceBerforeMigrate::CheckDiskSpaceForDirectory
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::exec] $FWDIR/log available disk space is :28637130752 partition : /dev/mapper/vg_splat-lv_log 31441920 3475972 27965948 12% /var/log
[12 Jun 13:48:19] [CheckDiskSpaceBerforeMigrate::exec] partitionCase is :1
[12 Jun 13:48:19] .<-- CheckDiskSpaceBerforeMigrate::exec
[12 Jun 13:48:19] <-- ConditionalExecutor::exec
[12 Jun 13:48:19] [ActivitiesManager::exec] ERR: Activity 'ConditionalExecutor' failed
[12 Jun 13:48:19] [ProgressUpdater::UpdateProgressToGaia] Progress Updated to '6.0241
[12 Jun 13:48:19] [ActivitiesManager::exec] WRN: Activities execution finished with errors
[12 Jun 13:48:19] [ActivitiesManager::exec] WRN: Activities 'ConditionalExecutor' have failed
[12 Jun 13:48:19] [ActivitiesManager::exec] Designated exit code is 1
[12 Jun 13:48:19] --> CleanupManager::Instance
[12 Jun 13:48:19] <-- CleanupManager::Instance
[12 Jun 13:48:19] --> CleanupManager::DoCleanup
[12 Jun 13:48:19] [CleanupManager::DoCleanup] Starting to perform cleanup
[12 Jun 13:48:19] .--> DirCleaner::exec
[12 Jun 13:48:19] [DirCleaner::exec] Going to remove directory '/opt/CPsuite-R80.40/fw1/tmp/migrate/'
[12 Jun 13:48:19] [DirCleaner::exec] Directory doesn't exist, nothing to do
[12 Jun 13:48:19] .<-- DirCleaner::exec
[12 Jun 13:48:19] .--> ImportFailureMarker::exec
[12 Jun 13:48:19] [ImportFailureMarker::exec] Checking if cleaner is active
[12 Jun 13:48:19] [ImportFailureMarker::exec] Cleaner is not active, nothing to do
[12 Jun 13:48:19] .<-- ImportFailureMarker::exec
[12 Jun 13:48:19] [CleanupManager::DoCleanup] Completed the cleanup
[12 Jun 13:48:19] <-- CleanupManager::DoCleanup

 

 

What is wrong!? please advise!

 

 

 

 

0 Kudos
2 Replies
PhoneBoy
Admin
Admin

It's possible that migrate tgz is corrupt.
What happens when you run the file through the following: gunzip -c PR772to804.tgz | tar tvf -
If you see a file list here, don't provide that, but if it gives an error, you should see it here.

0 Kudos
BlueGrass
Contributor

No, I just forget to let Migration folders and all its files to 777 Level.

 

After I set the privilege, it works now.

 

Thanks for your reply anyway.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events