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
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.
What does mongod.log say?
What version of Splunk? What version of KVStore? Are you using mmapv1 or wiredTiger?
using wiredtiger
Thanks. Please answer the other three questions.