Zenarmor seem to die about every 24 hours

Started by cmmh, September 29, 2022, 10:27:05 PM

Previous topic - Next topic
Any tips for debugging/troubleshooting why Zenarmor (and elasticsearch) seem to stop working within 24 hours? 

I had this problem some time back, and I changed my database to MongoDB and it solved the problem outright. If you can test that out, it's worth trying. For some reason, ElasticSeach did not agree with my setup.

Hi,

Can you share a bug report from the upper right corner of Zenarmor GUI?

October 15, 2022, 11:25:45 PM #3 Last Edit: October 15, 2022, 11:36:31 PM by almodovaris
Yup, I had a similar problem, although not exactly every 24 hours. Solution:

cd /usr/local/opnsense/service/conf/actions.d
nano actions_eastpect.conf

There enter:

[start]
command:/usr/home/my_eastpect.sh
parameters:%s
type:script
description:Restarting eastpect
message:Restarting eastpect

Then:

nano /usr/home/my_eastpect.sh

There enter:

#!/bin/sh
service eastpect restart

Then:

chmod +x /usr/home/my_eastpect.sh
service configd restart

Create two cron jobs with Restarting eastpect at two different hours, 12 hours apart in between. Press Apply.
OPNsense HW:

Minisforum Venus series UN100C, 16 GB RAM, 512 GB SSD
T-bao N9N Pro, 16 GB RAM, 512 GB SSD