Wednesday, February 26, 2014

nfsen nfdump all x's and 'File not Found' for recent netflows


On my NFSEN system, I recently had a problem where all the current data flows showed "x" on the channels' traffic speed columns.

Also when I ran reports (filter processing), I'd get an error stating an nfdump data file was not found.

example:
stat() error 'path/nfsen/profiles-data/live/channel/year/month/day/nfcapd.yearmonthdaytime': File not found!

It turned out that at some point I set my TimeZone in the OS, but php/apache did not use the same TimeZone.

In, CentOS, I checked /etc/sysconfig/clock which contained:
ZONE="America/Chicago"

However, my /etc/php.ini had nothing set. So I replaced the timezone line with
date.timezone = America/Chicago

Then I restarted apache with:
service httpd restart

Woot, that fixed it!

Your Linux distribution may have different files/paths, but the concept should work the same.

Good Luck!
-------------

2 comments:

  1. Thanks for posting, I had the same issue and this helped fix it in a matter of minutes!

    ReplyDelete
  2. Many thanks - that helps my issue! Sam

    ReplyDelete

Comments, Suggestions or "Thank you's" Invited!