All Apps and Add-ons

SplunkWeb will not start after installing Windows Infrastructure App

Communicator

Just installed Splunk App for Windows Infrastructure and now Splunk Web does not start. The web_service.log file has the following error


2014-07-22 11:54:19,250 INFO [53ce892b2dd27350] init:199 - Setting logger=splunk.appserver level=INFO
2014-07-22 11:54:19,250 INFO [53ce892b2dd27350] init:199 - Setting logger=splunk.appserver.controllers level=INFO
2014-07-22 11:54:19,250 INFO [53ce892b2dd27350] init:199 - Setting logger=splunk.appserver.controllers.proxy level=INFO
2014-07-22 11:54:19,250 INFO [53ce892b2dd27350] init:199 - Setting logger=splunk.appserver.lib level=WARN
2014-07-22 11:54:19,365 ERROR [53ce892b2dd27350] root:700 - Unable to start splunkweb
2014-07-22 11:54:19,365 ERROR [53ce892b2dd27350] root:701 - No module named models.windows
Traceback (most recent call last):
File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/root.py", line 110, in
from controllers.top import *
File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/top.py", line 13, in
from admin import AdminController
File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/admin.py", line 17, in
from splunk.appserver.mrsparkle.controllers.appinstall import AppInstallController
File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/controllers/appinstall.py", line 9, in
from splunk.appserver.mrsparkle.lib import cached, module
File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/module.py", line 460, in
moduleMapper = ModuleMapper()
File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/module.py", line 79, in init
self.installedModules = self.getInstalledModules()
File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/module.py", line 24, in helper
return f(*a, **kw)
File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/module.py", line 443, in getInstalledModules
mods = self.getModuleList(root)
File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/module.py", line 33, in helper
return f(*a, **kw)
File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/module.py", line 218, in getModuleList
mod = import(modname)
File "/opt/splunk/etc/apps/windows/appserver/modules/Windows_FTR/Windows_FTR.py", line 30, in
from windows.models.windows import Windows
ImportError: No module named models.windows
2014-07-22 12:52:36,347 INFO [53ce96d443ca7350] init:161 - Using default logging config file: /opt/splunk/etc/log.cfg
2014-07-22 12:52:36,348 INFO [53ce96d443ca7350] init:199 - Setting logger=splunk level=INFO
2014-07-22 12:52:36,348 INFO [53ce96d443ca7350] init:199 - Setting logger=splunk.appserver level=INFO
2014-07-22 12:52:36,348 INFO [53ce96d443ca7350] init:199 - Setting logger=splunk.appserver.controllers level=INFO
2014-07-22 12:52:36,348 INFO [53ce96d443ca7350] init:199 - Setting logger=splunk.appserver.controllers.proxy level=INFO
2014-07-22 12:52:36,348 INFO [53ce96d443ca7350] init:199 - Setting logger=splunk.appserver.lib level=WARN

0 Karma

Splunk Employee
Splunk Employee

Issue is caused if the both the "Windows" App and "Splunk App for Windows Infrastructure" is installed on the same instance. You can check for the App installed on you instance by navigation to $SPLUNK_HOME/etc/apps

These app has conflict, so please remove the Windows APP and restart.

State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!