All Apps and Add-ons

SplunkWeb will not start after installing Windows Infrastructure App

sat94541
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

rbal_splunk
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.

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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...