elasticsearch restart hung?

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
kmartin
Posts: 17
Joined: Tue Jan 21, 2020 11:50 am

elasticsearch restart hung?

Post by kmartin »

I'm following single instance deployment -
https://assets.nagios.com/downloads/nag ... oyment.pdf

Edited elasticsearch.yml
index.number_of_replicas:0

Restart elasticsearch
systemctl restart elasticsearch.service

GUI displays
Waiting for Database Startup

Has been like this for over 20 minutes now. I also tried to restart the entire VM from command line with same results. The box appears to be stuck at waiting for database to startup. Is it normal to take this long? Any advice?

Thanks,
Ken
kmartin
Posts: 17
Joined: Tue Jan 21, 2020 11:50 am

Re: elasticsearch restart hung?

Post by kmartin »

OK, so I figured out my own problem.

I did not have a space between the colon and the zero in the config file. It should look like this -
index.number_of_replicas: 0

Once I put the space back in there and restarted, it came up fine.

Problem solved.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: elasticsearch restart hung?

Post by Box293 »

Great, thank you for getting back to us with your solution.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked