01-18-2022 12:57 PM - edited 01-18-2022 12:59 PM
A few days ago, the state of the FMC smart license transferred to the state "Unregistered". And there was error "Smart Licensing ID certificate expired" in the Event logs.
Cisco Software Central showed me that my token was expired. So I created a new token and copied it into FMC. After that the state of "Product Registration" is "Registered" and "Usage Authorization" state is "Authorized".
But my FTD devices also lost a threat and malware license. When i assign threat and malware licenses to ftd device (Devices -> Device Management) it say "License changes were saved succesfully"
and a few minutes everything works well. But then the licenses are disconnected again. Even the basic license is "no". Firepower Threat Defense (FTD) devices are getting Unlicensed.
I found a similar problem https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvr72372?rfs=iqvred
But I can't connect to MYSQL to perform the second step. I'm trying command "mysql -p", but not one of my password is not accepted.
admin@SRV-EST-FMC-01:~$ mysql -p Enter password: ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
Help me please in solving this problem. How do i perform commands from the second step?
Solved! Go to Solution.
01-18-2022 01:42 PM
I found a solution. User by default "root" and the default password "admin". So, сomplete solution of this problem (what is allocated by the fat text is absent in the original solution):
1. change user to root:
admin@SRV-EST-FMC-01:~$ sudo su - Password: <your admin password>
2. vim into the file /etc/sf/.health_monitor.data and delete the following line. IDCERTEXPERR:2
3. connect to mysql:
root@SRV-EST-FMC-01:~# mysql -p
Enter password: admin
and perform mysql commands:
mysql> use sfsnort; mysql> update smart_licenses set active=1 where license='BASE'; mysql> update smart_licenses set count=1 where license='VIRTUAL'; mysql> update license_caps set active=1 where capability='BASE';
4. Restart the sla process on FMC:
root@SRV-EST-FMC-01:~# pmtool restartbyid sla
After that, the problem with licenses disappeared.
sorry for my English
01-18-2022 01:42 PM
I found a solution. User by default "root" and the default password "admin". So, сomplete solution of this problem (what is allocated by the fat text is absent in the original solution):
1. change user to root:
admin@SRV-EST-FMC-01:~$ sudo su - Password: <your admin password>
2. vim into the file /etc/sf/.health_monitor.data and delete the following line. IDCERTEXPERR:2
3. connect to mysql:
root@SRV-EST-FMC-01:~# mysql -p
Enter password: admin
and perform mysql commands:
mysql> use sfsnort; mysql> update smart_licenses set active=1 where license='BASE'; mysql> update smart_licenses set count=1 where license='VIRTUAL'; mysql> update license_caps set active=1 where capability='BASE';
4. Restart the sla process on FMC:
root@SRV-EST-FMC-01:~# pmtool restartbyid sla
After that, the problem with licenses disappeared.
sorry for my English
08-05-2023 07:44 AM - edited 08-05-2023 07:44 AM
Hi
thank you @Evgenii Boniakevich in advance
The password was ''admin'' in old versions but has been changed in newer versions (7.2.4 and ...)
Sir @Marvin Rhoads do you know the new FMC MYSQL password?
Regards
08-06-2023 03:54 AM
Sorry @Rez81370, but I don't have any info regarding a possible new built-in password for FMC's mysql instance.
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