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!

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

❄️ Celebrate the season with our December lineup of Community Office Hours, Tech Talks, and Webinars! ...

Splunk and Fraud

Watch Now!Watch an insightful webinar where we delve into the innovative approaches to solving fraud using the ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...