Monitoring Splunk

KVSTORE FAILED TO START ISSUE

dy1
Loves-to-Learn
KV Store changed status to failed. KVStore process terminated.. 10/2/2025, 12:23:23 am
Failed to start KV Store process. See mongod.log and splunkd.log for details. 10/2/2025, 12:23:23 am
KV Store process terminated abnormally (exit code 4, status PID 6147 killed by signal 4: Illegal instruction). See mongod.log and splunkd.log for details.
 
 
this above mention issues are showing .
 
#kvstore @kvstore @splunk
Labels (4)
0 Karma

myitlab42000
Explorer

hi,

could you check this requirements. For example, is your cpu supported avx / avx2 instructions, if yes, is it enabled ?

https://docs.splunk.com/Documentation/Splunk/9.4.0/Admin/MigrateKVstore

https://www.mongodb.com/docs/manual/administration/production-notes/

i hope this help

Tags (1)
0 Karma

kiran_panchavat
SplunkTrust
SplunkTrust

@dy1 

See the status of the KV store by using the following command.

/opt/splunk/bin/splunk show kvstore-status -auth <user_name>:<password>

Review the mongod.log and splunkd.log files for more detailed error messages.

If there's a lock file causing the issue, you can remove it:

sudo rm -rf /xxx/kvstore/mongo/mongod.lock

Renaming the current MongoDB folder can help reset the KV Store.

mv $SPLUNK_HOME/var/lib/splunk/kvstore/mongo $SPLUNK_HOME/var/lib/splunk/kvstore/mongo.old


Steps:-

Stop Splunk
Rename the current mongo folder to old
Start Splunk
And you will see a new Mongo folder created with all the components.

Did this help? If yes, please consider giving kudos, marking it as the solution, or commenting for clarification — your feedback keeps the community going!

richgalloway
SplunkTrust
SplunkTrust

What does mongod.log say?

What version of Splunk?  What version of KVStore?  Are you using mmapv1 or wiredTiger?

---
If this reply helps you, Karma would be appreciated.
0 Karma

Dikshi
Loves-to-Learn Lots

using wiredtiger

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Thanks.  Please answer the other three questions.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...