Deployment Architecture
Highlighted

How to resolve error "ERROR: The mgmt port [8089] is already bound. Splunk needs to use this port" when restarting splunkd on deployment server?

Engager

Hi all,

I was trying to restart the splunkd process on deployment server and i landed up getting this error
"ERROR: The mgmt port [8089] is already bound. Splunk needs to use this port"

please do let me know the action to be taken to resolve this .

0 Karma
Highlighted

Re: How to resolve error "ERROR: The mgmt port [8089] is already bound. Splunk needs to use this port" when restarting splunkd on deployment server?

Esteemed Legend

Assuming linux, from the CLI:

$SPLUNK_HOME/bin/stop
fuser -k 8089/tcp

View solution in original post

Highlighted

Re: How to resolve error "ERROR: The mgmt port [8089] is already bound. Splunk needs to use this port" when restarting splunkd on deployment server?

Engager

thank you. i had to forcekill the process using the port 8089 to restart splunk.

0 Karma
Highlighted

Re: How to resolve error "ERROR: The mgmt port [8089] is already bound. Splunk needs to use this port" when restarting splunkd on deployment server?

Esteemed Legend

Did you use fuser or some other command?

0 Karma
Highlighted

Re: How to resolve error "ERROR: The mgmt port [8089] is already bound. Splunk needs to use this port" when restarting splunkd on deployment server?

Engager

i used kill -9 to force kill the process.. i would like to try the above command if the issues happens next time, thank you.

0 Karma
Highlighted

Re: How to resolve error "ERROR: The mgmt port [8089] is already bound. Splunk needs to use this port" when restarting splunkd on deployment server?

Esteemed Legend

OK, click Accept on an answer to close the question.

0 Karma
Highlighted

Re: How to resolve error "ERROR: The mgmt port [8089] is already bound. Splunk needs to use this port" when restarting splunkd on deployment server?

Path Finder

fuser -k 8089/tcp works well. Thanks

0 Karma
Highlighted

Re: How to resolve error "ERROR: The mgmt port [8089] is already bound. Splunk needs to use this port" when restarting splunkd on deployment server?

Explorer

What if on windows?

0 Karma
Highlighted

Re: How to resolve error "ERROR: The mgmt port [8089] is already bound. Splunk needs to use this port" when restarting splunkd on deployment server?

Esteemed Legend

Port to linux.
OK, Ctrl-Alt-Delete -> Task Manager, then kill all processes that start with splunk and kill any splunk* services.

0 Karma
Highlighted

Re: How to resolve error "ERROR: The mgmt port [8089] is already bound. Splunk needs to use this port" when restarting splunkd on deployment server?

Explorer

awesome. thanks!

0 Karma