Unable to run graylog-server

Hi,

when i run this command
systemctl start graylog-server ; systemctl enable graylog-server ; systemctl status graylog-server

Getting this error :
Synchronizing state of graylog-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable graylog-server
● graylog-server.service - Graylog server
Loaded: loaded (/lib/systemd/system/graylog-server.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sat 2021-01-30 02:13:43 IST; 554ms ago
Docs: http://docs.graylog.org/
Main PID: 19561 (code=exited, status=127)
Tasks: 0 (limit: 9168)
Memory: 0B
CGroup: /system.slice/graylog-server.service

Jan 30 02:13:43 pruse-IdeaPad systemd[1]: Started Graylog server.
Jan 30 02:13:43 pruse-IdeaPad systemd[1]: graylog-server.service: Main process exited, code=exited, status=127/n/a
Jan 30 02:13:43 pruse-IdeaPad systemd[1]: graylog-server.service: Failed with result β€˜exit-code’.
Jan 30 02:13:43 pruse-IdeaPad graylog-server[19564]: /usr/share/graylog-server/bin/graylog-server: 19: /usr/bin/java: not found

Thanks in advance

1 Like

Hi
Have you install java ??
Show log file /var/log/graylog-server

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