This site is inaccsessible kibana

Hi,

systemctl status kibana & systemctl status Elasticsearch & systemctl status logstash & systemctl status filebeat all active (running) .
my problem in browser localhost:9200 it works but localhost:5601 didn't work ( this site is inaccsessible)
kibana.yml

server.port: 5601
server.host: "127.0.0.1"
elasticsearch.hosts: ["http://127.0.0.1:9200"]

Thanks!

9200 is the port on which your Elasticsearch cluster is running. 5601 is the port on which your Kibana instance is running. Can you double-check that you have actually started a Kibana instance?

Thanks for the reply
yes Elasticsearch on 9200 and kibana on 5601 and here kibana status

I checked the port by nc -vz localhost 5601 it gives me nc: connect to localhost port 5601 (tcp) failed: Connection refused however nc -vz localhost 9200 Connection to localhost 9200 port [tcp/*] succeeded!
I don't know what should i do :confused:

Are you behind a firewall by any chance? Can you try specifying a different port in kibana.yml, just to check that works?

Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them :slight_smile:

Can you post your Kibana log please?

Sorry for the late reply I uninstalled elastic and kibana and it's the same problem
I already tried with another port @majagrubic and I disabled the firewall. same problem
@warkolm here my kibana logs :

-- Logs begin at Tue 2020-06-30 09:05:11 CET, end at Tue 2022-04-26 10:12:23 CET. --
mars 01 14:28:28 raouf-G3-3579 systemd[1]: Started Kibana.
-- Reboot --
mars 01 14:55:04 raouf-G3-3579 systemd[1]: Started Kibana.
-- Reboot --
avril 04 09:53:18 raouf-G3-3579 systemd[1]: Started Kibana.
avril 04 10:12:18 raouf-G3-3579 systemd[1]: Stopping Kibana...
avril 04 10:12:39 raouf-G3-3579 systemd[1]: kibana.service: Succeeded.
avril 04 10:12:39 raouf-G3-3579 systemd[1]: Stopped Kibana.
-- Reboot --
avril 04 10:21:33 raouf-G3-3579 systemd[1]: Started Kibana.
-- Reboot --
avril 04 11:08:16 raouf-G3-3579 systemd[1]: Started Kibana.
avril 04 11:18:28 raouf-G3-3579 systemd[1]: Stopping Kibana...
avril 04 11:18:58 raouf-G3-3579 systemd[1]: kibana.service: Succeeded.
avril 04 11:18:58 raouf-G3-3579 systemd[1]: Stopped Kibana.
-- Reboot --
avril 04 11:24:20 raouf-G3-3579 systemd[1]: Started Kibana.
-- Reboot --
avril 25 10:14:14 raouf-G3-3579 systemd[1]: Started Kibana.
avril 25 11:17:37 raouf-G3-3579 systemd[1]: Stopping Kibana...
avril 25 11:17:40 raouf-G3-3579 systemd[1]: kibana.service: Succeeded.
avril 25 11:17:40 raouf-G3-3579 systemd[1]: Stopped Kibana.
avril 25 11:29:34 raouf-G3-3579 systemd[1]: Started Kibana.
avril 25 11:32:43 raouf-G3-3579 systemd[1]: Stopping Kibana...
avril 25 11:32:43 raouf-G3-3579 systemd[1]: kibana.service: Succeeded.
avril 25 11:32:43 raouf-G3-3579 systemd[1]: Stopped Kibana.
avril 25 11:38:41 raouf-G3-3579 systemd[1]: Started Kibana.
-- Reboot --
avril 25 12:12:53 raouf-G3-3579 systemd[1]: Started Kibana.
avril 25 12:17:08 raouf-G3-3579 kibana[1392]:  FATAL  Error: Unable to complete saved object migrations for the [.kibana_task_manager] index. Please check the health of your Elasticsearch cluster and try again. Unexpected Elasticsearch ResponseError: statusCode: 429, method: PUT, url: /.kibana_task_manager_7.17.3_001/_mapping?timeout=60s error: [cluster_block_exception]: index [.kibana_task_manager_7.17.3_001] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];,
avril 25 12:17:08 raouf-G3-3579 systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
avril 25 12:17:08 raouf-G3-3579 systemd[1]: kibana.service: Failed with result 'exit-code'.
avril 25 12:17:11 raouf-G3-3579 systemd[1]: kibana.service: Scheduled restart job, restart counter is at 1.
avril 25 12:17:11 raouf-G3-3579 systemd[1]: Stopped Kibana.
avril 25 12:17:11 raouf-G3-3579 systemd[1]: Started Kibana.
avril 25 12:17:48 raouf-G3-3579 kibana[3808]:  FATAL  Error: Unable to complete saved object migrations for the [.kibana] index. Please check the health of your Elasticsearch cluster and try again. Unexpected Elasticsearch ResponseError: statusCode: 429, method: PUT, url: /.kibana_7.17.3_001/_mapping?timeout=60s error: [cluster_block_exception]: index [.kibana_7.17.3_001] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];,
avril 25 12:17:48 raouf-G3-3579 systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
avril 25 12:17:48 raouf-G3-3579 systemd[1]: kibana.service: Failed with result 'exit-code'.
avril 25 12:17:51 raouf-G3-3579 systemd[1]: kibana.service: Scheduled restart job, restart counter is at 2.
avril 25 12:17:51 raouf-G3-3579 systemd[1]: Stopped Kibana.
avril 25 12:17:51 raouf-G3-3579 systemd[1]: Started Kibana.
avril 25 12:18:30 raouf-G3-3579 kibana[4611]:  FATAL  Error: Unable to complete saved object migrations for the [.kibana_task_manager] index. Please check the health of your Elasticsearch cluster and try again. Unexpected Elasticsearch ResponseError: statusCode: 429, method: PUT, url: /.kibana_task_manager_7.17.3_001/_mapping?timeout=60s error: [cluster_block_exception]: index [.kibana_task_manager_7.17.3_001] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];,
avril 25 12:18:30 raouf-G3-3579 systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
avril 25 12:18:30 raouf-G3-3579 systemd[1]: kibana.service: Failed with result 'exit-code'.
avril 25 12:18:33 raouf-G3-3579 systemd[1]: kibana.service: Scheduled restart job, restart counter is at 3.
avril 25 12:18:33 raouf-G3-3579 systemd[1]: Stopped Kibana.
avril 25 12:18:33 raouf-G3-3579 systemd[1]: Started Kibana.
avril 25 12:19:12 raouf-G3-3579 kibana[5126]:  FATAL  Error: Unable to complete saved object migrations for the [.kibana_task_manager] index. Please check the health of your Elasticsearch cluster and try again. Unexpected Elasticsearch ResponseError: statusCode: 429, method: PUT, url: /.kibana_task_manager_7.17.3_001/_mapping?timeout=60s error: [cluster_block_exception]: index [.kibana_task_manager_7.17.3_001] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];,
avril 25 12:19:12 raouf-G3-3579 systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
avril 25 12:19:12 raouf-G3-3579 systemd[1]: kibana.service: Failed with result 'exit-code'.
avril 25 12:19:15 raouf-G3-3579 systemd[1]: kibana.service: Scheduled restart job, restart counter is at 4.
avril 25 12:19:15 raouf-G3-3579 systemd[1]: Stopped Kibana.
avril 25 12:19:15 raouf-G3-3579 systemd[1]: Started Kibana.

Thanks!

any idea maybe a version problem? I do not know what to do ! :confused:

Take a look at /var/log/kibana.log.

under /var/log/ cannot find kibana.log there is drwxr-s--- 2 kibana kibana 4096 avril 28 11:17 kibana t is a directory and cd kibana did not work bash: cd: kibana: Permission non accordée :confused:

Hi again here my first 30 log of kibana.log: i found 600 log so ?...

{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["info","plugins-service"],"pid":11558,"message":"Plugin \"metricsEntities\" is disabled."}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["info","http","server","Preboot"],"pid":11558,"message":"http server running at http://localhost:5601"}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["warning","config","deprecation"],"pid":11558,"message":"\"logging.dest\" has been deprecated and will be removed in 8.0. To set the destination moving forward, you can use the \"console\" appender in your logging configuration or define a custom one."}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["warning","config","deprecation"],"pid":11558,"message":"Starting in 8.0, the Kibana logging format will be changing. This may affect you if you are doing any special handling of your Kibana logs, such as ingesting logs into Elasticsearch for further analysis. If you are using the new logging configuration, you are already receiving logs in both old and new formats, and the old format will simply be going away. If you are not yet using the new logging configuration, the log format will change upon upgrade to 8.0. Beginning in 8.0, the format of JSON logs will be ECS-compatible JSON, and the default pattern log format will be configurable with our new logging system. Please refer to the documentation for more information about the new logging format."}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["warning","config","deprecation"],"pid":11558,"message":"Use Kibana application privileges to grant reporting privileges. Using  \"xpack.reporting.roles.allow\" to grant reporting privileges is deprecated. The \"xpack.reporting.roles.enabled\" setting will default to false in a future release."}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["warning","config","deprecation"],"pid":11558,"message":"User sessions will automatically time out after 8 hours of inactivity starting in 8.0. Override this value to change the timeout."}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["warning","config","deprecation"],"pid":11558,"message":"Users are automatically required to log in again after 30 days starting in 8.0. Override this value to change the timeout."}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["info","plugins-system","standard"],"pid":11558,"message":"Setting up [113] plugins: [translations,licensing,globalSearch,globalSearchProviders,features,licenseApiGuard,code,usageCollection,xpackLegacy,taskManager,telemetryCollectionManager,telemetryCollectionXpack,kibanaUsageCollection,share,embeddable,uiActionsEnhanced,screenshotMode,banners,telemetry,newsfeed,mapsEms,mapsLegacy,kibanaLegacy,fieldFormats,expressions,dataViews,charts,esUiShared,bfetch,data,savedObjects,presentationUtil,expressionShape,expressionRevealImage,expressionRepeatImage,expressionMetric,expressionImage,customIntegrations,home,searchprofiler,painlessLab,grokdebugger,management,watcher,licenseManagement,advancedSettings,spaces,security,savedObjectsTagging,reporting,canvas,lists,ingestPipelines,fileUpload,encryptedSavedObjects,dataEnhanced,cloud,snapshotRestore,eventLog,actions,alerting,triggersActionsUi,transform,stackAlerts,ruleRegistry,visualizations,visTypeXy,visTypeVislib,visTypeVega,visTypeTimelion,visTypeTagcloud,visTypeTable,visTypePie,visTypeMetric,visTypeMarkdown,tileMap,regionMap,expressionTagcloud,expressionMetricVis,console,graph,fleet,indexManagement,remoteClusters,crossClusterReplication,indexLifecycleManagement,dashboard,maps,dashboardMode,dashboardEnhanced,visualize,visTypeTimeseries,rollup,indexPatternFieldEditor,lens,cases,timelines,discover,osquery,observability,discoverEnhanced,dataVisualizer,ml,uptime,securitySolution,infra,upgradeAssistant,monitoring,logstash,enterpriseSearch,apm,savedObjectsManagement,indexPatternManagement]"}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["info","plugins","taskManager"],"pid":11558,"message":"TaskManager is identified by the Kibana UUID: 92037a0d-5d40-45be-a915-43fd6ee78df6"}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["warning","plugins","security","config"],"pid":11558,"message":"Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["warning","plugins","security","config"],"pid":11558,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["warning","plugins","security","config"],"pid":11558,"message":"Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["warning","plugins","security","config"],"pid":11558,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["warning","plugins","reporting","config"],"pid":11558,"message":"Generating a random key for xpack.reporting.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.reporting.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["warning","plugins","encryptedSavedObjects"],"pid":11558,"message":"Saved objects encryption key is not set. This will severely limit Kibana functionality. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["warning","plugins","actions"],"pid":11558,"message":"APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["warning","plugins","alerting"],"pid":11558,"message":"APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command."}
{"type":"log","@timestamp":"2022-05-12T10:24:11+01:00","tags":["info","plugins","ruleRegistry"],"pid":11558,"message":"Installing common resources shared between all indices"}
{"type":"log","@timestamp":"2022-05-12T10:24:13+01:00","tags":["info","plugins","reporting","config"],"pid":11558,"message":"Chromium sandbox provides an additional layer of protection, and is supported for Linux Ubuntu 20.04 OS. Automatically enabling Chromium sandbox."}
{"type":"log","@timestamp":"2022-05-12T10:24:13+01:00","tags":["info","elasticsearch","deprecation"],"pid":11558,"message":"Elasticsearch deprecation: 299 Elasticsearch-7.16.3-4e6e4eab2297e949ec994e688dad46290d018022 \"Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-minimal-setup.html to enable security.\"\nOrigin:kibana\nQuery:\n200\nGET /"}
{"type":"log","@timestamp":"2022-05-12T10:24:14+01:00","tags":["info","elasticsearch","deprecation"],"pid":11558,"message":"Elasticsearch deprecation: 299 Elasticsearch-7.16.3-4e6e4eab2297e949ec994e688dad46290d018022 \"Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-minimal-setup.html to enable security.\", 299 Elasticsearch-7.16.3-4e6e4eab2297e949ec994e688dad46290d018022 \"transport.publish_address was printed as [ip:port] instead of [hostname/ip:port]. This format is deprecated and will change to [hostname/ip:port] in a future version. Use -Des.transport.cname_in_publish_address=true to enforce non-deprecated formatting.\"\nOrigin:kibana\nQuery:\n200\nGET /_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip"}
{"type":"log","@timestamp":"2022-05-12T10:24:14+01:00","tags":["info","savedobjects-service"],"pid":11558,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations..."}
{"type":"log","@timestamp":"2022-05-12T10:24:14+01:00","tags":["info","savedobjects-service"],"pid":11558,"message":"Starting saved objects migrations"}
{"type":"log","@timestamp":"2022-05-12T10:24:14+01:00","tags":["info","elasticsearch","deprecation"],"pid":11558,"message":"Elasticsearch deprecation: 299 Elasticsearch-7.16.3-4e6e4eab2297e949ec994e688dad46290d018022 \"Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-minimal-setup.html to enable security.\"\nOrigin:kibana\nQuery:\n404\nGET /_template/kibana_index_template*"}
{"type":"log","@timestamp":"2022-05-12T10:24:14+01:00","tags":["info","elasticsearch","deprecation"],"pid":11558,"message":"Elasticsearch deprecation: 299 Elasticsearch-7.16.3-4e6e4eab2297e949ec994e688dad46290d018022 \"Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-minimal-setup.html to enable security.\"\nOrigin:kibana\nQuery:\n200\nGET /.kibana%2C.kibana_7.16.3?ignore_unavailable=true"}
{"type":"log","@timestamp":"2022-05-12T10:24:14+01:00","tags":["info","savedobjects-service"],"pid":11558,"message":"[.kibana] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 100ms."}
{"type":"log","@timestamp":"2022-05-12T10:24:14+01:00","tags":["info","elasticsearch","deprecation"],"pid":11558,"message":"Elasticsearch deprecation: 299 Elasticsearch-7.16.3-4e6e4eab2297e949ec994e688dad46290d018022 \"Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-minimal-setup.html to enable security.\"\nOrigin:kibana\nQuery:\n200\nGET /.kibana_task_manager%2C.kibana_task_manager_7.16.3?ignore_unavailable=true"}
{"type":"log","@timestamp":"2022-05-12T10:24:14+01:00","tags":["info","savedobjects-service"],"pid":11558,"message":"[.kibana_task_manager] INIT -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 100ms."}
{"type":"log","@timestamp":"2022-05-12T10:24:14+01:00","tags":["info","elasticsearch","deprecation"],"pid":11558,"message":"Elasticsearch deprecation: 299 Elasticsearch-7.16.3-4e6e4eab2297e949ec994e688dad46290d018022 \"Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-minimal-setup.html to enable security.\"\nOrigin:kibana\nQuery:\n200\nPOST /.kibana_7.16.3_001/_pit?keep_alive=10m"}
{"type":"log","@timestamp":"2022-05-12T10:24:14+01:00","tags":["info","savedobjects-service"],"pid":11558,"message":"[.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 48ms."}

need help please can't find the solution :confused:
Thanks !

Hi Abdelraouf,

This part of this log does not help, can you post all Kibana log using https://pastebin.com/