<?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 KVStore does not start when running Splunk 9.4 in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/708304#M29016</link>
    <description>&lt;P&gt;I am posting this to maybe save you from few hours of troubleshooting like I did.&lt;BR /&gt;&lt;BR /&gt;I did clean install of Splunk 9.4 in small customer environment with virtualized AIO instance. After the installation there was an error notifying that KV Store can not start and that mongo log should be checked.&lt;/P&gt;&lt;P&gt;The following error was logged:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;ERROR KVStoreConfigurationProvider [4755 KVStoreConfigurationThread] - Could not start mongo instance. Initialization failed.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Mongod.log was completely empty.&amp;nbsp; So there was no clues in the log files about what is wrong and what can I do to make KVStore operational.&lt;BR /&gt;&lt;BR /&gt;Time to start Googling. Solution will be posted in the next post.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2025 21:45:03 GMT</pubDate>
    <dc:creator>MaverickT</dc:creator>
    <dc:date>2025-01-08T21:45:03Z</dc:date>
    <item>
      <title>KVStore does not start when running Splunk 9.4</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/708304#M29016</link>
      <description>&lt;P&gt;I am posting this to maybe save you from few hours of troubleshooting like I did.&lt;BR /&gt;&lt;BR /&gt;I did clean install of Splunk 9.4 in small customer environment with virtualized AIO instance. After the installation there was an error notifying that KV Store can not start and that mongo log should be checked.&lt;/P&gt;&lt;P&gt;The following error was logged:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;ERROR KVStoreConfigurationProvider [4755 KVStoreConfigurationThread] - Could not start mongo instance. Initialization failed.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Mongod.log was completely empty.&amp;nbsp; So there was no clues in the log files about what is wrong and what can I do to make KVStore operational.&lt;BR /&gt;&lt;BR /&gt;Time to start Googling. Solution will be posted in the next post.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 21:45:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/708304#M29016</guid>
      <dc:creator>MaverickT</dc:creator>
      <dc:date>2025-01-08T21:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: KVStore does not start when running Splunk 9.4</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/708306#M29017</link>
      <description>&lt;P&gt;I did some reading of the documentation and realized that underlying Mongo DB was upgraded to 7. I figured out that Mongo DB 5+ requires &lt;A href="https://github.com/turnkeylinux/tracker/issues/1724" target="_self"&gt;AVX instruction set&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So time to check if CPU supports AVX instruction set - in my case the CPU model did support this instructions. But running the &lt;EM&gt;lscpu&lt;/EM&gt; command didnt show AVX flags. It turned out that AVX instructions were not available, because the VM had Processor compatibility mode enabled. In hyper-v we had to remove "Allow migration to a virtual machine host with a different processor version" checkbox.&amp;nbsp; After VM was restarted, AVX appeared in CPU flags and Splunk KV Store was operational.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-01-08 at 22.23.30.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/34076iA2C2010013EE040A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-01-08 at 22.23.30.png" alt="Screenshot 2025-01-08 at 22.23.30.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Lession learned: before upgrading&amp;nbsp; to 9.4 (or making fresh install), check if AVX flag is available. If it isn't, it is about time to upgrade your hardware &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt; and in stick to Splunk 9.3.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 21:54:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/708306#M29017</guid>
      <dc:creator>MaverickT</dc:creator>
      <dc:date>2025-01-08T21:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: KVStore does not start when running Splunk 9.4</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/708307#M29018</link>
      <description>&lt;P&gt;Have you checked from mongodb.log why this is not starting? There is one another case where Windows OS was not supported by Splunk 9.4.0 version. &lt;A href="https://community.splunk.com/t5/Splunk-Enterprise/KVstore-unable-to-start-after-upgrade-to-Splunk-Enterprise-9-4/m-p/708264#M21264" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Enterprise/KVstore-unable-to-start-after-upgrade-to-Splunk-Enterprise-9-4/m-p/708264#M21264&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 21:56:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/708307#M29018</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2025-01-08T21:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: KVStore does not start when running Splunk 9.4</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/745984#M29430</link>
      <description>&lt;P&gt;I also hit an upgrade bug with 9.4.1 on a clients indexers , the upgrade migration mongo 4-7 failed to run due to the scripts not using SPLUNK_DB but hardcoding /opt/splunk/var/lib.... The indexers had a separate filesystem /data01/,,,, I was able to create a link from the mongo under /opt/splunk/var/lib/splunk/kvstore... to the "real" one in /data01 and restart triggering the upgrade process to complete properly ....&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 18:31:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/745984#M29430</guid>
      <dc:creator>mwk1000</dc:creator>
      <dc:date>2025-05-12T18:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: KVStore does not start when running Splunk 9.4</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/745986#M29431</link>
      <description>&lt;P&gt;So if your indexers have separate storage filesystem for indexes consider pre upgrade creating the links ln -s /mypath-to/mongo /opt/splunk/var/lib/splunk/kvstore/mongo for a headach free kvstore update&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 18:39:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/745986#M29431</guid>
      <dc:creator>mwk1000</dc:creator>
      <dc:date>2025-05-12T18:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: KVStore does not start when running Splunk 9.4</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/749257#M29568</link>
      <description>&lt;P&gt;Which if your indexers are using a different partition for their storage, could be anywhere. &amp;nbsp; &amp;nbsp;I found that I was missing the link too, &amp;nbsp; &amp;nbsp;put note that I've put the link in at kvstore level rather than the mongo&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ln -s /splunkdata/kvstore /opt/splunk/var/lib/splunk/kvstore&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Where /splunkdata/ is my mounted data drive where all my indexes go.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 12:23:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/749257#M29568</guid>
      <dc:creator>dpollardcouk</dc:creator>
      <dc:date>2025-07-04T12:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: KVStore does not start when running Splunk 9.4</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/750538#M29618</link>
      <description>&lt;P&gt;This breaks Splunk running in Rosetta on ARM based M1,M2,M3,M4 mac computers.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Previously Splunk can be run smoothly in Rosetta emulated Linux VM on new macs.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2025 00:31:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/750538#M29618</guid>
      <dc:creator>kundeng</dc:creator>
      <dc:date>2025-07-28T00:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: KVStore does not start when running Splunk 9.4</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/753447#M29699</link>
      <description>&lt;P&gt;I realize this response comes in a bit late in the game for most on this thread, but hopefully it will be useful to someone.&amp;nbsp;&lt;/P&gt;&lt;P&gt;KV Store is not used on indexers. In fact, it can be &lt;A title="Disable the KV Store" href="https://help.splunk.com/en/splunk-enterprise/administer/admin-manual/9.4/administer-the-app-key-value-store/about-the-app-key-value-store" target="_blank" rel="noopener"&gt;disabled&lt;/A&gt; on any Splunk Enterprise instance that is not running as a search head (see caveats below). This means includes Indexers, Deployment Servers, Cluster Managers, License Managers and Search Head Cluster Deployers, Heavy Forwarders (see exceptions below).&lt;/P&gt;&lt;P&gt;Instances that SHOULD run KV Store include:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Search Heads&lt;/LI&gt;&lt;LI&gt;Monitoring Console (if you want access to its KV Store dashboards-- see caveats below)&lt;/LI&gt;&lt;LI&gt;Heavy Forwarders, if used as search heads or are running DB Connect app (or, not likely but possible, any custom app that specifically relies on the KV Store)&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Lastly, any Splunk Enterprise instance in your deployment which requires&lt;A title="Authenticate Splunk Platform with Tokens" href="https://help.splunk.com/en/splunk-enterprise/administer/manage-users-and-security/9.4/authenticate-into-the-splunk-platform-with-tokens/set-up-authentication-with-tokens" target="_blank" rel="noopener"&gt; token-based authentication&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CAVEATS:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If your Monitoring Console machine also operates another Splunk role such as Deployment Server or License Manager, keep the KV Store running on that instance.&lt;/LI&gt;&lt;LI&gt;As of this writing, the Monitoring Console appears to use the KV Store only for KV Store-specific dashboards. If you don't care about those dashboards and the KV Store is giving you real headaches on that instance, disabling it will cause the dashboards which rely on KV Store to stop working, but all other Monitoring Console dashboards will function as expected.&lt;/LI&gt;&lt;LI&gt;Universal Forwarders are not shipped with the KV Store so nothing to worry about there&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 22 Sep 2025 17:40:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/KVStore-does-not-start-when-running-Splunk-9-4/m-p/753447#M29699</guid>
      <dc:creator>trashyroadz</dc:creator>
      <dc:date>2025-09-22T17:40:21Z</dc:date>
    </item>
  </channel>
</rss>

