OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: cryptochrome on June 07, 2017, 10:28:51 pm

Title: Firewall keeps crashing while using WebGUI
Post by: cryptochrome on June 07, 2017, 10:28:51 pm
Ever since the last couple updates (I think it started with 17.1.6) the firewall keeps crashing on my while I use the WebGUI or do anything on the command line. If I don't touch the firewall, it seems to be stable.

Today it is extremely bad, firewall crashes every couple of minutes.

The only weird things I can find in the system log are these:

Code: [Select]
Jun  7 21:40:45 gw1 configd.py: [599ea6f1-628c-4e00-a675-d586418490a4] Inline action failed with OPNsense/HAProxy OPNsense/HAProxy/haproxy.conf 'collections.OrderedDict object' has no attribute 'HAProxy' at Traceback (most recent call last):   File "/usr/local/opnsense/service/modules/processhandler.py", line 505, in execute     return ph_inline_actions.execute(self, inline_act_parameters)   File "/usr/local/opnsense/service/modules/ph_inline_actions.py", line 50, in execute     filenames = tmpl.generate(parameters)   File "/usr/local/opnsense/service/modules/template.py", line 309, in generate     raise render_exception Exception: OPNsense/HAProxy OPNsense/HAProxy/haproxy.conf 'collections.OrderedDict object' has no attribute 'HAProxy'

and this:

Code: [Select]
Jun  7 21:48:09 gw1 flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last):   File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 148, in run     aggregate_flowd(do_vacuum)   File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 79, in aggregate_flowd     stream_agg_object.add(flow_record_cpy)   File "/usr/local/opnsense/scripts/netflow/lib/aggregates/source.py", line 105, in add     super(FlowSourceAddrDetails, self).add(flow)   File "/usr/local/opnsense/scripts/netflow/lib/aggregate.py", line 258, in add     self._update_cur.execute(self._update_stmt, flow) DatabaseError: database disk image is malformed

Regarding the last one, I disabled Netflow but that doesn't seem to help. The HAProxy log entry appears more often than the netflow one.

Any ideas?
Title: Re: Firewall keeps crashing while using WebGUI
Post by: bartjsmit on June 08, 2017, 08:23:10 am
Perhaps some context? Hardware, configuration (in-line, NAT, WAN, etc.)

Bart...