<?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 Failed to start KV store process : mongo  could not be opened due to DBException 0 in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-start-KV-store-process-mongo-could-not-be-opened-due/m-p/373451#M13700</link>
    <description>&lt;P&gt;After updating to 7.0.2 KV store is not starting.  Looking in the mongod log this appears to the the error:&lt;/P&gt;

&lt;P&gt;2018-03-22T23:54:15.194Z W STORAGE  [initandlisten] database /opt/splunk/var/lib/splunk/kvstore/mongo s_searchNVnXrM8ANglxlhyhiYmtwGFA_dashbo2XgNZy78snDvL41QBsmrU3TU could not be opened due to DBException 0: assertion src/mongo/db/storage/mmap_v1/extent.h:81&lt;/P&gt;

&lt;P&gt;I've tried changing permissions to 400&lt;BR /&gt;
The mongo directory wasn't allowing me access to change the containing files to 400 so I changed that directory to 777.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 18:38:12 GMT</pubDate>
    <dc:creator>cpt12tech</dc:creator>
    <dc:date>2020-09-29T18:38:12Z</dc:date>
    <item>
      <title>Failed to start KV store process : mongo  could not be opened due to DBException 0</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-start-KV-store-process-mongo-could-not-be-opened-due/m-p/373451#M13700</link>
      <description>&lt;P&gt;After updating to 7.0.2 KV store is not starting.  Looking in the mongod log this appears to the the error:&lt;/P&gt;

&lt;P&gt;2018-03-22T23:54:15.194Z W STORAGE  [initandlisten] database /opt/splunk/var/lib/splunk/kvstore/mongo s_searchNVnXrM8ANglxlhyhiYmtwGFA_dashbo2XgNZy78snDvL41QBsmrU3TU could not be opened due to DBException 0: assertion src/mongo/db/storage/mmap_v1/extent.h:81&lt;/P&gt;

&lt;P&gt;I've tried changing permissions to 400&lt;BR /&gt;
The mongo directory wasn't allowing me access to change the containing files to 400 so I changed that directory to 777.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:38:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-start-KV-store-process-mongo-could-not-be-opened-due/m-p/373451#M13700</guid>
      <dc:creator>cpt12tech</dc:creator>
      <dc:date>2020-09-29T18:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to start KV store process : mongo  could not be opened due to DBException 0</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-start-KV-store-process-mongo-could-not-be-opened-due/m-p/373452#M13701</link>
      <description>&lt;P&gt;Hi can you try:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;chmod 600 /opt/splunk/var/lib/splunk/kvstore/mongo/splunk.key
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And then:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./splunk show kvstore-status
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Mar 2018 03:18:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-start-KV-store-process-mongo-could-not-be-opened-due/m-p/373452#M13701</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-23T03:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to start KV store process : mongo  could not be opened due to DBException 0</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-start-KV-store-process-mongo-could-not-be-opened-due/m-p/373453#M13702</link>
      <description>&lt;P&gt;Thanks for the suggestion.  Changed permissions on the .key file to 600.  KV store still not starting with the same error.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Mar 2018 00:42:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-start-KV-store-process-mongo-could-not-be-opened-due/m-p/373453#M13702</guid>
      <dc:creator>cpt12tech</dc:creator>
      <dc:date>2018-03-24T00:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to start KV store process : mongo  could not be opened due to DBException 0</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-start-KV-store-process-mongo-could-not-be-opened-due/m-p/373454#M13703</link>
      <description>&lt;P&gt;Just updated to maintenance version Splunk 7.0.3.  KV store still not starting with the same error.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Mar 2018 00:43:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-start-KV-store-process-mongo-could-not-be-opened-due/m-p/373454#M13703</guid>
      <dc:creator>cpt12tech</dc:creator>
      <dc:date>2018-03-24T00:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to start KV store process : mongo  could not be opened due to DBException 0</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-start-KV-store-process-mongo-could-not-be-opened-due/m-p/373455#M13704</link>
      <description>&lt;P&gt;Solved this by deleting the database referenced in the error.  Somehow it had gotten corrupted.  Navigated to the mongo folder using the terminal, removed the database, stopped and started splunk.&lt;/P&gt;

&lt;P&gt;Ran my output lookups to populate the KV store and the data came back.&lt;BR /&gt;&lt;BR /&gt;
After a couple minutes got this error:&lt;BR /&gt;
 2018-03-30T23:03:16.898Z I CONTROL  [DataFileSync] &lt;BR /&gt;
 2018-03-30T23:03:16.892Z I -        [DataFileSync] Fatal Assertion 17346&lt;BR /&gt;
 2018-03-30T23:03:16.892Z I CONTROL  [DataFileSync]  shutting down immediately to avoid corruption&lt;BR /&gt;
 2018-03-30T23:03:16.892Z I CONTROL  [DataFileSync] error syncing data to disk, probably a disk error&lt;/P&gt;

&lt;P&gt;Thinking there could disk errors I ran the OS badblocks disk check and found no errors.&lt;BR /&gt;
Restarted machine and splunk came back up with no KV store errors.  The KV store has been running for 24 hours with no errors.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 17:39:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-start-KV-store-process-mongo-could-not-be-opened-due/m-p/373455#M13704</guid>
      <dc:creator>cpt12tech</dc:creator>
      <dc:date>2018-04-05T17:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to start KV store process : mongo  could not be opened due to DBException 0</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-start-KV-store-process-mongo-could-not-be-opened-due/m-p/373456#M13705</link>
      <description>&lt;P&gt;I am getting kV store related error in my Splunk&lt;/P&gt;

&lt;P&gt;-Failed to start KV Store process. See mongod.log and splunkd.log for details.&lt;/P&gt;

&lt;P&gt;-KV Store changed status to failed. KVStore process terminated..&lt;/P&gt;

&lt;P&gt;-KV Store process terminated abnormally (exit code 14, status exited with code 14). See mongod.log and splunkd.log for details&lt;/P&gt;

&lt;P&gt;When I check the status "./splunk show kvstore-status" , It says "Failed"&lt;/P&gt;

&lt;P&gt;I have checked below file permission "/opt/splunk/volr/splunk/kvstore/mongo/splunk.key" which is 600&lt;/P&gt;

&lt;P&gt;And the DB location in  "splunk-launch.conf" says-&lt;/P&gt;

&lt;H1&gt;Location where we want to store the indexed data.&lt;/H1&gt;

&lt;P&gt;SPLUNK_DB=/volr/splunk&lt;/P&gt;

&lt;P&gt;Is there any help I can get here to troubleshoot it?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 10:32:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Failed-to-start-KV-store-process-mongo-could-not-be-opened-due/m-p/373456#M13705</guid>
      <dc:creator>rajuljain2605</dc:creator>
      <dc:date>2019-06-20T10:32:51Z</dc:date>
    </item>
  </channel>
</rss>

