OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: johnjarkness@gmail.com on October 02, 2021, 03:41:23 PM

Title: Insight Aggregator fails to start
Post by: johnjarkness@gmail.com on October 02, 2021, 03:41:23 PM
Hello, Insight Aggregator fails to start.
Log gives...
lowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 160, in run aggregate_flowd(self.config, do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 80, in aggregate_flowd stream_agg_object.add(copy.copy(flow_record)) File "/usr/local/opnsense/scripts/netflow/lib/aggregates/interface.py", line 72, in add super(FlowInterfaceTotals, self).add(flow) File "/usr/local/opnsense/scripts/netflow/lib/aggregates/__init__.py", line 187, in add self._update_cur.execute(self._insert_stmt, flow) sqlite3.DatabaseError: database disk image is malformed

Can anyone help please.
JJ
Title: Re: Insight Aggregator fails to start
Post by: johnjarkness@gmail.com on October 02, 2021, 04:19:44 PM
Hello again.

I found this
https://forum.opnsense.org/index.php?topic=6903.msg30178#msg30178
...and all works again.
Sorry to bother,
JJ
Title: Re: Insight Aggregator fails to start
Post by: WMINTIENS on October 04, 2021, 10:03:25 AM
Hi,

I 've similar issue on my system to , Insight Aggregator fails
2021-10-04T07:58:02   /flowd_aggregate.py[11055]   flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 160, in run aggregate_flowd(self.config, do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 80, in aggregate_flowd stream_agg_object.add(copy.copy(flow_record)) File "/usr/local/opnsense/scripts/netflow/lib/aggregates/interface.py", line 72, in add super(FlowInterfaceTotals, self).add(flow) File "/usr/local/opnsense/scripts/netflow/lib/aggregates/__init__.py", line 187, in add self._update_cur.execute(self._insert_stmt, flow) sqlite3.DatabaseError: database disk image is malformed