cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

2470
Views
0
Helpful
5
Replies
Highlighted
Beginner

Error in FireSight - "Unable to connect to DB".

Software Version 5.4.1.6 (build 40)
OS Sourcefire Linux OS 5.4.0 (build126)

Hello! I have a problem! I hope for your help! 

When a try to apply settings to Sensor in FireSight - i have error - "Unable to connect to DB". FireSight  and FirePower see each other in lan.

How i can solve this problem? What am I doing wrong?

Thank you!

5 REPLIES 5
Highlighted
Cisco Employee

Is this a new installation? or it was registered to different FMC and now registered to another one? this looks like could be issue with database corruption.

It could end up with re-image but I would suggest to open TAC case for it.

Rate if helps.

Yogesh

Highlighted

Thank you! It is not new installation. I have indicator  an exclamation mark on the hardware. What it is mean?

Highlighted
Cisco Employee

Hello Team,

If its a hardware , you can also check the LCD panel if that shows any hardware error (click on next button ).

Other than that , is there any sudden power loss occurred in the device? . If the device gets powered off suddenly , this will mess up the database.

Looks like the mysql will be in a shutdown mode or unresponsive mode. Its just because of the database error only , this error will occur.

Could you please verify the status of the following :-

pmtool status |grep mysqld

Other than this , to troubleshoot this you need to contact the TAC team since starting from version 5.4 we are not supposed to make any alterations to the database without the TAC assistance.

Rate if this post helps you.

Regards

Jetsy 

Highlighted

 Hi dedr

Error in FireSight - "Unable to connect to DB
 
 
the device gets powered off suddenly after that we have this erroe when push config to sfr
trying to connect to database server after error 2002: con not connecteto local mysql server through socket
 
Highlighted

Yep, same issue here!

 

 

Aug 9 09:11:35 firepower SF-IMS[5036]: [5036] (none):MySQLDatastore [ERROR] MySQLDatastore.c:620:Connect(): Unable to connect to database after 60 seconds: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (111)

 

Aug 9 09:11:35 firepower SF-IMS[5036]: [5036] hm_notifyd:DatastoreClient [ERROR] Unable to connect to datastore: Unhandled database error

 

Aug 9 09:11:35 firepower SF-IMS[5036]: [5036] hm_notifyd:HMNOTIFY_ReadConfig [ERROR] Unable to create DB connection: Unhandled database error

 

Aug 9 09:11:35 firepower SF-IMS[5036]: [5036] hm_notifyd:main [ERROR] Error reading configuration on the database

 

Remember to rate helpful posts and/or mark as a solution if your issue is resolved.
Content for Community-Ad