Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
traut_mi2
Participant

Issue when upgrade to R81 using Migration

Hi all,

I have an issue when I tried to import the database file into the new Security Management Server R81 (I exported from R80.30 using migrate_server export -v R81 -l abc.tgz). Please help me with this !

Let me show the Log in /var/log when it error: 

[9 Jun 16:06:31] ..--> ExecCommandGetOutput
[9 Jun 16:06:31] [ExecCommandGetOutput] Going to execute command: '"/opt/CPupgrade-tools-R81/bin//gtar" -x "--use-compress-program=/opt/CPupgrade-tools-R81/bin//gzip" -f "/var/log/upgrade/temp-export/a0eebc99-afed-4ef8-bb6d-fedfedfedfed.tgz"'
[9 Jun 16:06:31] [ExecCommandGetOutput] Command completed with an exit code 2
[9 Jun 16:06:31] [ExecCommandGetOutput] ERR: The given exit code indicates an error
[9 Jun 16:06:31] ..<-- ExecCommandGetOutput
[9 Jun 16:06:31] [TgzExtractor::exec] Command's output:
-------------------------------------
tar (child): /var/log/upgrade/temp-export/a0eebc99-afed-4ef8-bb6d-fedfedfedfed.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
/opt/CPupgrade-tools-R81/bin//gtar: Child returned status 2
/opt/CPupgrade-tools-R81/bin//gtar: Error is not recoverable: exiting now
-------------------------------------
[9 Jun 16:06:31] [TgzExtractor::exec] ERR: Execution failed
[9 Jun 16:06:31] .<-- TgzExtractor::exec
[9 Jun 16:06:31] <-- ConditionalExecutor::exec
[9 Jun 16:06:31] [ActivitiesManager::exec] ERR: Activity 'ConditionalExecutor' failed
[9 Jun 16:06:31] [ActivitiesManager::exec] WRN: Activities execution finished with errors
[9 Jun 16:06:31] [ActivitiesManager::exec] WRN: Activities 'ConditionalExecutor' have failed
[9 Jun 16:06:31] [ActivitiesManager::exec] Designated exit code is 1
[9 Jun 16:06:31] --> CleanupManager::Instance
[9 Jun 16:06:31] <-- CleanupManager::Instance
[9 Jun 16:06:31] --> CleanupManager::DoCleanup
[9 Jun 16:06:31] [CleanupManager::DoCleanup] Starting to perform cleanup
[9 Jun 16:06:31] .--> DirCleaner::exec
[9 Jun 16:06:31] [DirCleaner::exec] Going to remove directory '/opt/CPsuite-R81/fw1/tmp/migrate/'
[9 Jun 16:06:31] [DirCleaner::exec] WRN: Failed to remove the directory
[9 Jun 16:06:31] .<-- DirCleaner::exec
[9 Jun 16:06:31] .--> ImportFailureMarker::exec
[9 Jun 16:06:31] [ImportFailureMarker::exec] Checking if cleaner is active
[9 Jun 16:06:31] [ImportFailureMarker::exec] Cleaner is not active, nothing to do
[9 Jun 16:06:31] .<-- ImportFailureMarker::exec
[9 Jun 16:06:31] [CleanupManager::DoCleanup] Completed the cleanup
[9 Jun 16:06:31] <-- CleanupManager::DoCleanup

0 Kudos
2 Replies
PhoneBoy
Admin
Admin

Best to have the TAC look at this.
Did the migrate_server command perfom an update before trying to execute these commands?

traut_mi2
Participant

Hi, Im found the solution. Cus I link /var/log/upgrade to $FWDIR/tmp/migrate for disk size but i put the database file in that => Solution here is put the database file in anywhere but that directory

0 Kudos