Closed rvinothkumarer closed 2 years ago
Pinging @elastic/kibana-platform (Team:Platform)
@elastic/kibana-qa Do we support or test on Windows 8.1 Enterprise? I see Windows Server 2012 R2 in our support matrix, which I believe based on Windows 8.0 (?).
Wasn't able to find any relevant issues, but I did find a discuss topic about the same problem on 8.1: https://discuss.elastic.co/t/kibana-port-5601-is-already-in-use-another-instance-of-kibana-may-be-running/213804
We've never had it listed in the support matrix and I don't think we've ever tested Windows 8.1 Enterprise (or any Windows 8.1 that I know of).
I'm on Windows 10 Pro, and previously on Windows 10 Home.
We test on 2012R2, 2016, and 2019 Server versions. So I'd be surprised if Windows 8.1 has any specific issues.
I would try;
If it still gives an error and fails to start it could be that something isn't using port 5601 but is blocking Kibana from using it (like a firewall).
I meet the same problem, My OS is RHEL7.9 and I'm sure that nothing is using port 5601, I get the same error when change the port in kibana,yml to 5602. I has closed the firewalld and iptables.
@HistoryGift can you provide more details?
Kibana version
Elasticsearch version
Did you install RPM and starting service with servicectl
or tar and starting the binary directly?
Can you paste some logs?
Same problem occurs with 7.6.1 as well. But, both the versions are working fine in Windows 10
From the description, it seems it works fine on Windows 10. Only failing on Windows 8.1. I wonder if this is a build-specific issue. So I'd tentatively assign this to Operations 😇
Pinging @elastic/kibana-operations (Team:Operations)
I think we can close the Windows side of this - we don't support 8.1 and it will be EOL in January. \@HistoryGift we can assist further if you're still having issues, but lets move it to a separate issue.
Kibana version: 7.5.1 and 7.6.1
Elasticsearch version: 7.5.1 and 7.6.1
Server OS version: Windows 8.1 Enterprise
Browser version: Chrome
Browser OS version: Windows 8.1 Enterprise
Original install method (e.g. download page, yum, from source, etc.): download page
Describe the bug:
Im trying to setup ELK stack version 7.5.1 in my 64 bit windows machine 8.1. But, im always keep on getting the following error whenever i tried to start Kibana. Also, I checked using netstat -ano | findstr 5601. It returned no results. I just followed the steps given in the official website. Also, i have configured the elastic search hosts in the kibana yml config file.
C:\Softwares\ELK\kibana-7.5.1-windows-x86_64\bin>netstat -ano | findstr :5601
C:\Softwares\ELK\kibana-7.5.1-windows-x86_64\bin>netstat -ano | findstr 5601
Error Log :- log [13:46:29.336] [info][status][plugin:reporting@7.5.1] Status changed from uninitialized to green - Ready log [13:46:29.378] [info][listening] Server running at http://localhost:5601 1 log [13:46:29.436] [fatal][root] Error: Port 5601 is already in use. Another instance of Kibana may be running! at Root.shutdown (C:\Softwares\ELK\kibana-7.5.1-windows-x86_64\src\core\serv er\root\index.js:67:18) at Root.start (C:\Softwares\ELK\kibana-7.5.1-windows-x86_64\src\core\server root\index.js:57:18) at process._tickCallback (internal/process/next_tick.js:68:7) log [13:46:29.458] [info][plugins-system] Stopping all plugins. log [13:46:29.459] [info][data][plugins] Stopping plugin log [13:46:29.460] [info][plugins][translations] Stopping plugin log [13:46:29.461] [info][plugins][spaces] Stopping plugin log [13:46:29.462] [info][features][plugins] Stopping plugin log [13:46:29.463] [info][plugins][timelion] Stopping plugin log [13:46:29.464] [info][code][plugins] Stopping plugin log [13:46:29.465] [info][licensing][plugins] Stopping plugin log [13:46:29.467] [info][plugins][security] Stopping plugin
FATAL Error: Port 5601 is already in use. Another instance of Kibana may be running!
Its throwing the same error though no other process is using this 5601. Same happens when i give different port number.
Same problem occurs with 7.6.1 as well. But, both the versions are working fine in Windows 10
Steps to reproduce:
Expected behavior:
Screenshots (if relevant): Errors in browser console (if relevant): or [/api/ml/data_frame/analytics/{analyticsId}] log [10:22:31.222] [debug][server][Kibana][http] registering route handler f or [/api/ml/data_frame/analytics/{analyticsId}/_start] log [10:22:31.225] [debug][server][Kibana][http] registering route handler f or [/api/ml/data_frame/analytics/{analyticsId}/_stop] log [10:22:31.227] [debug][server][Kibana][http] registering route handler f or [/api/ml/data_frame/analytics/{analyticsId}/messages] log [10:22:31.230] [debug][server][Kibana][http] registering route handler f or [/api/watcher/fields] log [10:22:31.232] [debug][server][Kibana][http] registering route handler f or [/api/watcher/history/{id}] log [10:22:31.239] [debug][server][Kibana][http] registering route handler f or [/api/watcher/indices] log [10:22:31.241] [debug][server][Kibana][http] registering route handler f or [/api/watcher/license/refresh] log [10:22:31.244] [debug][server][Kibana][http] registering route handler f or [/api/watcher/settings] log [10:22:31.247] [debug][server][Kibana][http] registering route handler f or [/api/watcher/watches] log [10:22:31.249] [debug][server][Kibana][http] registering route handler f or [/api/watcher/watches/delete] log [10:22:31.252] [debug][server][Kibana][http] registering route handler f or [/api/watcher/watch/{watchId}] log [10:22:31.254] [debug][server][Kibana][http] registering route handler f or [/api/watcher/watch/execute] log [10:22:31.257] [debug][server][Kibana][http] registering route handler f or [/api/watcher/watch/{id}] log [10:22:31.259] [debug][server][Kibana][http] registering route handler f or [/api/watcher/watch/{id}] log [10:22:31.262] [debug][server][Kibana][http] registering route handler f or [/api/watcher/watch/{watchId}/history] log [10:22:31.264] [debug][server][Kibana][http] registering route handler f or [/api/watcher/watch/{watchId}/activate] log [10:22:31.267] [debug][server][Kibana][http] registering route handler f or [/api/watcher/watch/{watchId}/deactivate] log [10:22:31.269] [debug][server][Kibana][http] registering route handler f or [/api/watcher/watch/{watchId}/action/{actionId}/acknowledge] log [10:22:31.272] [debug][server][Kibana][http] registering route handler f or [/api/watcher/watch/visualize] log [10:22:31.274] [debug][server][Kibana][http] registering route handler f or [/api/apm/index_pattern/static] log [10:22:31.276] [debug][server][Kibana][http] registering route handler f or [/api/apm/index_pattern/dynamic] log [10:22:31.279] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/errors/distribution] log [10:22:31.282] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/errors/{groupId}] log [10:22:31.285] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/errors] log [10:22:31.294] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/agent_name] log [10:22:31.297] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/transaction_types] log [10:22:31.300] [debug][server][Kibana][http] registering route handler f or [/api/apm/services] log [10:22:31.302] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/node/{serviceNodeName}/metadata] log [10:22:31.306] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/annotations] log [10:22:31.309] [debug][server][Kibana][http] registering route handler f or [/api/apm/settings/agent-configuration/agent_name] log [10:22:31.313] [debug][server][Kibana][http] registering route handler f or [/api/apm/settings/agent-configuration] log [10:22:31.315] [debug][server][Kibana][http] registering route handler f or [/api/apm/settings/agent-configuration/search] log [10:22:31.318] [debug][server][Kibana][http] registering route handler f or [/api/apm/settings/agent-configuration/new] log [10:22:31.321] [debug][server][Kibana][http] registering route handler f or [/api/apm/settings/agent-configuration/{configurationId}] log [10:22:31.323] [debug][server][Kibana][http] registering route handler f or [/api/apm/settings/agent-configuration/environments] log [10:22:31.326] [debug][server][Kibana][http] registering route handler f or [/api/apm/settings/agent-configuration/services] log [10:22:31.329] [debug][server][Kibana][http] registering route handler f or [/api/apm/settings/agent-configuration/{configurationId}] log [10:22:31.331] [debug][server][Kibana][http] registering route handler f or [/api/apm/settings/apm-index-settings] log [10:22:31.334] [debug][server][Kibana][http] registering route handler f or [/api/apm/settings/apm-indices] log [10:22:31.338] [debug][server][Kibana][http] registering route handler f or [/api/apm/settings/apm-indices/save] log [10:22:31.342] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/metrics/charts] log [10:22:31.349] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/serviceNodes] log [10:22:31.353] [debug][server][Kibana][http] registering route handler f or [/api/apm/traces] log [10:22:31.358] [debug][server][Kibana][http] registering route handler f or [/api/apm/traces/{traceId}] log [10:22:31.361] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/transaction_groups/breakdown] log [10:22:31.366] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/transaction_groups/charts] log [10:22:31.390] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/transaction_groups/distribution] log [10:22:31.393] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/transaction_groups] log [10:22:31.396] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/transaction_groups/avg_duration_by_browser] log [10:22:31.406] [debug][server][Kibana][http] registering route handler f or [/api/apm/services/{serviceName}/transaction_groups/avg_duration_by_country] log [10:22:31.410] [debug][server][Kibana][http] registering route handler f or [/api/apm/ui_filters/local_filters/errorGroups] log [10:22:31.413] [debug][server][Kibana][http] registering route handler f or [/api/apm/ui_filters/local_filters/metrics] log [10:22:31.418] [debug][server][Kibana][http] registering route handler f or [/api/apm/ui_filters/local_filters/services] log [10:22:31.422] [debug][server][Kibana][http] registering route handler f or [/api/apm/ui_filters/local_filters/traces] log [10:22:31.528] [debug][server][Kibana][http] registering route handler f or [/api/apm/ui_filters/local_filters/transactionGroups] log [10:22:31.532] [debug][server][Kibana][http] registering route handler f or [/api/apm/ui_filters/local_filters/transactions] log [10:22:31.536] [debug][server][Kibana][http] registering route handler f or [/api/apm/ui_filters/local_filters/serviceNodes] log [10:22:31.539] [debug][server][Kibana][http] registering route handler f or [/api/apm/ui_filters/environments] log [10:22:31.544] [debug][server][Kibana][http] registering route handler f or [/api/apm/transaction/{traceId}] log [10:22:31.548] [debug][server][Kibana][http] registering route handler f or [/api/apm/service-map] log [10:22:31.551] [debug][server][Kibana][http] registering route handler f or [/api/apm/service-map/service/{serviceName}] log [10:22:31.556] [debug][server][Kibana][http] registering route handler f or [/api/license] log [10:22:31.559] [debug][server][Kibana][http] registering route handler f or [/api/license/start_trial] log [10:22:31.561] [debug][server][Kibana][http] registering route handler f or [/api/license/start_trial] log [10:22:31.564] [debug][server][Kibana][http] registering route handler f or [/api/license/start_basic] log [10:22:31.568] [debug][server][Kibana][http] registering route handler f or [/api/license/permissions] log [10:22:31.580] [debug][server][Kibana][http] registering route handler f or [/api/metrics/vis/data] log [10:22:31.584] [debug][server][Kibana][http] registering route handler f or [/api/infra/graphql] log [10:22:31.586] [debug][server][Kibana][http] registering route handler f or [/api/infra/graphql] log [10:22:31.589] [debug][server][Kibana][http] registering route handler f or [/api/infra/ip_to_host] log [10:22:31.592] [debug][server][Kibana][http] registering route handler f or [/api/infra/log_analysis/results/log_entry_categories] log [10:22:31.595] [debug][server][Kibana][http] registering route handler f or [/api/infra/log_analysis/results/log_entry_category_datasets] log [10:22:31.598] [debug][server][Kibana][http] registering route handler f or [/api/infra/log_analysis/results/log_entry_rate] log [10:22:31.606] [debug][server][Kibana][http] registering route handler f or [/api/metrics/snapshot] log [10:22:31.610] [debug][server][Kibana][http] registering route handler f or [/api/metrics/node_details] log [10:22:31.613] [debug][server][Kibana][http] registering route handler f or [/api/infra/log_analysis/validation/log_entry_rate_indices] log [10:22:31.616] [debug][server][Kibana][http] registering route handler f or [/api/log_entries/entries] log [10:22:31.619] [debug][server][Kibana][http] registering route handler f or [/api/log_entries/highlights] log [10:22:31.621] [debug][server][Kibana][http] registering route handler f or [/api/log_entries/summary] log [10:22:31.623] [debug][server][Kibana][http] registering route handler f or [/api/log_entries/summary_highlights] log [10:22:31.626] [debug][server][Kibana][http] registering route handler f or [/api/log_entries/item] log [10:22:31.628] [debug][server][Kibana][http] registering route handler f or [/api/infra/metrics_explorer] log [10:22:31.631] [debug][server][Kibana][http] registering route handler f or [/api/infra/metadata] log [10:22:31.633] [debug][server][Kibana][http] registering route handler f or [/api/infra/inventory/meta] log [10:22:31.635] [debug][server][Kibana][http] registering route handler f or [/api/siem/graphql] log [10:22:31.637] [debug][server][Kibana][http] registering route handler f or [/api/upgrade_assistant/status] log [10:22:31.644] [debug][server][Kibana][http] registering route handler f or [/api/upgrade_assistant/deprecation_logging] log [10:22:31.647] [debug][server][Kibana][http] registering route handler f or [/api/upgrade_assistant/deprecation_logging] log [10:22:31.650] [debug][server][Kibana][http] registering route handler f or [/api/upgrade_assistant/add_query_default_field/{indexName}] log [10:22:31.652] [debug][server][Kibana][http] registering route handler f or [/api/upgrade_assistant/reindex/{indexName}] log [10:22:31.655] [debug][server][Kibana][http] registering route handler f or [/api/upgrade_assistant/reindex/{indexName}] log [10:22:31.658] [debug][server][Kibana][http] registering route handler f or [/api/upgrade_assistant/reindex/{indexName}/cancel] log [10:22:31.661] [debug][server][Kibana][http] registering route handler f or [/api/upgrade_assistant/telemetry/ui_open] log [10:22:31.663] [debug][server][Kibana][http] registering route handler f or [/api/upgrade_assistant/telemetry/ui_reindex] log [10:22:31.665] [debug][server][Kibana][http] registering route handler f or [/api/uptime/filters] log [10:22:31.668] [debug][server][Kibana][http] registering route handler f or [/api/uptime/pings] log [10:22:31.670] [debug][server][Kibana][http] registering route handler f or [/api/uptime/index_pattern] log [10:22:31.673] [debug][server][Kibana][http] registering route handler f or [/api/uptime/monitor/selected] log [10:22:31.683] [debug][server][Kibana][http] registering route handler f or [/api/uptime/monitor/details] log [10:22:31.688] [debug][server][Kibana][http] registering route handler f or [/api/uptime/monitor/locations] log [10:22:31.690] [debug][server][Kibana][http] registering route handler f or [/api/uptime/monitor/status] log [10:22:31.692] [debug][server][Kibana][http] registering route handler f or [/api/uptime/snapshot/count] log [10:22:31.695] [debug][server][Kibana][http] registering route handler f or [/api/uptime/logMonitor] log [10:22:31.697] [debug][server][Kibana][http] registering route handler f or [/api/uptime/logOverview] log [10:22:31.699] [debug][server][Kibana][http] registering route handler f or [/api/uptime/ping/histogram] log [10:22:31.702] [debug][server][Kibana][http] registering route handler f or [/api/uptime/graphql] log [10:22:31.704] [debug][server][Kibana][http] registering route handler f or [/api/lens/existing_fields/{indexPatternId}] log [10:22:31.707] [debug][server][Kibana][http] registering route handler f or [/api/lens/index_stats/{indexPatternTitle}/field] log [10:22:31.710] [debug][server][Kibana][http] registering route handler f or [/api/lens/telemetry] log [10:22:31.740] [debug][root] shutting root down log [10:22:31.742] [fatal][root] Error: Port 5601 is already in use. Another instance of Kibana may be running! at Root.shutdown (C:\Softwares\ELK\kibana-7.6.1-windows-x86_64\src\core\serv er\root\index.js:67:18) at Root.start (C:\Softwares\ELK\kibana-7.6.1-windows-x86_64\src\core\server\ root\index.js:57:18) at process._tickCallback (internal/process/next_tick.js:68:7) log [10:22:31.749] [debug][server] stopping server log [10:22:31.750] [debug][legacy-service] stopping legacy service log [10:22:31.753] [debug][reindex_worker][upgrade_assistant] Stopping worke r... log [10:22:31.754] [debug][plugins-service] Stopping plugins service log [10:22:31.756] [info][plugins-system] Stopping all plugins. log [10:22:31.757] [debug][plugins-system] Stopping plugin "bfetch"... log [10:22:31.758] [info][bfetch][plugins] Stopping plugin log [10:22:31.759] [debug][plugins-system] Stopping plugin "graph"... log [10:22:31.761] [info][graph][plugins] Stopping plugin log [10:22:31.761] [debug][plugins-system] Stopping plugin "apm"... log [10:22:31.762] [info][apm][plugins] Stopping plugin log [10:22:31.763] [debug][plugins-system] Stopping plugin "cloud"... log [10:22:31.764] [info][cloud][plugins] Stopping plugin log [10:22:31.764] [debug][plugins-system] Stopping plugin "spaces"... log [10:22:31.765] [info][plugins][spaces] Stopping plugin log [10:22:31.766] [debug][plugins-system] Stopping plugin "home"... log [10:22:31.767] [info][home][plugins] Stopping plugin log [10:22:31.768] [debug][plugins-system] Stopping plugin "share"... log [10:22:31.769] [info][plugins][share] Stopping plugin log [10:22:31.770] [debug][plugins][share] Stopping plugin log [10:22:31.771] [debug][plugins-system] Stopping plugin "data"... log [10:22:31.772] [info][data][plugins] Stopping plugin log [10:22:31.773] [debug][plugins-system] Stopping plugin "translations"...
log [10:22:31.774] [info][plugins][translations] Stopping plugin log [10:22:31.775] [debug][plugins-system] Stopping plugin "apm_oss"... log [10:22:31.776] [info][apm_oss][plugins] Stopping plugin log [10:22:31.777] [debug][plugins-system] Stopping plugin "security"... log [10:22:31.778] [info][plugins][security] Stopping plugin log [10:22:31.779] [debug][plugins][security] Stopping plugin log [10:22:31.780] [debug][plugins-system] Stopping plugin "features"... log [10:22:31.781] [info][features][plugins] Stopping plugin log [10:22:31.782] [debug][features][plugins] Stopping plugin log [10:22:31.783] [debug][plugins-system] Stopping plugin "timelion"... log [10:22:31.783] [info][plugins][timelion] Stopping plugin log [10:22:31.784] [debug][plugins][timelion] Stopping plugin log [10:22:31.785] [debug][plugins-system] Stopping plugin "canvas"... log [10:22:31.786] [info][canvas][plugins] Stopping plugin log [10:22:31.787] [debug][plugins-system] Stopping plugin "metrics"... log [10:22:31.788] [info][metrics][plugins] Stopping plugin log [10:22:31.789] [debug][plugins-system] Stopping plugin "usageCollection" ... log [10:22:31.790] [info][plugins][usageCollection] Stopping plugin log [10:22:31.791] [debug][plugins][usageCollection] Stopping plugin log [10:22:31.792] [debug][plugins-system] Stopping plugin "code"... log [10:22:31.793] [info][code][plugins] Stopping plugin log [10:22:31.794] [debug][plugins-system] Stopping plugin "encryptedSavedOb jects"... log [10:22:31.795] [info][encryptedSavedObjects][plugins] Stopping plugin log [10:22:31.796] [debug][encryptedSavedObjects][plugins] Stopping plugin log [10:22:31.797] [debug][plugins-system] Stopping plugin "infra"... log [10:22:31.798] [info][infra][plugins] Stopping plugin log [10:22:31.799] [debug][plugins-system] Stopping plugin "licensing"... log [10:22:31.799] [info][licensing][plugins] Stopping plugin log [10:22:31.801] [debug][plugins-system] Stopping plugin "siem"... log [10:22:31.801] [info][plugins][siem] Stopping plugin log [10:22:31.802] [debug][plugins][siem] plugin stopped log [10:22:31.804] [debug][plugins-system] Stopping plugin "taskManager"... log [10:22:31.806] [info][plugins][taskManager] Stopping plugin log [10:22:31.808] [debug][plugins][taskManager][taskManager] Cancelling run ning tasks. log [10:22:31.810] [debug][elasticsearch-service] Stopping elasticsearch ser vice log [10:22:31.811] [debug][elasticsearch-service] Closing elasticsearch clie nts log [10:22:31.816] [debug][server][Kibana][http] stopping http server
FATAL Error: Port 5601 is already in use. Another instance of Kibana may be ru nning!
C:\Softwares\ELK\kibana-7.6.1-windows-x86_64\bin>
Provide logs and/or server output (if relevant):
Any additional context: