PLEASE CAN YOU ALL HELP I AM SEEINFG THIS ERROR IN THE KIBANA.LOG
service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1" },"@timestamp":"2024-02-29T16:25:33.899+01:00","message":"Failure during install ation of common resources shared between all indices. Timeout: it took more than 1200000ms","error":{"message":"Failure during installation of common resources shared between all indices. Timeout: it took more than 1200000ms","type":"Error" ,"stack_trace":"Error: Failure during installation of common resources shared be tween all indices. Timeout: it took more than 1200000ms\n at installWithTimeo ut (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/alerts_service/li b/install_with_timeout.js:59:13)\n at ResourceInstaller.installCommonResource s (/usr/share/kibana/node_modules/@kbn/rule-registry-plugin/server/rule_data_plu gin_service/resource_installer.js:42:5)"},"log":{"level":"ERROR","logger":"plugi ns.ruleRegistry"},"process":{"pid":144914,"uptime":1223.070632747},"trace":{"id" :"681a0fe3b7c071709139003b4e3174b6"},"transaction":{"id":"219200a5e6fb5950"}}
From what I understand from the log, I believe you took a long time to generate the elasticsearch token for Kibana to connect. After installing elasticsearch, access credentials are created and then you need to install Kibana and generate a connection token. I recommend taking a look at the installation documentation Installing the Elastic Stack | Elastic Installation and Upgrade Guide [8.12] | Elastic.
Hello
Thanks for your reply
I am thinking of reinstalling the whole elasticsearch and kibanA AT THE SAME TIME
i do get a message when using the rpm -e
rpm --erase elasticsearch-8.12.2-x86_64.rpm
error: package elasticsearch-8.12.2-x86_64.rpm is not installed
and the same for kibana
But we know it is installed and when try to reinstall i am getting this message
rpm --reinstall elasticsearch-8.12.2-x86_64.rpm
Job for systemd-sysctl.service failed because the control process exited with error code.
See "systemctl status systemd-sysctl.service" and "journalctl -xe" for details.
Couldn't write '1' to 'kernel/nmi_watchdog': Unknown error 524
warning: %transfiletriggerin(systemd-239-45.el8_4.2.x86_64) scriptlet failed, exit status 1
[/usr/lib/tmpfiles.d/elasticsearch.conf:1] Line references path below legacy directory /var/run/, updating /var/run/elasticsearch → /run/elasticsearch; please update the tmpfiles.d/ drop-in file accordingly.
[root@xxxxxxxxxx tmp]# timed out waiting for input: auto-logout
I understand that you are using a Linux distro based on Red Hat. Is the selinux feature disabled? Try to remove the package via dnf or yum commands and then clear the cache of packages already installed on the system with the yum clean packages command.
I have deleted all the kibana and elasticsearch on the same box but when i do a find
/]# find . -name elasticsearch -print
./usr/share/elasticsearch
./usr/share/kibana/node_modules/@elastic/elasticsearch
./usr/share/kibana/node_modules/@kbn/enterprise-search-plugin/public/applications/elasticsearch
./usr/share/kibana/node_modules/@kbn/fleet-plugin/server/services/epm/elasticsearch
./usr/share/kibana/node_modules/@kbn/monitoring-plugin/common/http_api/elasticsearch
./usr/share/kibana/node_modules/@kbn/monitoring-plugin/public/application/pages/elasticsearch
./usr/share/kibana/node_modules/@kbn/monitoring-plugin/public/components/elasticsearch
./usr/share/kibana/node_modules/@kbn/monitoring-plugin/public/components/metricbeat_migration/instruction_steps/elasticsearch
./usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/lib/elasticsearch
./usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/lib/metrics/elasticsearch
./usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/routes/api/v1/elasticsearch
./usr/share/kibana/node_modules/@kbn/security-plugin/server/elasticsearch
./usr/share/kibana/node_modules/@kbn/synthetics-plugin/public/apps/synthetics/state/elasticsearch
./var/lib/elasticsearch
./etc/elasticsearch
and also with kibana
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.