Cisco FirePOWER: Upgrade to 6.2.0.5 fails

During the upgrade of Firepower Management Center (FMC) from 6.2.0.2 to 6.2.0.5 it failed at 72% on Patch 5 installation.

Checking update status log does not provide enough information.

FirePowerMC:/var/log/sf# cat update.status

OUT: [180407 00:46:19] FAILED 800_post/910_Edit_AC_Policy.pl
OUT: [180407 00:46:19] ====================================
OUT: [180407 00:46:19] tail -n 10 /var/log/sf/Sourcefire_3D_Defense_Center_S3_Patch-6.2.0.5/800_post/910_Edit_AC_Policy.pl.log
OUT:
OUT: ‘-package’ => ‘Error::subs’
OUT: }, ‘Error::Simple’ )
OUT: ];
OUT: Caught an errorCan’t call method “prepare” on an undefined value at 800_post/910_Edit_AC_Policy.pl line 35.
OUT: Failed to finish the script800_post/910_Edit_AC_Policy.pl
OUT:
OUT: Printing stack trace:
OUT: called from /usr/lib/perl5/site_perl/5.10.1/Error.pm (150)
OUT: called from /usr/lib/perl5/site_perl/5.10.1/Error.pm (396)
OUT: called from 800_post/910_Edit_AC_Policy.pl (37)
OUT:
OUT: [180407 00:46:20] Fatal error: Error running script 800_post/910_Edit_AC_Policy.pl
OUT: [180407 00:46:20] Exiting.

But if we cd to patch folder

FirePowerMC:/var/log/sf# cd Sourcefire_3D_Defense_Center_S3_Patch-6.2.0.5

and then t800_post

FirePowerMC:/var/log/sf/Sourcefire_3D_Defense_Center_S3_Patch-6.2.0.5# cd 800_post/

and view policy log file we can get more details on the problem.

FirePowerMC:/var/log/sf/Sourcefire_3D_Defense_Center_S3_Patch-6.2.0.5/800_post# cat 910_Edit_AC_Policy.pl.log

**********************************************************
[180407 00:46] Starting script: 800_post/910_Edit_AC_Policy.pl
Entering script: 800_post/910_Edit_AC_Policy.pl
DBI connect(‘ENG=csmEng;Host=127.0.0.1:10033;CharSet=utf8′,’DBA’,…) failed: Connection error: Insufficient system resources – failed to allocate a SYSV semaphore (DBD: login failed) at /usr/local/sf/lib/perl/5.10.1/SF/SFDBI.pm line 299
$VAR1 = [
‘Connection failed’,
bless( {
‘-file’ => ‘/usr/local/sf/lib/perl/5.10.1/SF/SFDBI.pm’,
‘-text’ => ‘Can\’t call method “prepare” on an undefined value’,
‘-line’ => ‘303’,
‘-package’ => ‘Error::subs’
}, ‘Error::Simple’ )
];
Caught an errorCan’t call method “prepare” on an undefined value at 800_post/910_Edit_AC_Policy.pl line 35.
Failed to finish the script800_post/910_Edit_AC_Policy.pl

In this case, a simple reboot fixed the problem. After the restart Patch 5 update completed successfully.

Leave a reply:

Your email address will not be published.

Site Footer

Sliding Sidebar