Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example using image never starts as elasticsearch doesn't start #375

Open
mzatko opened this issue Nov 17, 2022 · 1 comment
Open

example using image never starts as elasticsearch doesn't start #375

mzatko opened this issue Nov 17, 2022 · 1 comment

Comments

@mzatko
Copy link

mzatko commented Nov 17, 2022

running elk container using simplest example from documentation page:
sudo docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -it --name elk sebp/elk
leads to failure because "Couldn't start Elasticsearch. Exiting."

 * Starting periodic command scheduler cron                                                                                                                                                                                                                                                  [ OK ] 
 * Starting Elasticsearch Server                                                                                                                                                                                                                                                             [fail] 
waiting for Elasticsearch to be up (1/30)
waiting for Elasticsearch to be up (2/30)
waiting for Elasticsearch to be up (3/30)
waiting for Elasticsearch to be up (4/30)
waiting for Elasticsearch to be up (5/30)
waiting for Elasticsearch to be up (6/30)
waiting for Elasticsearch to be up (7/30)
waiting for Elasticsearch to be up (8/30)
waiting for Elasticsearch to be up (9/30)
waiting for Elasticsearch to be up (10/30)
waiting for Elasticsearch to be up (11/30)
waiting for Elasticsearch to be up (12/30)
waiting for Elasticsearch to be up (13/30)
waiting for Elasticsearch to be up (14/30)
waiting for Elasticsearch to be up (15/30)
waiting for Elasticsearch to be up (16/30)
waiting for Elasticsearch to be up (17/30)
waiting for Elasticsearch to be up (18/30)
waiting for Elasticsearch to be up (19/30)
waiting for Elasticsearch to be up (20/30)
waiting for Elasticsearch to be up (21/30)
waiting for Elasticsearch to be up (22/30)
waiting for Elasticsearch to be up (23/30)
waiting for Elasticsearch to be up (24/30)
waiting for Elasticsearch to be up (25/30)
waiting for Elasticsearch to be up (26/30)
waiting for Elasticsearch to be up (27/30)
waiting for Elasticsearch to be up (28/30)
waiting for Elasticsearch to be up (29/30)
waiting for Elasticsearch to be up (30/30)
Couldn't start Elasticsearch. Exiting.
Elasticsearch log follows below.
cat: /var/log/elasticsearch/elasticsearch.log: No such file or directory

It doesn't matter if run with sudo or using sebp/elk:latest
It looks like it is failing for all versions starting sebp/elk:7.11.0

@spujadas
Copy link
Owner

Probably not enough memory to start (see https://elk-docker.readthedocs.io/#es-not-starting-not-enough-memory) or not enough time to start (see https://elk-docker.readthedocs.io/#issues-misc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants