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!

Meet Duke Cyberwalker | A hero’s journey with Splunk

We like to say, the lightsaber is to Luke as Splunk is to Duke. Curious yet? Then read Eric Fusilero’s latest ...

The Future of Splunk Search is Here - See What’s New!

We’re excited to introduce two powerful new search features, now generally available for Splunk Cloud Platform ...

Splunk is Nurturing Tomorrow’s Cybersecurity Leaders Today

Meet Carol Wright. She leads the Splunk Academic Alliance program at Splunk. The Splunk Academic Alliance ...