Questions tagged [elasticsearch]

Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. As the heart of the Elastic Stack, it centrally stores your data for lightning fast search, fine‑tuned relevancy, and powerful analytics that scale with ease.

Elasticsearch official documentation

28 questions
3
votes
1 answer

Elasticsearch service failed to start on Ubuntu 20.04

I can't start the Elasticsearch service on my Ubuntu 20.04 (Focal Fossa) installation: #systemctl status elasticsearch.service ● elasticsearch.service - Elasticsearch Loaded: loaded (/lib/systemd/system/elasticsearch.service; disabled; vendor…
2
votes
1 answer

Commands separated by pipe | character, how to execute them separately?

The following two commands are separated by a pipe | character, which means they will be executed together, in one go: wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - I need to run them separately, as two…
Shy
  • 235
2
votes
3 answers

How do I work around a "stack size specified is too small" error in Java on POWER8?

I am trying to run Java applications (ElasticSearch and Cassandra) on Ubuntu (14.04) running on Power PC hardware using the OpenJDK. I ran into an error: The stack size specified is too small, Specify at least 1664k Error: Could not create the…
2
votes
1 answer

Running Elasticsearch on Ubuntu on WSL: "System has not been booted with systemd as init system (PID 1). Can't operate."

I'm using WSL on Windows 11 (with Ubuntu 22.04 LTS) and trying to use Elasticsearch on it. When I run sudo systemctl start elasticsearch.service, I get the error: System has not been booted with systemd as init system (PID 1). Can't operate. I…
1
vote
0 answers

dpkg: error processing package elasticsearch (--install): subprocess installed post-installation script returned error exit status 1

I am working to install elasticsearch5.4.0.deb in ubuntu 16.04 Docker, while installing its throw below error: Preparing to unpack elasticsearch-5.4.0.deb ... Creating elasticsearch group... OK Creating elasticsearch user... OK Unpacking…
1
vote
2 answers

elasticsearch.yml missing

Apparently, Elasticsearch causes my server to crash sometimes. So I wanted to follow the instructions provided by Binh_Ly here: https://discuss.elastic.co/t/garbage-collection-log-messages-monitor-jvm-duration-2-2m/15673 But he says to change the…
LizzAlice
  • 127
1
vote
2 answers

Install multiple elasticsearch versions on 12.04

I have two projects using different versions of Elasticsearch, the first uses 0.9.x and the second will use 1.2.x. What would the best way to install both versions so I can work on the two projects?
1
vote
0 answers

unrecognized algorithm name: PBEWithSHA1AndDESede

I am trying to use elasticsearch-certutil to generate a certificate sudo /usr/share/elasticsearch/bin/elasticsearch-certutil cert -out /usr/share/elasticsearch/config/elastic-certificates.p12 -pass "" I am getting the following…
Hooman Bahreini
  • 518
  • 1
  • 8
  • 24
1
vote
0 answers

Ubuntu Server unable to install Elasticsearch Unable to locate package

I am trying to install elasticsearch following the instructions at https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html onto a laptop running ubuntu server 18.04.5 conor@dev:~$ lsb_release -a No LSB modules are…
Conor
  • 125
1
vote
1 answer

Error of broken packages of nvidia-cuda-dev while installing elasticsearch

I am trying to install elasticsearch on my remote machine using the following commands .. wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - sudo apt-get install apt-transport-https echo "deb…
args
  • 11
1
vote
3 answers

error on install Community Server/ Document server onlyoffice

when try to install only office server based on there Installing Community Server for Debian, Ubuntu and derivatives so step by step until the latest command sudo apt-get install onlyoffice-communityserver get this error: The following packages…
Zaman Oof
  • 227
  • 1
  • 7
1
vote
0 answers

Multiple ElasticSearch (6 and 7) versions in ubuntu 18.04

I would like to install two Elasticsearch versions (Elasticsearch 6.x) and Elasticsearch (7.x). Does anyone know which is the best way for Ubuntu 18.04 so it should work for both projects? I want ES to setup for PHP based projects that are running…
sandip
  • 117
1
vote
0 answers

Cron job not creating snapshots

I have a cron job set up in my crontab which is set to fire a snapshot every first minute of an hour. When I see the cron logs I can see that it triggered the task but I do not see the snapshots in Kibana client. I curl'ed the ElasticSearch instance…
1
vote
3 answers

How to add custom fields / tags when I use modules in filebeat to distinguish the origins of log records?

I am using the latest version of ELK Stack and I have Filebeat installed on different servers. I am using different filebeat modules to send the logs. Considering that each module handles a path configuration to the log files. How do I make…
1
vote
0 answers

elasticsearch issue in ubuntu 18.04

I have a Ubuntu 18.04 system with 4 GB RAM and 500 GB hard disk. I have installed elastic search in my system with : sudo apt-get install elasticsearch but while starting an elastic search with the command : sudo service elasticsearch start My…
1
2