Page 1 of 1

Waiting for Database Startup

Posted: Sat Oct 24, 2015 11:04 am
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 ?

Re: Waiting for Database Startup

Posted: Sun Oct 25, 2015 7:47 pm
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

Re: Waiting for Database Startup

Posted: Mon Oct 26, 2015 6:55 am
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}

Re: Waiting for Database Startup

Posted: Mon Oct 26, 2015 3:01 pm
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.