<?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 Re: How to resolve issues with mongod startup such as &amp;quot;Failed to start KV Store process&amp;quot; error? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244276#M2169</link>
    <description>&lt;P&gt;Did you see @gmckean comment above? &lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/490134/how-to-resolve-issues-with-mongod-startup-such-as.html#comment-492834"&gt;https://answers.splunk.com/answers/490134/how-to-resolve-issues-with-mongod-startup-such-as.html#comment-492834&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Try doing chmod on the entire folder instead of just a specific file. Before doing so, you can check if the splunk user has access to all the files/subfolders or if they're owned by root. The "splunk" user owning/running splunk should have access to this location and all files.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jan 2019 12:33:22 GMT</pubDate>
    <dc:creator>rkantamaneni_sp</dc:creator>
    <dc:date>2019-01-02T12:33:22Z</dc:date>
    <item>
      <title>How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244254#M2147</link>
      <description>&lt;P&gt;Issues with mongod startup&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Failed to start KV Store process. See mongod.log and splunkd.log for details. 1/19/2017, 2:52:02 PM 
KV Store changed status to failed. KVStore process terminated. 1/19/2017, 2:52:01 PM    
KV Store process terminated abnormally (exit code 100, status exited with code 100). See mongod.log and splunkd.log for details. 1/19/2017, 2:52:01 PM
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Jan 2017 22:38:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244254#M2147</guid>
      <dc:creator>gmckean</dc:creator>
      <dc:date>2017-01-19T22:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244255#M2148</link>
      <description>&lt;P&gt;What does mongod.log say about it?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 23:35:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244255#M2148</guid>
      <dc:creator>coltwanger</dc:creator>
      <dc:date>2017-01-19T23:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244256#M2149</link>
      <description>&lt;P&gt;Hi gmckean, &lt;/P&gt;

&lt;P&gt;This might be caused by the incorrect mongo db key permission. Please try changing it to 400 using this command on Linux: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;chmod -R 400 $SPLUNK_HOME/var/lib/splunk/kvstore/mongo/splunk.key
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps. Thanks! &lt;BR /&gt;
Hunter&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 23:42:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244256#M2149</guid>
      <dc:creator>hunters_splunk</dc:creator>
      <dc:date>2017-01-19T23:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244257#M2150</link>
      <description>&lt;P&gt;mongod.log implied there was an issue with _tmp permissions. I corrected this then found other permission issues in other areas.&lt;/P&gt;

&lt;P&gt;The corrective action was to chown splunk:splunk    everything under  ..../splunk_indexes/kvstore/mongo.&lt;/P&gt;

&lt;P&gt;Some of the files here were owned by root:root.&lt;/P&gt;

&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:48:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244257#M2150</guid>
      <dc:creator>gmckean</dc:creator>
      <dc:date>2017-01-23T15:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244258#M2151</link>
      <description>&lt;P&gt;The splunk.key file had 400 permission - other files in the splunk/kvstore/mongo dir were owned by root:root.&lt;BR /&gt;
Making these splunk:splunk ownership fixed the problem.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:53:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244258#M2151</guid>
      <dc:creator>gmckean</dc:creator>
      <dc:date>2017-01-23T15:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244259#M2152</link>
      <description>&lt;P&gt;Thanks Hunters, it worked for me. I do not see that error anymore.&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 18:44:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244259#M2152</guid>
      <dc:creator>Abdul_hafeez</dc:creator>
      <dc:date>2017-05-08T18:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244260#M2153</link>
      <description>&lt;P&gt;Permissions on a new install seem to be 600 these days.  Maybe something's changed.  Also, what's with the -R?  just;&lt;/P&gt;

&lt;P&gt;chmod 600 /opt/splunk/var/lib/splunk/kvstore/mongo/splunk.key&lt;/P&gt;

&lt;P&gt;should be fine.  No need to recursively delve into directories of that file.&lt;/P&gt;

&lt;P&gt;Add on a &lt;/P&gt;

