<?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: kv store problem in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/kv-store-problem/m-p/489513#M4384</link>
    <description>&lt;P&gt;hi @sarit_s,&lt;/P&gt;

&lt;P&gt;Check the permission of mongo directory: $SPLUNK_HOME/var/lib/splunk/kvstore/mongo/. You can change user and group to splunk.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;chown -R splunk:splunk $SPLUNK_HOME
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Change file permissions for splunk.key to 600.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;chmod 600 $SPLUNK_HOME/var/lib/splunk/kvstore/mongo/splunk.key
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 09 Mar 2020 11:47:26 GMT</pubDate>
    <dc:creator>manjunathmeti</dc:creator>
    <dc:date>2020-03-09T11:47:26Z</dc:date>
    <item>
      <title>kv store problem</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/kv-store-problem/m-p/489512#M4383</link>
      <description>&lt;P&gt;hello&lt;BR /&gt;
i'm running splunk with Kubernetese and Ansible&lt;BR /&gt;
from time to time im getting this error :&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;[SPLUNKD] Error in 'inputlookup' command: External command based lookup&lt;BR /&gt;
'kv_alerts_prod' is not available&lt;BR /&gt;
because KV Store initialization has&lt;BR /&gt;
failed. Contact your system&lt;BR /&gt;
administrator.&lt;BR /&gt;
{"message":"{\"response\":{\"headers\":{\"date\":\"Mon,&lt;BR /&gt;
09 Mar 2020 07:44:04&lt;BR /&gt;
GMT\",\"expires\":\"Thu, 26 Oct 1978&lt;BR /&gt;
00:00:00&lt;BR /&gt;
GMT\",\"cache-control\":\"no-store,&lt;BR /&gt;
no-cache, must-revalidate,&lt;BR /&gt;
max-age=0\",\"content-type\":\"application/json;&lt;BR /&gt;
charset=UTF-8\",\"x-content-type-options\":\"nosniff\",\"content-length\":\"215\",\"vary\":\"Cookie,&lt;BR /&gt;
Authorization\",\"connection\":\"Close\",\"set-cookie\":[\"splunkd_8089=S8owSsAcljUIFXeya8Nhkk9y^cqA^qGsZi2mnFodHbZzb51KqkZIsqrtkEp1RVvwejUi1ADnoVtJaqV859dCuoZX^WkIKg6ZWDWM_h0Ks1lhSMRXKgpZ323DKC;&lt;BR /&gt;
Path=/; Secure; HttpOnly;&lt;BR /&gt;
Max-Age=3600; Expires=Mon, 09 Mar 2020&lt;BR /&gt;
08:44:04&lt;BR /&gt;
GMT\"],\"x-frame-options\":\"SAMEORIGIN\",\"server\":\"Splunkd\"},\"statusCode\":400},\"status\":400,\"data\":{\"messages\":[{\"type\":\"FATAL\",\"text\":\"Error&lt;BR /&gt;
in 'inputlookup' command: External&lt;BR /&gt;
command based lookup 'kv_alerts_prod'&lt;BR /&gt;
is not available because KV Store&lt;BR /&gt;
initialization has failed. Contact&lt;BR /&gt;
your system&lt;BR /&gt;
administrator.\"}]},\"error\":null}","level":"ERROR","logger":"argus:aviation-splunk-rest-apis:services:splunkService","timestamp":"2020-03-09T07:44:04.451Z"}&lt;BR /&gt;
{"message":"{\"response\":{\"headers\":{\"date\":\"Mon,&lt;BR /&gt;
09 Mar 2020 07:44:04&lt;BR /&gt;
GMT\",\"expires\":\"Thu, 26 Oct 1978&lt;BR /&gt;
00:00:00&lt;BR /&gt;
GMT\",\"cache-control\":\"no-store,&lt;BR /&gt;
no-cache, must-revalidate,&lt;BR /&gt;
max-age=0\",\"content-type\":\"application/json;&lt;BR /&gt;
charset=UTF-8\",\"x-content-type-options\":\"nosniff\",\"content-length\":\"215\",\"vary\":\"Cookie,&lt;BR /&gt;
Authorization\",\"connection\":\"Close\",\"set-cookie\":[\"splunkd_8089=S8owSsAcljUIFXeya8Nhkk9y^cqA^qGsZi2mnFodHbZzb51KqkZIsqrtkEp1RVvwejUi1ADnoVtJaqV859dCuoZX^WkIKg6ZWDWM_h0Ks1lhSMRXKgpZ323DKC;&lt;BR /&gt;
Path=/; Secure; HttpOnly;&lt;BR /&gt;
Max-Age=3600; Expires=Mon, 09 Mar 2020&lt;BR /&gt;
08:44:04&lt;BR /&gt;
GMT\"],\"x-frame-options\":\"SAMEORIGIN\",\"server\":\"Splunkd\"},\"statusCode\":400},\"status\":400,\"data\":{\"messages\":[{\"type\":\"FATAL\",\"text\":\"Error&lt;BR /&gt;
in 'inputlookup' command: External&lt;BR /&gt;
command based lookup 'kv_alerts_prod'&lt;BR /&gt;
is not available because KV Store&lt;BR /&gt;
initialization has failed. Contact&lt;BR /&gt;
your system&lt;BR /&gt;
administrator.\"}]},\"error\":null}","level":"ERROR","logger":"argus:aviation-splunk-rest-apis","timestamp":"2020-03-09T07:44:04.451Z"}&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;KV Store process terminated abnormally&lt;BR /&gt;
(exit code 100, status exited with&lt;BR /&gt;
code 100). See mongod.log and&lt;BR /&gt;
splunkd.log for details.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;removing mongod.lock fix the problem but it is happening again . im wondering if there is another way to solve it &lt;/P&gt;

&lt;P&gt;thanks !&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:31:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/kv-store-problem/m-p/489512#M4383</guid>
      <dc:creator>sarit_s</dc:creator>
      <dc:date>2020-09-30T04:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: kv store problem</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/kv-store-problem/m-p/489513#M4384</link>
      <description>&lt;P&gt;hi @sarit_s,&lt;/P&gt;

&lt;P&gt;Check the permission of mongo directory: $SPLUNK_HOME/var/lib/splunk/kvstore/mongo/. You can change user and group to splunk.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;chown -R splunk:splunk $SPLUNK_HOME
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Change file permissions for splunk.key to 600.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;chmod 600 $SPLUNK_HOME/var/lib/splunk/kvstore/mongo/splunk.key
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Mar 2020 11:47:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/kv-store-problem/m-p/489513#M4384</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-03-09T11:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: kv store problem</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/kv-store-problem/m-p/489514#M4385</link>
      <description>&lt;P&gt;Hey&lt;BR /&gt;
thanks for your answer&lt;BR /&gt;
it is already set up like this &lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 12:46:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/kv-store-problem/m-p/489514#M4385</guid>
      <dc:creator>sarit_s</dc:creator>
      <dc:date>2020-03-09T12:46:58Z</dc:date>
    </item>
  </channel>
</rss>

