Ever since I upgraded to 7 on a Ubuntu 20.04, the service always go down. No error no where. Suricata-start is good, suricata.log nothing. journalctl has the only tip of what can be happening:
Sep 04 11:04:53 lab systemd[1]: Started LSB: Next Generation IDS/IPS.
Sep 04 11:04:53 lab systemd[1]: suricata.service: Failed to read oom_kill field of memory.events cgroup attribute: No such file or directory
Sep 04 11:04:53 lab systemd[1]: suricata.service: Child 1427 belongs to suricata.service.
Sep 04 11:05:44 lab systemd[1]: suricata.service: Failed to read oom_kill field of memory.events cgroup attribute: No such file or directory
Sep 04 11:05:44 lab systemd[1]: suricata.service: Child 1431 belongs to suricata.service.
Sep 04 11:05:44 lab systemd[1]: suricata.service: Control group is empty.
Sep 04 11:05:44 lab systemd[1]: suricata.service: Changed running -> exited
I have another system that also has this error message but the service doesn’t stop (relating to cgroup message). It seems the bad one is control group is empty.
Notice: suricata: Configuration provided was successfully loaded. Exiting.
Edit: when running terminal not service I get:
Segmentation fault (core dumped)
From dmesg:
[ 1868.878772] Suricata-Main[2790]: segfault at 0 ip 000055b06136774d sp 00007ffd111196f0 error 4 in suricata[55b06125a000+613000]
[ 3119.494504] Suricata-Main[3913]: segfault at 0 ip 000055fe4953774d sp 00007ffdb872a470 error 4 in suricata[55fe4942a000+613000]