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!

New Case Study Shows the Value of Partnering with Splunk Academic Alliance

The University of Nevada, Las Vegas (UNLV) is another premier research institution helping to shape the next ...

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...