-
Notifications
You must be signed in to change notification settings - Fork 407
Description
I have had absolutely no luck getting the init script provided here to work with CentOS 5 or 6.
Luckily I found someone else had written another script which works well with CentOS 6 and mostly works with CentOS 5. The issue I have with CentOS 5 is when I reboot the server (even though I have chkconfig on set for the init script) the logstash-forwarder does not fire up at all (after reboot if you check the status you get the response "logstash-forwarder dead but pid file exists"). I have put a question on Server Fault to see if anyone there can help me, as I know this isn't probably the best place to ask about this finer differences between CentOS 5 and 6 init scripts, but when I went in your IRC channel I was advised to raise an issue to at least make you aware of the problem I have encountered.
Just to note, I have changed the init script slightly to stop the logstash-forwarder logs going to messages as I am using forwarder to ship those logs, but the issue was apparent before I made these changes also. Any help, suggestions or debugging tricks would be appreciated. Thanks