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 ?
Waiting for Database Startup
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Waiting for Database Startup
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.
-
- Posts: 48
- Joined: Thu Sep 13, 2012 7:15 pm
Re: Waiting for Database Startup
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}
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
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.