&lt;P&gt;chown splunk: /opt/splunk/var/lib/splunk/kvstore/mongo/* &lt;/P&gt;

&lt;P&gt;to cover off the other issues about ownership noted in the thread.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 06:58:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244260#M2153</guid>
      <dc:creator>alisterwhipp</dc:creator>
      <dc:date>2017-09-07T06:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244261#M2154</link>
      <description>&lt;P&gt;Resolved the same issue for us.  Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 20:19:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244261#M2154</guid>
      <dc:creator>Sp1unkin_it</dc:creator>
      <dc:date>2017-10-05T20:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244262#M2155</link>
      <description>&lt;P&gt;Hi @alisterwhipp ,&lt;/P&gt;

&lt;P&gt;how to do this on Windows ?&lt;BR /&gt;
I have Splunk on Windows and I checked the file permission of Splunk.key, its already set to full control, still for my domain splunk account, I am getting the KVstore errors.&lt;/P&gt;

&lt;P&gt;I started getting these errors after changing Splunk from Local account to domain account.&lt;BR /&gt;
PLease help&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 23:35:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244262#M2155</guid>
      <dc:creator>damode</dc:creator>
      <dc:date>2017-10-30T23:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244263#M2156</link>
      <description>&lt;P&gt;Sorry - no  knowledge of the Windows side of things .&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 12:12:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244263#M2156</guid>
      <dc:creator>gmckean</dc:creator>
      <dc:date>2017-10-31T12:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244264#M2157</link>
      <description>&lt;P&gt;What version? I don't see the kvstore directory in 6.6.5:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;H1&gt;ls  $SPLUNK_HOME/var/lib/splunk/kvstore&lt;/H1&gt;

&lt;P&gt;ls: cannot access&lt;BR /&gt;
/opt/splunk/var/lib/splunk/kvstore: No&lt;BR /&gt;
such file or directory&lt;/P&gt;

&lt;H1&gt;ls !$&lt;/H1&gt;

&lt;H1&gt;ls $SPLUNK_HOME/var/lib/splunk&lt;/H1&gt;

&lt;P&gt;_audit.dat           pgsql.dat             srvadmin.dat&lt;BR /&gt;
_blocksignature.dat  resque.dat            summary.dat database.dat&lt;BR /&gt;&lt;BR /&gt;
sandbox-dns-temp.dat  task_admin.dat&lt;BR /&gt;
dpr_worker.dat&lt;BR /&gt;&lt;BR /&gt;
sandbox-generic.dat   _telemetry.dat&lt;BR /&gt;
history.dat          sandbox-ltm.dat&lt;BR /&gt;&lt;BR /&gt;
_thefishbucket.dat&lt;BR /&gt;
_internal.dat        seu-dpr.dat           weblogs.dat&lt;BR /&gt;
_introspection.dat   seulogs.dat main.dat&lt;BR /&gt;&lt;BR /&gt;
seu_urlrequester.dat&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:45:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244264#M2157</guid>
      <dc:creator>wsanderstii</dc:creator>
      <dc:date>2020-09-29T17:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244265#M2158</link>
      <description>&lt;P&gt;I downvoted this post because no such file in 6.6.5&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 19:15:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244265#M2158</guid>
      <dc:creator>wsanderstii</dc:creator>
      <dc:date>2018-01-19T19:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244266#M2159</link>
      <description>&lt;P&gt;That's pretty strange. However, the default path for kvstore is $SPLUNK_DB/kvstore. Perhaps you can verify a couple of things.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Where the KV Store is configured to reside:&lt;/P&gt;

&lt;P&gt;/opt/splunk/bin/splunk btool server list | grep kvstore&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;If it returns dbPath=$SPLUNK_DB/kvstore, then verify your $SPLUNK_DB path is truly var/lib/splunk:&lt;/P&gt;

&lt;P&gt;cat /opt/splunk/etc/splunk-launch.conf | grep SPLUNK_DB&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Hopefully this points you in the right direction. I am on 7.0.1 and have not modified my default SPLUNK_DB path, and I am seeing /opt/splunk/var/lib/splunk/kvstore/ on both Windows and Linux installations. You aren't on Splunk Cloud by chance, are you?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:41:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244266#M2159</guid>
      <dc:creator>coltwanger</dc:creator>
      <dc:date>2020-09-29T17:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244267#M2160</link>
      <description>&lt;P&gt;I In Windows I went to C:\Program Files\Splunk\var\lib\splunk\modinputs\server\splunk_app_db_connect  and gave write permission to the service account.  I opened the folder properties and went to the security tab, selected my service account and gave it write permission. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:16:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244267#M2160</guid>
      <dc:creator>millarma</dc:creator>
      <dc:date>2020-09-29T18:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244268#M2161</link>
      <description>&lt;P&gt;/opt/splunk/bin/splunk btool server list | grep kvstore&lt;BR /&gt;
[introspection:generator:kvstore]&lt;BR /&gt;
[kvstore]&lt;BR /&gt;
dbPath = $SPLUNK_DB/kvstore&lt;/P&gt;

&lt;P&gt;It was under    splunk_indexes/kvstore/mongo/splunk.key   - missing _indexes in original post&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 23:09:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244268#M2161</guid>
      <dc:creator>gmckean</dc:creator>
      <dc:date>2018-02-27T23:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244269#M2162</link>
      <description>&lt;P&gt;/opt/splunk/bin/splunk btool server list | grep kvstore&lt;BR /&gt;
[introspection:generator:kvstore]&lt;BR /&gt;
[kvstore]&lt;BR /&gt;
dbPath = $SPLUNK_DB/kvstore&lt;/P&gt;

&lt;P&gt;..../splunk_indexes/kvstore/mongo&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 23:11:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244269#M2162</guid>
      <dc:creator>gmckean</dc:creator>
      <dc:date>2018-02-27T23:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244270#M2163</link>
      <description>&lt;P&gt;kvstore folder is missing in one of the search head in cluster can anyone explain why this happened and the search head which is missing with kvstore folder is kvstore captain.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 18:16:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244270#M2163</guid>
      <dc:creator>saisrujan28</dc:creator>
      <dc:date>2018-03-20T18:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244271#M2164</link>
      <description>&lt;P&gt;I have the same error. Tried everything in this thread still the same issue.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 18:05:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244271#M2164</guid>
      <dc:creator>omprakash9998</dc:creator>
      <dc:date>2018-04-27T18:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244272#M2165</link>
      <description>&lt;P&gt;What (if any) errors are there in mongod.log? Have you changed a SSL cert recently?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 14:29:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244272#M2165</guid>
      <dc:creator>coltwanger</dc:creator>
      <dc:date>2018-04-30T14:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve issues with mongod startup such as "Failed to start KV Store process" error?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244273#M2166</link>
      <description>&lt;P&gt;chmod: cannot access ‘/var/lib/splunk/kvstore/mongo/splunk.key’: No such file or directory&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 19:55:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-resolve-issues-with-mongod-startup-such-as-quot-Failed-to/m-p/244273#M2166</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2018-10-19T19:55:32Z</dc:date>
    </item>
  </channel>
</rss>

