OS Centos 7.
Обновил версию logstash до 7.16.2, теперь при запуске получаю следующее
systemctl status logstash:
Dec 24 01:27:08 elk systemd[1]: Unit logstash.service entered failed state.
Dec 24 01:27:08 elk systemd[1]: logstash.service failed.
Dec 24 01:27:08 elk systemd[1]: logstash.service holdoff time over, scheduling restart.
Dec 24 01:27:08 elk systemd[1]: Stopped logstash.
Dec 24 01:27:08 elk systemd[1]: start request repeated too quickly for logstash.service
Dec 24 01:27:08 elk systemd[1]: Failed to start logstash.
Dec 24 01:27:08 elk systemd[1]: Unit logstash.service entered failed state.
Dec 24 01:27:08 elk systemd[1]: logstash.service failed.
Выполнение команды:
/usr/share/logstash/bin/system-install /etc/logstash/startup.options systemd
результата не дало.
В ручную стартует без ошибок:
/usr/share/logstash/bin/logstash
Using bundled JDK: /usr/share/logstash/jdk
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Sending Logstash logs to /var/log/logstash which is now configured via log4j2.properties
[2021-12-24T01:01:11,737][INFO ][logstash.runner ] Log4j configuration path used is: /usr/share/logstash/config/log4j2.properties
[2021-12-24T01:01:11,778][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.16.2", "jruby.version"=>"jruby 9.2.20.1 (2.5.8) 2021-11-30 2a2962fbd1 OpenJDK 64-Bit Server VM 11.0.13+8 on 11.0.13+8 +indy +jit [linux-x86_64]"}
[2021-12-24T01:01:14,170][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600, :ssl_enabled=>false}
Почему не хочет запускаться как сервис?