Installation

Upgrading splunk on Linux - missing bin directory.

Dabbsy
Explorer

I'm upgrading splunk enterprise to 9.3 using the rpm file, but when I run 

rpm -U splunk-9.3.0-51ccf43db5bd.x86_64.rpm

it installs all the folders, but removes the bin directory, so I can't then start splunk.

i've searched through the communities, and a few people seem to have hit the issue on windows, but not linux.

how can I get around this issue?

thanks

Dabbsy

Labels (2)
0 Karma
1 Solution

Dabbsy
Explorer

Hmm interesting - so for info in case anyone else gets the same issue.

uninstalled splunk package

rpm -e splunk.x86_64

then

rpm -i -prefix=/hopt package_name.rpm

did the trick.

I had tried uninstalling and then installing earlier, but that didn't work,  for some reason it needed the prefix option.

bin directory now recreated and I can now start splunk :-).

View solution in original post

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Which version were you upgrading from?

0 Karma

Dabbsy
Explorer

Hi PickleRick

i was going from 9.0.1 to 9.3.0.

cheers, 

Dabbsy

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Dabbsy ,

I have never heard of a problem like this!
Try using another support (eg. tgz instead of rpm),

then wait until tomorrow because there is the new version 9.3.1 that probably will not have the same problem.

If this does not solve the problem, open a Case with Splunk Support.

Ciao.

Giuseppe

0 Karma

Dabbsy
Explorer

Hmm interesting - so for info in case anyone else gets the same issue.

uninstalled splunk package

rpm -e splunk.x86_64

then

rpm -i -prefix=/hopt package_name.rpm

did the trick.

I had tried uninstalling and then installing earlier, but that didn't work,  for some reason it needed the prefix option.

bin directory now recreated and I can now start splunk :-).

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Dabbsy ,

good for you, see next time!

Ciao and happy splunking

Giuseppe

P.S.: Karma Points are appreciated by all the contributors 😉

0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Enterprise 9.4: Features to Power Your Digital Resilience

Hey Splunky People! We are excited to share the latest updates in Splunk Enterprise 9.4. In this release we ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...