Error starting and enabling greylog - no runlevel symlinks

ubuntu 22.04, installing greylog and using elastisearc following instructions from here:

I get to :
systemctl enable graylog-server.service && systemctl start graylog-server.service

and it returns the 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
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
Authentication is required to reload the systemd state.
Authenticating as: admin
Password:
==== AUTHENTICATION COMPLETE ===
update-rc.d: error: no runlevel symlinks to modify, aborting!

my google fu is not returning anything I can understand, is this something simple I have missed?

Have you changed after install anything on the config

Try
#systemctl daemon-reload
#systemctl enable graylog-server.service && systemctl start graylog-server.service

check
#systemctl status graylog-server.service

thanks, I reloaded the VM and got past that error.

I read through the page you linked and follow the steps exactly as prescribed. I ran into several issues, primarily the lack of sudo prepending so some commands.

One of the important missing sudos is for dpkg -i graylog-4.3-repository_latest.deb

Given the number of issues with that document (out dated mongo, elasticsearch, and graylog) I recommend using either our official install documentation or this: se-poc-docs/src/On Prem POC at main · Graylog2/se-poc-docs · GitHub

Let me know if you have any questions. Thanks!

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