jasonish / evebox

Web Based Event Viewer (GUI) for Suricata EVE Events in Elastic Search
https://evebox.org/
MIT License
414 stars 67 forks source link

Systemd file memory error #270

Closed arjandekker closed 1 year ago

arjandekker commented 1 year ago

Hi,

On RHEL8 we recieved the following error when starting Evebox: Failed at step MEMORY spawning /usr/bin/evebox: Cannot allocate memory

I solved this by changing the systemd service file:

From: Environment=CONFIG="-c /etc/evebox/evebox.yaml"

To: Environment='CONFIG=-c /etc/evebox/evebox.yaml'

Maybe the service file has to be changed in the rpm?

Greets,

Arjan

jasonish commented 1 year ago

I can't make this fail for me in CentOS 8, however I do see double quotes used in many unit files, so I'll plan to make this:

Environment="CONFIG=-c /etc/evebox/evebox.yaml"