/usr/local/opnsense/scripts/netflow/flowd_aggregate.py console
Hi,can you try to run this in a console and paste the output here?Code: [Select]/usr/local/opnsense/scripts/netflow/flowd_aggregate.py consoleBest regards,Ad
clog /var/log/system.log | grep flowd
ok, that's not much can you try to grep your syslog?Code: [Select]clog /var/log/system.log | grep flowd
# clog /var/log/system.log | grep flowdJul 3 09:00:34 OPNsense root: /usr/local/etc/rc.d/flowd: WARNING: failed to start flowdJul 9 16:32:14 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 10 11:49:45 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 10 12:03:40 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 10 12:04:56 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 10 13:18:38 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 10 13:18:53 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 10 13:19:10 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 10 13:21:57 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 10 13:22:00 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 10 13:22:07 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 10 13:23:52 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 10 13:24:37 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 10 13:24:53 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 10 13:24:56 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 11 07:19:24 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 11 08:09:32 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 11 08:11:11 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 11 08:11:14 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 11 11:35:04 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 11 11:35:07 bop root: /usr/local/etc/rc.d/flowd_aggregate: WARNING: failed to start flowd_aggregateJul 11 11:35:08 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 11 11:35:15 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too smallJul 11 11:35:21 bop flowd_aggregate.py: flowd aggregate died with message Traceback (most recent call last): File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 145, in run aggregate_flowd(do_vacuum) File "/usr/local/opnsense/scripts/netflow/flowd_aggregate.py", line 67, in aggregate_flowd for flow_record in parse_flow(prev_recv): File "/usr/local/opnsense/scripts/netflow/lib/parse.py", line 92, in parse_flow for flow in flog: ValueError: store_read_flow: Internal error: flow buffer too small
rm /var/log/flowd.log*rm /var/netflow/*.sqlite
I had to create a monit task for it to restart and keep it alive.
We do need a GUI reset for this, I've recorded this here: https://github.com/opnsense/core/issues/983