03-29-2022 02:09 AM
Hi guys,
i need to reset the Gui Admin Password for my FMC running 6.3.0 but even trying the official procedure i receive an error and i can't do the change:
admin@MYFMC:~$ sudo usertool.pl -p 'admin newpassword'
Password:
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 309
$VAR1 = [
'Connection failed',
bless( {
'-stacktrace' => 'Can\'t call method "prepare" on an undefined value at /usr/lib/perl5/site_perl/5.10.1/Error.pm line 273
Error::subs::run_clauses(\'HASH(0xb630f38)\', \'Can\\\'t call method "prepare" on an undefined value at /usr/lo...\', undef, \'ARRAY(0x9f3e3a0)\') called at /usr/lib/perl5/site_perl/5.10.1/Error.pm line 390
Error::subs::try(\'CODE(0xb630d58)\', \'HASH(0xb630f38)\') called at /usr/local/sf/lib/perl/5.10.1/SF/SFDBI.pm line 323
SF::SFDBI::connect() called at /usr/local/sf/lib/perl/5.10.1/SF/Permission.pm line 920
SF::Permission::getUserUUIDByName(\'admin\', \'e276abec-e0f2-11e3-8169-6d9ed49b625f\') called at /usr/lib/perl5/5.10.1/Memoize.pm line 249
Memoize::_memoizer(\'CODE(0xb3bd888)\', \'admin\', \'e276abec-e0f2-11e3-8169-6d9ed49b625f\') called at (eval 1095) line 1
Memoize::__ANON__(\'admin\', \'e276abec-e0f2-11e3-8169-6d9ed49b625f\') called at /usr/local/sf/lib/perl/5.10.1/SF/Permission.pm line 733
SF::Permission::getUser(\'admin\', undef) called at /usr/lib/perl5/5.10.1/Memoize.pm line 249
Memoize::_memoizer(\'CODE(0xb3ac1c0)\', \'admin\', undef) called at (eval 1091) line 1
Memoize::__ANON__(\'admin\', undef) called at /usr/local/sf/lib/perl/5.10.1/SF/Auth.pm line 1380
SF::Auth::VerifyLogin(\'admin\') called at /usr/local/sf/bin/usertool.pl line 204
main::change_password(\'admin\', \'barillA3741\') called at /usr/local/sf/bin/usertool.pl line 726
main::main called at /usr/local/sf/bin/usertool.pl line 839
',
'-file' => '/usr/local/sf/lib/perl/5.10.1/SF/SFDBI.pm',
'-text' => 'Can\'t call method "prepare" on an undefined value',
'-line' => '313',
'-package' => 'Error::subs'
}, 'Error::Simple' )
];
Can't call method "selectcol_arrayref" on an undefined value at /usr/local/sf/lib/perl/5.10.1/SF/Permission.pm line 922.
Printing stack trace:
called from /usr/local/sf/lib/perl/5.10.1/SF/Permission.pm (922)
called from /usr/lib/perl5/5.10.1/Memoize.pm (249)
called from (eval 1095) (1)
called from /usr/local/sf/lib/perl/5.10.1/SF/Permission.pm (733)
called from /usr/lib/perl5/5.10.1/Memoize.pm (249)
called from (eval 1091) (1)
called from /usr/local/sf/lib/perl/5.10.1/SF/Auth.pm (1380)
called from /usr/local/sf/bin/usertool.pl (204)
called from /usr/local/sf/bin/usertool.pl (726)
called from /usr/local/sf/bin/usertool.pl (839)
need to open a case or there's something i can do?
thanks
Solved! Go to Solution.
03-29-2022 03:59 AM
- FYI : https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvb52344
M.
03-29-2022 03:59 AM
- FYI : https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvb52344
M.
03-29-2022 06:32 AM
Hi marce,
i've seen this bug but it's a bit different, it highlight line 300, while mine is 309, i don't know if its the same issue
/usr/local/sf/lib/perl/5.10.1/SF/SFDBI.pm line 300
03-29-2022 07:32 AM
- I suspect it is a bit similar because it is a resource problem with a similar background, I suggest to reboot and try again , meaning it may then work when the device is not yet fully loaded or does not yet suffer from resource depletion
M.
03-31-2022 03:21 AM
hi,
just rebooted the fmc and the gui was accessible again.
thanks for the tip!
02-22-2023 10:15 PM
Can you help me confirm how to reboot the FMC from the cli console?
02-23-2023 01:22 AM
use:
system reboot
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide