Installation

How to resolve KV port change error - upgrade from 6.1 to 6.2 on Ubuntu x64?

r2r2
Explorer

Hello!
I upgraded splunk 6.1 to 6.2, tried to start new version but received a error:

Checking kvstore port [3433593128]: invalid; must be between 1 and 65535
Would you like to change ports? [y/n]: y
Enter a new kvstore port: 54321
Setting kvstore to port: 54321
Did not find "disabled" setting of "kvstore" stanza in server bundle.
Error changing port, exiting

Could you advice me anything, please?

Labels (1)
0 Karma
1 Solution

r2r2
Explorer

It hadn`t worked because I copied old etc-folder.
I updated splunk again and now it works.
Thank you for your help!

View solution in original post

r2r2
Explorer

It hadn`t worked because I copied old etc-folder.
I updated splunk again and now it works.
Thank you for your help!

dgladkikh_splun
Splunk Employee
Splunk Employee

How did you perform an upgrade to Splunk 6.2?
Could you do

head -1 $SPLUNK_HOME/etc/system/default/server.conf

This should tell that the version is 6.2.
Also please verify that server.conf has a default kvstore settings in it

$ tail -11 $SPLUNK_HOME/etc/system/default/server.conf
[kvstore]

disabled = false

port = 8191
replicaset = splunkrs
distributedLookupTimeout = 30
shutdownTimeout = 100
initAttempts = 300

dbPath = $SPLUNK_DB/kvstore
Get Updates on the Splunk Community!

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...