Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - PJ79

#1
23.1 Legacy Series / Re: Upgrade to 23.1
March 21, 2023, 04:49:01 PM
Hi
From what ver. upgarde was done?
#2
Guys
Just to let you know my example and maybe someone had the same situation.
After reboot, OPNsense HAproxy service did not start. Pressing the start button from Gui shows service start but nothing happened.
Start from console with usr/local/etc/rc.d/haproxy onestart showed errors related to 'crt-list' which pointed me to HTTPS certificates I'm using for public services. For some reason, a few servers did not have certificates added. This is quite strange as diff in config shows nothing. After adding certificates service was started
Br, PJ
#3
Seems like franco comment helped me :)
Thank you, guys.
#4
Hi Guys
First of all welcome all of You!
Maybe someone faced the same issue as me.
There are logs /var/log/filter which I need to clean up every week due to limited space assigned to Opnsense
I'm running two routers ( Master and Slave)
OPNsense 22.7.4-amd64
FreeBSD 13.1-RELEASE-p2
OpenSSL 1.1.1q 5 Jul 2022

I have created a simple bash script which is cleaning logs from /var/log/filter. This script is working in 100% as manual execution seems to result in what I want.

The issue is with crontrab where I have added an entry to start the script ( crontab -e)
0 1 * * * /root/bin/filter_bkp.sh
Then of course entry is saved and looks ok for some time. 
Unfortunately, after around a week, this entry is removed ( no user action) and of course, logs are not removed.

Any thoughts
Br, Pawel