Start up logstash


#1

Hy there!

I have already install logstash 6.2 version and try to start it and it shows an error

root@Logstash:~# service logstash status -l
● logstash.service - logstash
Loaded: loaded (/etc/systemd/system/logstash.service; disabled)
Active: failed (Result: start-limit) since lun 2018-05-07 16:41:36 CEST; 15s ago
Process: 1581 ExecStart=/usr/share/logstash/bin/logstash --path.settings /etc/logstash (code=exited, status=1/FAILURE)
Main PID: 1581 (code=exited, status=1/FAILURE)
may 07 16:41:36 Logstash systemd[1]: logstash.service: main process exited, code=exited, status=1/FAILURE
may 07 16:41:36 Logstash systemd[1]: Unit logstash.service entered failed state.
may 07 16:41:36 Logstash systemd[1]: logstash.service holdoff time over, scheduling restart.
may 07 16:41:36 Logstash systemd[1]: Stopping logstash...
may 07 16:41:36 Logstash systemd[1]: Starting logstash...
may 07 16:41:36 Logstash systemd[1]: logstash.service start request repeated too quickly, refusing to start.
may 07 16:41:36 Logstash systemd[1]: Failed to start logstash.
may 07 16:41:36 Logstash systemd[1]: Unit logstash.service entered failed state.

i have tried to do it in this way too but keeps the error:

root@Logstash:~# systemctl stop logstash.service
root@Logstash:~# systemctl start logstash.service
● logstash.service - logstash
Loaded: loaded (/etc/systemd/system/logstash.service; disabled)
Active: failed (Result: start-limit) since lun 2018-05-07 16:43:48 CEST; 6s ago
Process: 1722 ExecStart=/usr/share/logstash/bin/logstash --path.settings /etc/logstash (code=exited, status=1/FAILURE)
Main PID: 1722 (code=exited, status=1/FAILURE)
may 07 16:43:48 Logstash systemd[1]: logstash.service: main process exited, code=exited, status=1/FAILURE
may 07 16:43:48 Logstash systemd[1]: Unit logstash.service entered failed state.
may 07 16:43:48 Logstash systemd[1]: logstash.service holdoff time over, scheduling restart.
may 07 16:43:48 Logstash systemd[1]: Stopping logstash...
may 07 16:43:48 Logstash systemd[1]: Starting logstash...
may 07 16:43:48 Logstash systemd[1]: logstash.service start request repeated too quickly, refusing to start.
may 07 16:43:48 Logstash systemd[1]: Failed to start logstash.
may 07 16:43:48 Logstash systemd[1]: Unit logstash.service entered failed state.

my java version is this one:

root@Logstash:~# java -version
java version "1.7.0_171"
OpenJDK Runtime Environment (IcedTea 2.6.13) (7u171-2.6.13-1~deb8u1)
OpenJDK 64-Bit Server VM (build 24.171-b02, mixed mode)


(Christian Dahlqvist) #2

As per the Support Matrix, Logstash 6.2 requires Java8.


#3

@Christian_Dahlqvist I upgraded java and everithing is working fine. Thanks!!!

MrNerd


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.