Getting errors when trying to start Splunk.


I am getting this message, when i want to start splunk.

This appears to be your first time running this version of Splunk.
Traceback (most recent call last):
File "/www/htdocs/v137538/splunk/lib/python2.7/site-packages/splunk/clilib/", line 17, in
import splunk.clilib.clicommon as comm
File "/www/htdocs/v137538/splunk/lib/python2.7/site-packages/splunk/clilib/cli", line 5, in
import xml.etree.cElementTree as et
File "/usr/lib/python2.6/xml/etree/", line 3, in
from _elementtree import *
File "", line 147, in
AttributeError: 'module' object has no attribute 'fromstringlist'

So I cant start Splunk.

Labels (1)

Re: Starting Problem


For some reason Splunk imports xml.etree.cElementTree in from /usr/lib/python2.6 instead of /www/htdocs/v137538/splunk/lib/python2.7/xml/etree/ (where you installed Splunk)

Is there a chance that your PYTHONPATH is somehow set to /usr/lib/python2.6/?

Maybe this will help:

#export PYTHONPATH=/www/htdocs/v137538/splunk/lib/python2.7/
#/www/htdocs/v137538/splunk/bin/splunk start
0 Karma

Re: Starting Problem


Clear now. The problem disappeared when I did "./splunk start" with user splunk.

0 Karma
Speak Up for Splunk Careers!

We want to better understand the impact Splunk experience and expertise has has on individuals' careers, and help highlight the growing demand for Splunk skills.