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
lcontreras
Posts: 48
Joined: Thu Sep 13, 2012 7:15 pm

Waiting for Database Startup

Post by lcontreras »

Hi guys,

I've installed Nagios Log Server on CentOS 7, but after setting up password, etc I got the following message:

Waiting for Database Startup

Any idea ?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Waiting for Database Startup

Post by Box293 »

Is there anything in the logs?

Code: Select all

tail /var/log/elasticsearch/*.log -n 20
tail /var/log/logstash/*.log -n 20
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
lcontreras
Posts: 48
Joined: Thu Sep 13, 2012 7:15 pm

Re: Waiting for Database Startup

Post by lcontreras »

Here are the outputs:

tail /var/log/elasticsearch/*.log -n 20

==> /var/log/elasticsearch/ccf3d9c8-f1ac-4b42-ad0a-b48d4bb4568b_index_indexing_slowlog.log <==

==> /var/log/elasticsearch/ccf3d9c8-f1ac-4b42-ad0a-b48d4bb4568b_index_search_slowlog.log <==

==> /var/log/elasticsearch/ccf3d9c8-f1ac-4b42-ad0a-b48d4bb4568b.log <==


tail /var/log/logstash/*.log -n 20

{:timestamp=>"2015-10-24T12:29:23.636000-0400", :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=>"2015-10-24T12:29:23.660000-0400", :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=>"2015-10-24T13:03:15.725000-0400", :message=>"Failed to install template: None of the configured nodes are available: []", :level=>:error}
{:timestamp=>"2015-10-26T07:52:57.482000-0400", :message=>"Failed to install template: None of the configured nodes are available: []", :level=>:error}
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Waiting for Database Startup

Post by jolson »

How much memory do you have in the NLS box? If it's less than 4GB or so, I'd like you to double your memory and reboot it - that should be enough to bring your database online.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked