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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...