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.

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...