<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why am I getting SplunkWeb start &amp;quot;error: [Errno 99] Cannot assign requested address&amp;quot; after moving the Splunk folder to another server with a different IP? in Security</title>
    <link>https://community.splunk.com/t5/Security/Why-am-I-getting-SplunkWeb-start-quot-error-Errno-99-Cannot/m-p/161119#M4806</link>
    <description>&lt;P&gt;just a hunch, but is there already something listening on the port you've specified in web.conf?&lt;/P&gt;

&lt;P&gt;What port do you have specified in web.conf?&lt;/P&gt;

&lt;P&gt;and what does 'netstat -an' show?  Is something already listening on that port?&lt;/P&gt;</description>
    <pubDate>Mon, 13 Oct 2014 15:23:23 GMT</pubDate>
    <dc:creator>jimodonald</dc:creator>
    <dc:date>2014-10-13T15:23:23Z</dc:date>
    <item>
      <title>Why am I getting SplunkWeb start "error: [Errno 99] Cannot assign requested address" after moving the Splunk folder to another server with a different IP?</title>
      <link>https://community.splunk.com/t5/Security/Why-am-I-getting-SplunkWeb-start-quot-error-Errno-99-Cannot/m-p/161118#M4805</link>
      <description>&lt;P&gt;I moved the splunk folder from one server to another with a different IP&lt;BR /&gt;
I reinstalled the correct version of splunk on the new server the restarted splunk and splunkd started but not the webserver&lt;/P&gt;

&lt;P&gt;At .conf the answers team helped me with an edit to the "$Splunk_home/lib/python2.7/site-packages/splunk/rest/&lt;STRONG&gt;init&lt;/STRONG&gt;.py " and I changed the "SPLUNKD_CONNECTION_TIMEOUT =" from 30 to 130 and did a "$Splunk_home/bin/splunk restart" and the web server restarted OK.&lt;/P&gt;

&lt;P&gt;Now back home from .conf and I cant start the web service. This looks like a different error than the timeout error.&lt;/P&gt;

&lt;P&gt;Here is the "web_server.log" entry&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2014-10-13 09:47:48,228 INFO    [543be60f9026ca450] root:138 - ENGINE: Bus STARTING
2014-10-13 09:47:48,277 WARNING [543be60f9026ca450] apps:101 - Duplicate module dir name 'static' between apps 'sos' and 'system', will refer to module dir in 'system'
2014-10-13 09:47:48,341 INFO    [543be60f9026ca450] root:138 - ENGINE: Started monitor thread '_TimeoutMonitor'.
2014-10-13 09:47:48,370 ERROR   [543be60f9026ca450] root:138 - ENGINE: Error in HTTP server: shutting down
Traceback (most recent call last):
  File "/opt/splunk/lib/python2.7/site-packages/cherrypy/process/servers.py", line 73, in _start_http_thread
    self.httpserver.start()
  File "/opt/splunk/lib/python2.7/site-packages/cherrypy/wsgiserver/__init__.py", line 1725, in start
    raise socket.error, msg
error: [Errno 99] Cannot assign requested address

2014-10-13 09:47:48,370 INFO    [543be60f9026ca450] root:138 - ENGINE: Bus STOPPING
2014-10-13 09:47:48,371 ERROR   [543be60f9026ca450] root:138 - ENGINE: Error in 'stop' listener &amp;lt;bound method Server.stop of &amp;lt;cherrypy._cpserver.Server object at 0x26ca350&amp;gt;&amp;gt;
Traceback (most recent call last):
  File "/opt/splunk/lib/python2.7/site-packages/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/opt/splunk/lib/python2.7/site-packages/cherrypy/process/servers.py", line 107, in stop
    self.httpserver.stop()
  File "/opt/splunk/lib/python2.7/site-packages/cherrypy/wsgiserver/__init__.py", line 1909, in stop
    self.requests.stop(self.shutdown_timeout)
  File "/opt/splunk/lib/python2.7/site-packages/cherrypy/wsgiserver/__init__.py", line 1458, in stop
    self._monitor_thread.join()
