Installation

Error when starting splunk

dbabanov
Path Finder

Hello!
I delete splunk using:
rpm -e splunk
rm -r /opt/splunk

After i download splunk-6.0.3-204106-linux-2.6-x86_64.rpm and install:
rpm -i /tmp/splunk-6.0.3-204106-linux-2.6-x86_64.rpm

Installtion is complete.
When I use /opt/splunk/bim/splunk start, I have error:

Splunk rev. 9.11.2013
Do you agree with this license? [y/n]: y

This appears to be your first time running this version of Splunk.
Traceback (most recent call last):
File "/opt/splunk/lib/python2.7/site-packages/splunk/clilib/cli.py", line 18, in
import control_api as ca
File "/opt/splunk/lib/python2.7/site-packages/splunk/clilib/control_api.py", line 23, in
import i18n
File "/opt/splunk/lib/python2.7/site-packages/splunk/clilib/i18n.py", line 7, in
from babel.messages import frontend
File "/opt/splunk/lib/python2.7/site-packages/babel/messages/frontend.py", line 36, in
from babel.messages.extract import extract_from_dir, DEFAULT_KEYWORDS, \
File "/opt/splunk/lib/python2.7/site-packages/babel/messages/extract.py", line 70, in
def extract_from_dir(dirname=os.getcwd(), method_map=DEFAULT_MAPPING,
OSError: [Errno 2] No such file or directory

How can i solve this problems?

Tags (2)
0 Karma

dbabanov
Path Finder

I resolve this problem.
When use rpm -e splunk, you need to log off from OS.
And log on again, install splunk and all working.
Thanks.

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...