cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3731
Views
7
Helpful
3
Replies

Can't assign a license for FTD from FMC

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.

1.jpg

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?

 

1 Accepted Solution

Accepted Solutions

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

 

View solution in original post

3 Replies 3

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

 

Rez81370
Level 1
Level 1

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 

Sorry @Rez81370, but I don't have any info regarding a possible new built-in password for FMC's mysql instance.

Review Cisco Networking for a $25 gift card