Security

Why is splunkweb service failing and getting "IOError: Port 8000 not bound on '0.0.0.0'" and "Error in 'start' listener"?

jerryolson
New Member

Win 7 enterprise 16G RAM, Intel i5 3.2GHz.
Installed version/package: splunk-6.1.4-233537-x64-release.msi

splunkweb constantly dies. Also when system isn't accessed. ie no search etc is performed via ui.
restart with "....splunk\bin\splunk start"

web_service.log:
2014-10-17 16:21:12,315 ERROR [5441259c531b00710] root:138 - ENGINE: Error in 'start' listener >
Traceback (most recent call last):
File "C:\svart\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy\process\wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "C:\svart\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy_cpserver.py", line 95, in start
ServerAdapter.start(self)
File "C:\svart\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy\process\servers.py", line 61, in start
self.wait()
File "C:\svart\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy\process\servers.py", line 101, in wait
wait_for_occupied_port(host, port)
File "C:\svart\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy\process\servers.py", line 266, in wait_for_occupied_port
raise IOError("Port %r not bound on %r" % (port, host))
IOError: Port 8000 not bound on '0.0.0.0'

2014-10-17 16:21:12,315 ERROR [5441259c531b00710] root:138 - ENGINE: Shutting down due to error in start listener:
Traceback (most recent call last):
File "C:\svart\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy\process\wspbus.py", line 184, in start
self.publish('start')
File "C:\svart\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy\process\wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "C:\svart\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy_cpserver.py", line 95, in start
ServerAdapter.start(self)
File "C:\svart\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy\process\servers.py", line 61, in start
self.wait()
File "C:\svart\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy\process\servers.py", line 101, in wait
wait_for_occupied_port(host, port)
File "C:\svart\Program Files\Splunk\Python-2.7\Lib\site-packages\cherrypy\process\servers.py", line 266, in wait_for_occupied_port
raise IOError("Port %r not bound on %r" % (port, host))
IOError: Port 8000 not bound on '0.0.0.0'

2014-10-17 16:21:12,315 INFO [5441259c531b00710] root:138 - ENGINE: Bus STOPPING
2014-10-17 16:21:12,895 INFO [5441259c531b00710] root:138 - ENGINE: HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8000)) shut down
2014-10-17 16:21:12,943 INFO [5441259c531b00710] root:138 - ENGINE: Stopped thread 'Monitor'.
2014-10-17 16:21:13,006 INFO [5441259c531b00710] root:138 - ENGINE: Stopped thread '_TimeoutMonitor'.
2014-10-17 16:21:13,006 INFO [5441259c531b00710] root:138 - ENGINE: Removed handler for console events.
2014-10-17 16:21:13,006 INFO [5441259c531b00710] root:138 - ENGINE: Bus STOPPED
2014-10-17 16:21:13,006 INFO [5441259c531b00710] root:138 - ENGINE: Bus EXITING
2014-10-17 16:21:13,006 INFO [5441259c531b00710] root:138 - ENGINE: Bus EXITED

Tags (2)
0 Karma

jayannah
Builder

Multiple combinations I tried and couldn't succeed. Finally restarted AWS instance and splunk web came up fine & running.

0 Karma

jayannah
Builder

me too got this issue today on splunk running on AWS windows OS. Any suggestions??

Till yesterday I was able to login. Just I tried to login and noticed splunk web was not running. I restarted with 'splunk restart', splunk web comes & get terminated within few seconds. The same error as above.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...