Error: Port 5601 is already in use. Another instance of Kibana may be running!

bin kibana
log [22:25:12.491] [warning][plugins-discovery] Expect plugin "id" in camelCase, but found: apm_oss
log [22:25:12.504] [warning][plugins-discovery] Expect plugin "id" in camelCase, but found: triggers_actions_ui
log [22:25:40.082] [info][plugins-service] Plugin "visTypeXy" is disabled.
log [22:25:40.083] [info][plugins-service] Plugin "endpoint" is disabled.
log [22:25:40.083] [info][plugins-service] Plugin "lists" is disabled.
log [22:25:40.083] [info][plugins-service] Plugin "ingestManager" is disabled.
log [22:25:43.113] [warning][config][deprecation] Environment variable "DATA_PATH" will be removed. It has been replaced with kibana.yml setting "path.data"
log [22:25:43.131] [fatal][root] Error: Port 5601 is already in use. Another instance of Kibana may be running!
at Root.shutdown (/usr/local/Cellar/kibana-full/7.8.0/libexec/src/core/server/root/index.js:67:18)
at Root.setup (/usr/local/Cellar/kibana-full/7.8.0/libexec/src/core/server/root/index.js:46:18) at process._tickCallback (internal/process/next_tick.js:68:7)
`
FATAL Error: Port 5601 is already in use. Another instance of Kibana may be running!

Anyone help me with this.?

1 Like

Please format your code/logs/config using the </> button, or markdown style back ticks. It helps to make things easy to read which helps us help you :slight_smile:

Are you sure there isn't another Kibana process running?

thanks for your reply, yes i changed the format sorry.

ps aux | grep kibana
root 12378 0.0 0.0 4278540 736 s001 S+ 5:38PM 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.to

i tried installing kibana last week but not successful, if that could be a problem how can i remove old files?

What does sudo lsof -i:5601 show?
If that doesn't work, try one of the other options here.

1 Like

bin sudo lsof -i:5601
Password:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME node 8333 root 25u IPv4 0x4e19f76e1ab38273 0t0 TCP localhost:esmagent (LISTEN)

i should kill this process?

It's really hard to see what is happening here as your formatting is not the best.

But it looks like there's a process called esmagent that is running. I don't know what that is, so I wouldn't suggest arbitrarily killing it unless you know what it does.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.