ArgumentError: Path "/opt/logstash/data/queue" must be a writable directory. It is not writable. Reproducible: Always Steps to Reproduce: # /etc/init.d/logstash start * Checking your configuration ... Sending Logstash's logs to /var/log/logstash which is now configured via log4j2.properties Configuration OK [2016-12-26T18:20:34,073][INFO ][logstash.runner] Using config.test_and_exit mode. Config Validation Result: OK. Exiting Logstash [ ok ] * /var/log/logstash/logstash-plain.log: correcting mode * /var/log/logstash/logstash-plain.log: correcting owner * Starting logstash ... # /etc/init.d/logstash stop * Stopping logstash ... * start-stop-daemon: no matching processes found
Created attachment 457446 [details] /var/log/logstash/logstash-plain.log
Thanks for the report. This happens because logstash first checks the config as root and creates data/queue. Later, when you start logstash as non-root, it cannot access it.
Should be fixed with this PR: https://github.com/gentoo/gentoo/pull/3268 This will force update the permissions on all files in: /opt/logstash/data /var/log/logstash /run/logstash
Please try 5.1.1-r1.