<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error in FireSight - &amp;quot;Unable to connect to DB&amp;quot;. in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/2888800#M1030427</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Software Version 5.4.1.6 (build 40)&lt;BR /&gt;OS Sourcefire Linux OS 5.4.0 (build126)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hello! I have a problem!&amp;nbsp;I hope for your help!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When a try to apply settings to Sensor in FireSight - i have error - "&lt;/SPAN&gt;&lt;SPAN&gt;Unable to connect to DB". FireSight &amp;nbsp;and FirePower see&amp;nbsp;each other in lan.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; How i can solve this problem? What am I doing wrong?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2019 13:02:45 GMT</pubDate>
    <dc:creator>n.avramenko87</dc:creator>
    <dc:date>2019-03-12T13:02:45Z</dc:date>
    <item>
      <title>Error in FireSight - "Unable to connect to DB".</title>
      <link>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/2888800#M1030427</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Software Version 5.4.1.6 (build 40)&lt;BR /&gt;OS Sourcefire Linux OS 5.4.0 (build126)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hello! I have a problem!&amp;nbsp;I hope for your help!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When a try to apply settings to Sensor in FireSight - i have error - "&lt;/SPAN&gt;&lt;SPAN&gt;Unable to connect to DB". FireSight &amp;nbsp;and FirePower see&amp;nbsp;each other in lan.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; How i can solve this problem? What am I doing wrong?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 13:02:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/2888800#M1030427</guid>
      <dc:creator>n.avramenko87</dc:creator>
      <dc:date>2019-03-12T13:02:45Z</dc:date>
    </item>
    <item>
      <title>Is this a new installation?</title>
      <link>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/2888801#M1030428</link>
      <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;It could end up with re-image but I would suggest to open TAC case for it.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Rate if helps.&lt;/P&gt;
&lt;P&gt;Yogesh&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 14:27:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/2888801#M1030428</guid>
      <dc:creator>yogdhanu</dc:creator>
      <dc:date>2016-06-22T14:27:41Z</dc:date>
    </item>
    <item>
      <title>Thank you! It is not new</title>
      <link>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/2888802#M1030429</link>
      <description>&lt;P&gt;Thank you! It is not new installation. I have&amp;nbsp;&lt;SPAN class="translation-chunk" data-align="0:15"&gt;indicator&lt;/SPAN&gt;&lt;SPAN class="translation-chunk"&gt; &lt;/SPAN&gt;&lt;SPAN class="translation-chunk" data-align="16:40"&gt;&amp;nbsp;an exclamation mark&lt;/SPAN&gt;&lt;SPAN class="translation-chunk"&gt; &lt;/SPAN&gt;&lt;SPAN class="translation-chunk" data-align="41:56"&gt;on the hardware. What it is mean?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 14:35:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/2888802#M1030429</guid>
      <dc:creator>n.avramenko87</dc:creator>
      <dc:date>2016-06-22T14:35:10Z</dc:date>
    </item>
    <item>
      <title>Hello Team,</title>
      <link>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/2888803#M1030430</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;If its a hardware , you can also check the LCD panel if that shows any hardware error (click on next button ).&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;Could you please verify the status of the following :-&lt;/P&gt;
