Installation

Why did our Splunk 6.4.x instance on Linux downgrade back to 6.1.3 two weeks after we upgraded?

sumit9999
New Member

So we upgraded Splunk 6.1.3 to latest 6.4 version. This is a Linux server. Things worked fine for about 2 weeks with new version. This morning, Splunk was down and after bringing it back up looks like it automatically downgraded back to the old version. Trying to understand what might have caused this?

Labels (2)
Tags (4)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

AFAIK, Splunk does not automatically downgrade itself. Could someone have restored a system backup over the weekend? Or rolled-back a VM snapshot?

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

JDukeSplunk
Builder

Because Splunk is file based, and so is Linux for that matter. The only way that could have happened is if the old Spunk/bin directory still exists on the system somewhere. You may want to run this from the root of your linux box and see if multiple copies of Splunk are installed.

find -name splunkd -perm /a=x

There really should only be one instance of /bin/splunkd

0 Karma

sumit9999
New Member

yes ... older version of splunk was started which resided in /opt/splunk/bin, whereas new location is : /opt/splunk/splunk/bin . So when I unzipped the upgrade (splunk-6.4.2-00f5bb3fa822-Linux-x86_64.tar) package, I was under impression that it overrides older dirs with the updated changes , is that not the case?

I thank you for your response !

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Yes, tar will overwrite existing files, but only if you're in the right place (/opt) at the time or use the -C /opt option.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...