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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

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

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...