Getting Data In

Unable to start splunkweb

mcculloh
New Member

Trying to start a local install of the free splunk server on a red hat machine running linux 2.6.32. I am getting errors when the web service tries to start up, it seems unable to find some modules, but its not clear what needs to be configured correctly here.

This is error from the log:

2013-04-03 11:56:37,369 ERROR   [515c7b653a2845610] root:554 - Unable to start splunkweb
2013-04-03 11:56:37,369 ERROR   [515c7b653a2845610] root:555 - Empty module name
Traceback (most recent call last):
  File "/home/testsplunk/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/root.py", line 106, in <module>
    from controllers.top import *
  File "/home/testsplunk/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/top.py", line 13, in <module>
    from admin import AdminController
  File "/home/testsplunk/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/admin.py", line 17, in <module>
    from splunk.appserver.mrsparkle.controllers.appinstall import AppInstallController
  File "/home/testsplunk/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/appinstall.py", line 9, in <module>
    from splunk.appserver.mrsparkle.lib import cached, module
  File "/home/testsplunk/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/module.py", line 461, in <module>
    moduleMapper = ModuleMapper()
  File "/home/testsplunk/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/module.py", line 79, in __init__
    self.installedModules = self.getInstalledModules()
  File "/home/testsplunk/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/module.py", line 24, in helper
    return f(*a, **kw)
  File "/home/testsplunk/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/module.py", line 444, in getInstalledModules
    mods = self.getModuleList(root)
  File "/home/testsplunk/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/module.py", line 33, in helper
    return f(*a, **kw)
  File "/home/testsplunk/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/module.py", line 219, in getModuleList
    mod = __import__(modname)
ValueError: Empty module name
Tags (1)
0 Karma

Kate_Lawrence-G
Contributor

try downloading the .tgz file from the site and extracting in the /opt directory as root.

0 Karma

Kate_Lawrence-G
Contributor

root ownership is not necessary but installation as root is. You can change the ownership after the fact if necessary:

http://splunk-base.splunk.com//answers/82021/unable-to-start-splunkweb

0 Karma

mcculloh
New Member

But this is in a local directory and owned by the user who is running it. I don't think root ownership is necessary at all. Since all of this is self contained, right?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Quantify Your Splunk Investment Impact: Introducing Savings Metrics to Value Insights

Building on the foundation established in our initial Value Insights releases, we are introducing the Savings ...

Event Series: Telemetry Pipeline Management

Balancing Scale and Spend: Gaining Control Over High-Volume Metrics in Splunk Observability Cloud As ...

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...