OPNsense Forum
Archive => 20.1 Legacy Series => Topic started by: logan23 on February 29, 2020, 08:25:55 am
-
Hi,
For some reason, lately, I cannot access anymore to my OpenVPN log file.
My OpenVPN clients work perfectly, I can connect, but when I click on "Log File" (https://192.168.X.X/ui/diagnostics/log/core/openvpn), I always get "Loading...".
Of course, I have tried to clear/flush the log and then "Refresh", reboot, etc. Nothing works.
I run the latest updates :
OPNsense 20.1.1-amd64
FreeBSD 11.2-RELEASE-p16-HBSD
LibreSSL 3.0.2
Any idea what's wrong?
Thanks!
-
I have the same problem after a reboot this morning. Everything seems to work well and the log files are correctly written but I cannot see anything in the GUI.
-
Same here...,
killing syslogd, removing logs in /var/log, restarting syslogd didn't help.
-
As far as I can tell, apart from the OpenVPN log file, Backend and General under System, Plain View under Firewall and Unbound DNS also seem to be affected. They all just show "loading..."
-
I forgot to mention this other problem:
My OPNsense is currently running on a standalone fanless computer that I use as a router.
Before I upgraded to 20.1.1, when I switched it on, my OpenVPN clients automatically connected to my VPN provider without any problem.
Now, when I switch it on, the VPN connection fails. I have to enter into my OPNsense setup, go to https://192.168.X.X/vpn_openvpn_client.php , disable my OpenVPN client and re-enable it, and then, it works...
-
Plain View under Firewall and Unbound DNS also seem to be affected. They all just show "loading..."
I confirm!!! Same problem here.
-
Feb 29 14:03:19 firewall configd.py: [98be8b12-2874-4a15-b266-c6d88e0b8272] Show log
Feb 29 14:03:19 firewall configd.py: [98be8b12-2874-4a15-b266-c6d88e0b8272] Script action failed with Command '/usr/local/opnsense/scripts/systemhealth/queryLog.py --limit '20' --offset '0' --filter '' --module 'core' --filename 'pkg'' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 484, in execute stdout=output_stream, stderr=error_stream) File "/usr/local/lib/python3.7/subprocess.py", line 363, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/systemhealth/queryLog.py --limit '20' --offset '0' --filter '' --module 'core' --filename 'pkg'' returned non-zero exit status 1.
-
As far as I can tell, apart from the OpenVPN log file, Backend and General under System, Plain View under Firewall and Unbound DNS also seem to be affected. They all just show "loading..."
Same problem for me.
No issue for reading the log files (like /var/log/system.log) using the utility 'clog', but GUI just shows "loading...".
May be an issue about the date ( Feb, 29)... ?
OPNsense 20.1.1-amd64
FreeBSD 11.2-RELEASE-p16-HBSD
OpenSSL 1.1.1d 10 Sep 2019
-
looks like a leap-year issue, the following patch should fix it https://github.com/opnsense/core/commit/e3774ddfb6caaa48727029241a8486065d3c56a8
Install from the console using:
opnsense-patch e3774dd
Best regards,
Ad
-
Confirm - patch e3774dd working.
All logs ok now.
-
Thank you for the rapid response.
miroco
-
Patch is working !
Thanks !
-
Thanks very much AdSchellevis! I confirm, log is working again.