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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...