&lt;P&gt;pmtool status |grep mysqld&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;Rate if this post helps you.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Jetsy&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 15:12:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/2888803#M1030430</guid>
      <dc:creator>Jetsy Mathew</dc:creator>
      <dc:date>2016-06-23T15:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hello Team,</title>
      <link>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/3944195#M1030431</link>
      <description>&lt;P&gt;&amp;nbsp;Hi dedr&lt;/P&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-main"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-main"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;&lt;DIV class="MessageSubject"&gt;&lt;DIV class="MessageSubjectIcons "&gt;&lt;DIV class="lia-message-subject"&gt;Error in FireSight - "Unable to connect to DB&lt;/DIV&gt;&lt;DIV class="lia-message-subject"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-subject"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-subject"&gt;the device gets powered off suddenly after that we have this erroe when push config to sfr&lt;/DIV&gt;&lt;DIV class="lia-message-subject"&gt;trying to connect to database server after error 2002: con not connecteto local mysql server through socket&lt;/DIV&gt;&lt;DIV class="lia-message-subject"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Oct 2019 05:22:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/3944195#M1030431</guid>
      <dc:creator>nima.hatami</dc:creator>
      <dc:date>2019-10-21T05:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hello Team,</title>
      <link>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/4003288#M1030432</link>
      <description>&lt;P&gt;Yep, same issue here!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aug 9 09:11:35 firepower SF-IMS[5036]: [5036] hm_notifyd:DatastoreClient [ERROR] &lt;STRONG&gt;Unable to connect to datastore: Unhandled database error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aug 9 09:11:35 firepower SF-IMS[5036]: [5036] hm_notifyd:HMNOTIFY_ReadConfig [ERROR] &lt;STRONG&gt;Unable to create DB connection: Unhandled database error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aug 9 09:11:35 firepower SF-IMS[5036]: [5036] hm_notifyd:main [ERROR] &lt;STRONG&gt;Error reading configuration on the database&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Dec 2019 02:04:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/4003288#M1030432</guid>
      <dc:creator>Alan Ng'ethe</dc:creator>
      <dc:date>2019-12-25T02:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error in FireSight - "Unable to connect to DB".</title>
      <link>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/4585266#M1088915</link>
      <description>&lt;P&gt;Here issue here. Contacted TAC and they suggested re-image, but weeks later, the issue happens again. Any solution for this issue?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 13:55:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/4585266#M1088915</guid>
      <dc:creator>wwu</dc:creator>
      <dc:date>2022-04-04T13:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error in FireSight - "Unable to connect to DB".</title>
      <link>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/4585752#M1088941</link>
      <description>&lt;P&gt;What appliance is this happening on?&amp;nbsp; Did you re-image?&amp;nbsp; What version? Is it in an HA pair? Is that the exact error message?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you did re-image the backup you used may have had the problem already -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Things you can try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;check for database errors&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;admin@firepower:/opt/cisco/csp/applications$ &lt;STRONG&gt;sudo DBCheck.pl&lt;/STRONG&gt;&lt;BR /&gt;running database integrity check with the following options:&lt;BR /&gt;- use exception directory /ngfw/usr/local/sf/etc/db_exceptions&lt;BR /&gt;- check refererences&lt;BR /&gt;- check enterprise objects&lt;BR /&gt;- check schema&lt;BR /&gt;- check required data&lt;BR /&gt;- log to stderr&lt;BR /&gt;getting filenames from [/ngfw/usr/local/sf/etc/db_updates/index]&lt;BR /&gt;getting filenames from [/ngfw/usr/local/sf/etc/db_updates/base-6.4.0]&lt;BR /&gt;getting exceptions from [/ngfw/usr/local/sf/etc/db_exceptions/db_exceptions.yaml]&lt;BR /&gt;DBCheck running with 6.4.0 as CURRENT VERSION.&lt;BR /&gt;fireamp_event_template uses the current schema. Using that for validation.&lt;BR /&gt;&amp;lt;omitted&amp;gt;&lt;BR /&gt;packet_log_template uses the current schema. Using that for validation.&lt;BR /&gt;After Checking DB, Warnings: 0, Fatal Errors: 0&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;check for down services&lt;/STRONG&gt;&lt;BR /&gt;admin@firepower:/opt/cisco/csp/applications$&lt;STRONG&gt; sudo pmtool status | grep Down&lt;/STRONG&gt;&lt;BR /&gt;RUAScheduledDownload - Period 3600 - Next run Mon Apr 4 22:00:00 2022&lt;BR /&gt;&lt;A href="mailto:admin@firepower:/opt/cisco/csp/applications$" target="_blank"&gt;admin@firepower:/opt/cisco/csp/applications$ &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tail&amp;nbsp; /var/lib/mysql/mysql-server.err&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;root@firepower:~# tail /var/lib/mysql/mysql-server.err&lt;BR /&gt;2022-04-05 1:09:41 22452549753728 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...&lt;BR /&gt;&amp;lt;omitted&amp;gt;&lt;BR /&gt;2022-04-05 1:09:41 22452549753728 [Note] /ngfw/usr/bin/mysqld: ready for connections. &lt;STRONG&gt;&amp;lt;==do you see this?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;check for corrupted tables -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;root@firepower:~# mysqlcheck -padmin sfsnort | grep -wv OK&lt;BR /&gt;sfsnort.sf_cache_tracker_mem&lt;BR /&gt;note : The storage engine for the table doesn't support check&lt;BR /&gt;sfsnort.sf_rule_summary_mem&lt;BR /&gt;note : The storage engine for the table doesn't support check&lt;BR /&gt;&lt;A href="mailto:root@firepower:~" target="_blank"&gt;root@firepower:~# &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you see&amp;nbsp; anything not "OK" you can run&lt;STRONG&gt; repair_table.pl&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let us know the exact message you see&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 02:12:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/4585752#M1088941</guid>
      <dc:creator>cybergeezer</dc:creator>
      <dc:date>2022-04-05T02:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error in FireSight - "Unable to connect to DB".</title>
      <link>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/4586584#M1088962</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;cybergeezer,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We are using ASA 5525-X with firepower service. Two devices with HA. Both SFR modules have this issue. We created a case on TAC and it has been more than 3 months and the issue is still. I reimaged the SFR modules and it worked for weeks or so, but then the issue happens again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did&amp;nbsp;DBCheck.pl on Firepower which is a virtual appliance on our case and no warnings or error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We did dozen of reimage and it just happens over and over. One SFR module was failed and I reimaged it last week, another one started the issue from last Friday. When the issue happens, both SFR modules&amp;nbsp; were up and down for two or three days, and then complete down.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;W&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 14:55:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/error-in-firesight-quot-unable-to-connect-to-db-quot/m-p/4586584#M1088962</guid>
      <dc:creator>wwu</dc:creator>
      <dc:date>2022-04-05T14:55:18Z</dc:date>
    </item>
  </channel>
</rss>

