/flowd_aggregate.py: 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/source.py", line 117, in add super(FlowSourceAddrDetails, self).add(flow) File "/usr/local/opnsense/scripts/netflow/lib/aggregates/__init__.py", line 185, in add self._update_cur.execute(self._update_stmt, flow) sqlite3.DatabaseError: database disk image is malformed
/usr/local/opnsense/scripts/netflow/flowd_aggregate.py --console
Traceback (most recent call last): File "/usr/local/opnsense/site-python/sqlite3_helper.py", line 60, in check_and_repair cur.execute('analyze')sqlite3.DatabaseError: database disk image is malformedDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 224, in <module> Main() File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 136, in __init__ self.run() File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 144, in run check_and_repair('%s/*.sqlite' % self.config.database_dir) File "/usr/local/opnsense/site-python/sqlite3_helper.py", line 62, in check_and_repair if e.find('malformed') > -1 or force_repair:AttributeError: 'DatabaseError' object has no attribute 'find'
opnsense-patch e5574648service flowd_aggregate restart