Page 1 of 1

Logstash Daemon dead but pid file exists

Posted: Tue Jun 06, 2017 5:57 pm
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

Re: Logstash Daemon dead but pid file exists

Posted: Wed Jun 07, 2017 10:20 am
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

Re: Logstash Daemon dead but pid file exists

Posted: Wed Jun 21, 2017 1:34 pm
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?