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!

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...

Explore the Latest Educational Offerings from Splunk (November Releases)

At Splunk Education, we are committed to providing a robust learning experience for all users, regardless of ...

New This Month in Splunk Observability Cloud - Metrics Usage Analytics, Enhanced K8s ...

The latest enhancements across the Splunk Observability portfolio deliver greater flexibility, better data and ...