Waiting for Database Startup

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
aajibad1
Posts: 36
Joined: Tue Nov 07, 2017 4:00 pm

Waiting for Database Startup

Post by aajibad1 »

I successfully installed Nagios log server on AWS Ec2 RHEL . However , after the login in page, it got stuck on elastucsearch database as below
Waiting for Database Startup
It looks like your local elasticsearch service is starting.

Why am I getting this error?

Elasticsearch can take a little while to start up because of it's indexing. This may take a few seconds.

The page will refresh automatically after 5 seconds...
I check the /var/log/logstash/logstash.log file . below is the output
{:timestamp=>"2017-11-08T16:23:23.414000+0000", :message=>"Error: No config files found: /usr/local/nagioslogserver/logstash/etc/conf.d/*\nCan you make sure this path is a logstash config file?"}
{:timestamp=>"2017-11-08T16:23:23.463000+0000", :message=>"You may be interested in the '--configtest' flag which you can\nuse to validate logstash's configuration before you choose\nto restart a running system."}
{:timestamp=>"2017-11-08T16:24:55.060000+0000", :message=>"Failed to install template: None of the configured nodes are available: []", :level=>:error}
{:timestamp=>"2017-11-08T16:59:27.870000+0000", :message=>"Failed to install template: None of the configured nodes are available: []", :level=>:error}
I also checked /var/log/elasticsearch . no log was found . thoughts?
aajibad1
Posts: 36
Joined: Tue Nov 07, 2017 4:00 pm

Re: Waiting for Database Startup

Post by aajibad1 »

Also I did

Code: Select all

tail -n 50 /var/log/elasticsearch/*.log
Output:
==> /var/log/elasticsearch/1fddb8f5-df84-4139-847c-a80614261018_index_indexing_slowlog.log <==

==> /var/log/elasticsearch/1fddb8f5-df84-4139-847c-a80614261018_index_search_slowlog.log <==

==> /var/log/elasticsearch/1fddb8f5-df84-4139-847c-a80614261018.log <==
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Waiting for Database Startup

Post by dwhitfield »

Do you still have the install.log? It seems like NLS did not install properly.

Also, did you follow this guide? https://assets.nagios.com/downloads/nag ... -Cloud.pdf
aajibad1
Posts: 36
Joined: Tue Nov 07, 2017 4:00 pm

Re: Waiting for Database Startup

Post by aajibad1 »

Thank you . I used the document you provided . Its working
kyang

Re: Waiting for Database Startup

Post by kyang »

Glad to hear its working now!

Did you have any more questions or are we okay to close this thread?
Locked