AttributeError: 'NoneType' object has no attribute 'join'

2014-10-13 09:47:48,376 INFO    [543be60f9026ca450] root:138 - ENGINE: Stopped thread '_TimeoutMonitor'.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:51:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Why-am-I-getting-SplunkWeb-start-quot-error-Errno-99-Cannot/m-p/161118#M4805</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2020-09-28T17:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting SplunkWeb start "error: [Errno 99] Cannot assign requested address" after moving the Splunk folder to another server with a different IP?</title>
      <link>https://community.splunk.com/t5/Security/Why-am-I-getting-SplunkWeb-start-quot-error-Errno-99-Cannot/m-p/161119#M4806</link>
      <description>&lt;P&gt;just a hunch, but is there already something listening on the port you've specified in web.conf?&lt;/P&gt;

&lt;P&gt;What port do you have specified in web.conf?&lt;/P&gt;

&lt;P&gt;and what does 'netstat -an' show?  Is something already listening on that port?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2014 15:23:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Why-am-I-getting-SplunkWeb-start-quot-error-Errno-99-Cannot/m-p/161119#M4806</guid>
      <dc:creator>jimodonald</dc:creator>
      <dc:date>2014-10-13T15:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting SplunkWeb start "error: [Errno 99] Cannot assign requested address" after moving the Splunk folder to another server with a different IP?</title>
      <link>https://community.splunk.com/t5/Security/Why-am-I-getting-SplunkWeb-start-quot-error-Errno-99-Cannot/m-p/161120#M4807</link>
      <description>&lt;P&gt;Thanks @jimodonald for the hunch.&lt;/P&gt;

&lt;P&gt;I did netstat -an | grep 8000 and this returned nothing.  I am using port 8000 for splunk web and nothing else is using that port.  I think the comment or error above is referring to an IP address "error: [Errno 99] Cannot assign requested address"&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2014 15:48:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Why-am-I-getting-SplunkWeb-start-quot-error-Errno-99-Cannot/m-p/161120#M4807</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2014-10-13T15:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting SplunkWeb start "error: [Errno 99] Cannot assign requested address" after moving the Splunk folder to another server with a different IP?</title>
      <link>https://community.splunk.com/t5/Security/Why-am-I-getting-SplunkWeb-start-quot-error-Errno-99-Cannot/m-p/161121#M4808</link>
      <description>&lt;P&gt;Can you check the serverName value is set to the current hostname in /opt/splunk/etc/system/local/server.conf?&lt;/P&gt;

&lt;P&gt;Same for web.conf ?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2014 16:27:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Why-am-I-getting-SplunkWeb-start-quot-error-Errno-99-Cannot/m-p/161121#M4808</guid>
      <dc:creator>jimodonald</dc:creator>
      <dc:date>2014-10-13T16:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting SplunkWeb start "error: [Errno 99] Cannot assign requested address" after moving the Splunk folder to another server with a different IP?</title>
      <link>https://community.splunk.com/t5/Security/Why-am-I-getting-SplunkWeb-start-quot-error-Errno-99-Cannot/m-p/161122#M4809</link>
      <description>&lt;P&gt;Thanks @jimodonald Sorry I did not get to this sooner.  I was on the #Splunk IRC channel and they said the same thing.&lt;BR /&gt;
I change the server name in the server.conf and the IP in tow places in the web.conf and the web server started.  I then had to edit the iptables to allow port 8000 and I was in.  thanks for the help from @yorokobi and @duckfez for the help.  It is working now.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2014 17:05:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Why-am-I-getting-SplunkWeb-start-quot-error-Errno-99-Cannot/m-p/161122#M4809</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2014-10-13T17:05:12Z</dc:date>
    </item>
  </channel>
</rss>

