Knowledge Management

ERROR: The kvstore port [foo] is already bound. Splunk needs to use this port.

_gkollias
SplunkTrust
SplunkTrust

Hi,

Rather than seeing a mgmt port bound error, I am seeing kvstore port is already bound. I ran ps -aux | grep <port> and noticed a mongod process taking up the port. Does mongod correspond to Splunk's KV store? Just trying to see if there is any connection between the two before killing the process ID and restarting the indexer. Any insight is greatly appreciated.

Thanks in advance

0 Karma
1 Solution

Masa
Splunk Employee
Splunk Employee

Yes, KVStore's engine is tight related to mongodb process built in Splunk package. The port number must be set in [kvstore] stanza in server.conf. If you are not running any Splunk instances and the port is taken by a mongo process, most likely you are safe to kill the process.

View solution in original post

Masa
Splunk Employee
Splunk Employee

Yes, KVStore's engine is tight related to mongodb process built in Splunk package. The port number must be set in [kvstore] stanza in server.conf. If you are not running any Splunk instances and the port is taken by a mongo process, most likely you are safe to kill the process.

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...