Fatal error starting fresh plain kibana on ubuntu20

hello there,

i did a fresh plain install from your repo and getting a strange error. not able to get rid of it or find any solutions or explanations anywhere. kibana.log says:

{"type":"log","@timestamp":"2021-09-03T14:16:21+02:00","tags":["info","plugins-service"],"pid":2960709,"message":"Plugin \"metricsEntities\" is disabled."}
{"type":"log","@timestamp":"2021-09-03T14:16:21+02:00","tags":["warning","config","deprecation"],"pid":2960709,"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. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx"}
{"type":"log","@timestamp":"2021-09-03T14:16:21+02:00","tags":["warning","config","deprecation"],"pid":2960709,"message":"plugins.scanDirs is deprecated and is no longer used"}
{"type":"log","@timestamp":"2021-09-03T14:16:21+02:00","tags":["warning","config","deprecation"],"pid":2960709,"message":"Config key [monitoring.cluster_alerts.email_notifications.email_address] will be required for email notifications to work in 8.0.\""}
{"type":"log","@timestamp":"2021-09-03T14:16:21+02:00","tags":["warning","config","deprecation"],"pid":2960709,"message":"\"xpack.reporting.roles\" is deprecated. Granting reporting privilege through a \"reporting_user\" role will not be supported starting in 8.0. Please set \"xpack.reporting.roles.enabled\" to \"false\" and grant reporting privileges to users using Kibana application privileges **Management > Security > Roles**."}
{"type":"log","@timestamp":"2021-09-03T14:16:21+02:00","tags":["info","http","server","NotReady"],"pid":2960709,"message":"http server running at http://localhost:5601"}
{"type":"log","@timestamp":"2021-09-03T14:16:21+02:00","tags":["fatal","root"],"pid":2960709,"message":"Error: EACCES: permission denied, uv_resident_set_memory\n    at process.memoryUsage (internal/process/per_thread.js:153:5)\n    at ProcessMetricsCollector.collect (/usr/share/kibana/src/core/server/metrics/collectors/process.js:25:33)\n    at OpsMetricsCollector.collect (/usr/share/kibana/src/core/server/metrics/ops_metrics_collector.js:26:76)\n    at MetricsService.refreshMetrics (/usr/share/kibana/src/core/server/metrics/metrics_service.js:70:49)\n    at MetricsService.setup (/usr/share/kibana/src/core/server/metrics/metrics_service.js:49:16)\n    at Server.setup (/usr/share/kibana/src/core/server/server.js:197:26)\n    at Root.setup (/usr/share/kibana/src/core/server/root/index.js:44:14)\n    at bootstrap (/usr/share/kibana/src/core/server/bootstrap.js:97:5)\n    at Command.<anonymous> (/usr/share/kibana/src/cli/serve/serve.js:224:5) {\n  errno: -13,\n  code: 'EACCES',\n  syscall: 'uv_resident_set_memory'\n}"}

what the hell is Error: EACCES: permission denied, uv_resident_set_memory ?

apt-cache show kibana:

Package: kibana
Priority: optional
Section: default
Installed-Size: 762827
Maintainer: Kibana Team <info@elastic.co>
Architecture: amd64
Version: 7.14.1
Filename: pool/main/k/kibana/kibana-7.14.1-amd64.deb
Size: 289611876
MD5sum: 179defc61b4ae47034552667a76e77fc
SHA1: e264a775936eaeb7b82fd80a3eb18f5a30a28267
SHA256: f41fda7ccb634c333336def9839b89a9ad72d3ed5c23f4059b142ac4a13252c7
SHA512: 9e58f4a5e8ca796546867a3f322c63dd8305dbce61cfc968f97ad8dd3e7a073949eb3b807013125e7a3e2f3cca7ced1038d6954944ad72ad94214e169d4ae388
Description: Explore and visualize your Elasticsearch data
Description-md5: eebf0939f0385e2f438951f4e7ff2689
Homepage: https://www.elastic.co
License: Elastic-License
Vendor: Elasticsearch, Inc.

a usermod -aG proc kibana solved the problem

1 Like