Installation

Upgrading Universal Forwarder 8.x.x to 9.x.x does not work?

blaha1
Loves-to-Learn

I have been using the Universal  forwarder splunkforwarder-7.2.6-c0bf0f679ce9-Linux-x86_64 for quite a while without issues. I now wanted to upgrade to the latest one, 9.0.2 so I downloaded it and ran it just like I did with the old version. However, when starting it, 

${SPLUNK_HOME}/bin/splunk start --accept-license --answer-yes --no-prompt
 
It seems to crash with
 
Error calling execve(): No such file or directory
Error launching command: Invalid argument
 
I then tried the latest 8.x.x version, 8.2.9 and that worked perfectly fine.
 
What has changed between version 8 and 9? Any new requirements I am not aware of?
Labels (3)
Tags (3)
0 Karma

spenna
Explorer

I have this same problem with containers. Works in 8.x, but get the same failure in 9.x. Investigating.

0 Karma

spenna
Explorer

Adding the following to my compose file fixes the problem with docker containers in 9.x:

  splunk:
     tty: true

 

edgars
Explorer

Thank you! This fixed the issue afret I upgraded from 8.x to 9.x.

0 Karma

blaha1
Loves-to-Learn

And if you are not using compose files, is there perhaps something that can be configured?

0 Karma

spenna
Explorer

I don’t know if there is a config option for splunk itself. With docker cli, you should be able to add the -t flag and it would be the same as the compose version. 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I can't find it documented, but going from 7 to 9 may be too much of a jump.  Now that you're on 8, installing 9 should work.

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

blaha1
Loves-to-Learn

 Its not really an upgrade, I'm using docker containers so its basically a fresh install everytime so to speak.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Tips & Tricks When Using Ingest Actions

Tune in to learn about:Large scale architecture when using Ingest ActionsRegEx performance considerations ...

Announcing Our Splunk MVPs

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

Dashboard Studio Challenge - Learn New Tricks, Showcase Your Skills, and Win Prizes!

Reimagine what you can do with your dashboards. Dashboard Studio is Splunk’s newest dashboard builder to ...