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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...