<?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 do I need to unbind the mgmt port in order to restart splunk? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/534735#M18403</link>
    <description>&lt;P&gt;Splunkd.pid did not exist in the directory&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/opt/splunkforwarder/var/run/splunk/&lt;/PRE&gt;&lt;P&gt;I got this when I ran the command&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ps -eaf |grep splunkd
splunk   18031 17753  0 12:29 pts/4    00:00:00 grep splunkd&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jan 2021 20:38:30 GMT</pubDate>
    <dc:creator>splunktrainingu</dc:creator>
    <dc:date>2021-01-04T20:38:30Z</dc:date>
    <item>
      <title>Why do I need to unbind the mgmt port in order to restart splunk?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/534292#M18383</link>
      <description>&lt;P&gt;I was under the impression that port 8089 is used to manage the apps on your endpoints using the Settings &amp;gt; Forwarder Management. This is what happens when I tried to restart splunk forwarder&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./splunk restart
Pid file "/opt/splunkforwarder/var/run/splunk/splunkd.pid" unreadable.: Permission denied
Cannot initialize: /opt/splunkforwarder/etc/apps/learned/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunkforwarder/etc/apps/learned/metadata/local.meta: Permission denied
Cannot initialize: /opt/splunkforwarder/etc/apps/learned/metadata/local.meta: Permission denied
Pid file "/opt/splunkforwarder/var/run/splunk/splunkd.pid" unreadable.: Permission denied
splunkd.pid file is unreadable.
Pid file "/opt/splunkforwarder/var/run/splunk/splunkd.pid" unreadable.: Permission denied

Splunk&amp;gt; Like an F-18, bro.

Checking prerequisites...
Cannot initialize: /opt/splunkforwarder/etc/apps/learned/metadata/local.meta: Permission denied
Checking mgmt port [8089]: Cannot initialize: /opt/splunkforwarder/etc/apps/learned/metadata/local.meta: Permission denied
not available
ERROR: mgmt port [8089] - port is already bound. Splunk needs to use this port.
Would you like to change ports? [y/n]: n
Exiting....&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently testing with a one of the Linux servers, I have my "deploymentclient.conf" file in splunkforwarder/etc/system/local/ and it is set to port 8089.&amp;nbsp; My main server is a single deployment on prem. I am not sure what I am doing wrong?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to mimic the set up of my windows servers because they have a "deploymentclient.conf" file in their&amp;nbsp;splunkforwarder/etc/system/local directory.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 00:43:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/534292#M18383</guid>
      <dc:creator>splunktrainingu</dc:creator>
      <dc:date>2020-12-29T00:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I need to unbind the mgmt port in order to restart splunk?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/534293#M18384</link>
      <description>&lt;P&gt;Most probably your splunk was running with root/high privileged user and you are trying to restart the instance with another user (with less privileges).&lt;/P&gt;&lt;P&gt;Check the file ownership and make sure that it's the user you are using and not root(or any other)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 01:25:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/534293#M18384</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2020-12-29T01:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I need to unbind the mgmt port in order to restart splunk?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/534407#M18385</link>
      <description>&lt;P&gt;That is not the case, I tried with my username and then I tried with the owner username.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 23:54:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/534407#M18385</guid>
      <dc:creator>splunktrainingu</dc:creator>
      <dc:date>2020-12-29T23:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I need to unbind the mgmt port in order to restart splunk?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/534416#M18386</link>
      <description>&lt;P&gt;Ok, can you check these&lt;/P&gt;&lt;P&gt;1. Do a file listing for below and check who owns the file ?&lt;/P&gt;&lt;PRE&gt;/opt/splunkforwarder/var/run/splunk/splunkd.pid&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;2. Do a &lt;EM&gt;&lt;STRONG&gt;ps -eaf |grep splunkd &lt;/STRONG&gt;&lt;/EM&gt;and check owner of the process&lt;/P&gt;&lt;P&gt;While restarting splunk, make sure that you are using the user from the above.&lt;/P&gt;&lt;P&gt;Also try a splunk stop and check the output&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 01:20:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/534416#M18386</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2020-12-30T01:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I need to unbind the mgmt port in order to restart splunk?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/534735#M18403</link>
      <description>&lt;P&gt;Splunkd.pid did not exist in the directory&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/opt/splunkforwarder/var/run/splunk/&lt;/PRE&gt;&lt;P&gt;I got this when I ran the command&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ps -eaf |grep splunkd
splunk   18031 17753  0 12:29 pts/4    00:00:00 grep splunkd&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 20:38:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/534735#M18403</guid>
      <dc:creator>splunktrainingu</dc:creator>
      <dc:date>2021-01-04T20:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I need to unbind the mgmt port in order to restart splunk?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/690578#M28299</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am facing the same issue where i have performed splunk forwarder upgrade, while restarting i am getting below msg. Could anyone provide me a solution here, this is prod indexer server which is also playing the role of deployment server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;error:&lt;/P&gt;&lt;P&gt;splunkd is not running.&lt;/P&gt;&lt;P&gt;Splunk&amp;gt; CSI: Logfiles.&lt;/P&gt;&lt;P&gt;Checking prerequisites...&lt;BR /&gt;Checking mgmt port [8089]: not available&lt;BR /&gt;ERROR: mgmt port [8089] - port is already bound. Splunk needs to use this port.&lt;BR /&gt;Would you like to change ports? [y/n]: n&lt;BR /&gt;Exiting....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 05:55:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/690578#M28299</guid>
      <dc:creator>shabana_banu</dc:creator>
      <dc:date>2024-06-13T05:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I need to unbind the mgmt port in order to restart splunk?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/691083#M28311</link>
      <description>&lt;P&gt;With splunk Stopped please give me the output of netstat -aon|grep 8089&lt;/P&gt;&lt;P&gt;if this shows 8089 is established connection then you will need to disconnect what ever it is and start splunk with splunk user again shoudl fix the issue.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 11:24:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Why-do-I-need-to-unbind-the-mgmt-port-in-order-to-restart-splunk/m-p/691083#M28311</guid>
      <dc:creator>SinghK</dc:creator>
      <dc:date>2024-06-19T11:24:14Z</dc:date>
    </item>
  </channel>
</rss>

