Logstash Daemon dead but pid file exists

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
sachinvichu
Posts: 1
Joined: Thu Apr 20, 2017 12:13 am

Logstash Daemon dead but pid file exists

Post by sachinvichu »

Hi All,

I installed Nagios Log Server on Red hat Linux 6.5

After that i am unable to see the Core services status under Administration --> System Status, it keeps on loading
ElasticSearch database
logstash collector

In the instance drop -down nothing displays, is this normal behaviour?
Also when i check the logstash status it shows like below

# service logstash status
Logstash Daemon dead but pid file exists

Validated the log stash logs,


[root@XXXXPP01 logstash]# more logstash.log
{:timestamp=>"2017-06-05T14:59:23.681000-0700", :message=>"Error: No config files found: /usr/local/nagioslogserver/logstash/etc/c
onf.d/*\nCan you make sure this path is a logstash config file?"}
{:timestamp=>"2017-06-05T14:59:23.686000-0700", :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-06-05T15:03:12.729000-0700", :message=>"Failed to install template: None of the configured nodes are available:
[]", :level=>:error}
[root@XXXXAPP01 logstash]#

Any idea what is going wrong, i would like to make hte NLS clean before i start pushing logs from my sources

Thanks
Viswa
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Logstash Daemon dead but pid file exists

Post by avandemore »

In the instance drop -down nothing displays, is this normal behaviour?
No, it is not normal. You can check what normal behavior by downloading our OVA and running it.

What is the output of:

Code: Select all

# df -h; df -i
# ls -la /usr/local/nagioslogserver/logstash/etc/conf.d/
# tail -n 100 /var/log/messages
Previous Nagios employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Logstash Daemon dead but pid file exists

Post by tmcdonald »

Just checking in since we have not heard from you in a while. Did @avandemore's post clear things up or has the issue otherwise been resolved?
Former Nagios employee
Locked