OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: thebraz on January 10, 2017, 04:22:09 pm

Title: Netflow Insight shows No Available Data after Upgrade
Post by: thebraz on January 10, 2017, 04:22:09 pm
Hello, after today upgrade to 16.7.13 Insight shows "No available data" also if the cache section of NetFlow shows that packets are captured.

I did an ls -lah of /var/log and it shows ten older flowd.log.xxxxxxx of 11 MB each and one (today's one)  which is already 34 MB and growing.

The situation is shown in the attached file


Could someone please help me?

Thanks in advance
Title: Re: Netflow Insight shows No Available Data after Upgrade
Post by: josh.s on January 10, 2017, 06:17:13 pm
I am experiencing the same problem also. The flow_aggregate service will not stay running even after clearing all netflow data.
Title: Re: Netflow Insight shows No Available Data after Upgrade
Post by: thebraz on January 11, 2017, 10:53:34 am
Hello,

I experienced same problem on both my OPNSense installations.

Since I installed them as Virtual appliances I reverted one of them to the working, pre-update snapshot.

The other one, still updated to 16.7.13, is still capturing packets but not producing NetFlow data even if I reset RRD data, as showed in the attached file.

Any help, please?

Thanks in advance
Title: Re: Netflow Insight shows No Available Data after Upgrade
Post by: thebraz on January 12, 2017, 09:37:29 am
So, it seems that updating from 16.7.11_1-amd64 to 16.7.13-amd64 breaks Insight since the flow_aggregate service will not stay running.

I reverted to 16.7.11_1-amd64 in both my VM installations since having history data is very important for us.

If someone will be able to help I surely will help in solving the thing trying the update again.

Best Wishes
Title: Re: Netflow Insight shows No Available Data after Upgrade
Post by: AdSchellevis on January 16, 2017, 06:59:28 pm
Hi thebraz,

Can you try downgrading python and see if your issue persists?

Code: [Select]
pkg add -f https://pkg.opnsense.org/freebsd:10:x86:64/16.7/MINT/16.7.11/OpenSSL/All/python27-2.7.12.txz

Thanks in advance,

Ad
Title: Re: Netflow Insight shows No Available Data after Upgrade
Post by: alexmdv on January 16, 2017, 07:17:36 pm
Hi thebraz,
Can you try downgrading python and see if your issue persists?

I have tried your advise.
Same story - no data available.
Title: Re: Netflow Insight shows No Available Data after Upgrade
Post by: AdSchellevis on January 16, 2017, 07:21:00 pm
Did you restart the services or reboot the device and check if flowd_aggregator is running?
Title: Re: Netflow Insight shows No Available Data after Upgrade
Post by: alexmdv on January 16, 2017, 07:30:41 pm
I have restarted router and after check service flowd_aggregator.
Code: [Select]
root@gw:~ # service flowd_aggregate start
flowd_aggregate already running?  (pid=1339).
Service is working, but anyway no data in web interface...
Title: Re: Netflow Insight shows No Available Data after Upgrade
Post by: alexmdv on January 16, 2017, 07:43:20 pm
Did you restart the services or reboot the device and check if flowd_aggregator is running?
Could you look at my PM...
Title: Re: Netflow Insight shows No Available Data after Upgrade
Post by: tillsense on January 19, 2017, 06:44:05 pm
Hi all,

any news? Today i see this on 16.7.13 in ESX with no Netflow data on gui...many entries :

Quote
kernel: pid 80837 (python2.7), uid 0: exited on signal 11 (core dumped)

cheers till
Title: Re: Netflow Insight shows No Available Data after Upgrade
Post by: AdSchellevis on January 19, 2017, 07:53:34 pm
Hi till,

Downgrading python (my previous post) should solve the issue.

Regards,

Ad
Title: Re: Netflow Insight shows No Available Data after Upgrade
Post by: the-mk on January 20, 2017, 04:49:10 pm
downgrading as AdSchellevis described above and a reboot made it work again! Thanks!
Title: Re: Netflow Insight shows No Available Data after Upgrade
Post by: sachaz on January 20, 2017, 08:09:21 pm
Same problem the downgrade didn't solved the issue, still  have no data.
Title: Re: Netflow Insight shows No Available Data after Upgrade
Post by: franco on January 21, 2017, 06:32:46 pm
This is a troubling issue between Python 2.7.12 and 2.7.13. We'll need to look into this, but for 17.1's sake I think we will revert the Python version and ask users who are on the newer one to downgrade with a simple command (or by reinstalling Python from the GUI).