Hello Peter, I installed Nfsen + Nfdump on Fedora Core 8 and it is working fine.
But I saw some message like: ---------------------------- Mar 14 13:35:00 netflow /usr/local/bin/nfcapd[2154]: Ident: 'boldsoft_railcom' Flows: 64080, Packets: 601491, Bytes: 259641123, Sequence Errors: 0, Bad Packets: 0 Mar 14 13:35:00 netflow /usr/local/bin/nfcapd[2145]: Ident: 'boldsoft_tower' Flows: 11400, Packets: 88151, Bytes: 23231888, Sequence Errors: 0, Bad Packets: 0 Mar 14 13:35:02 netflow /usr/local/bin/nfcapd[2148]: Ident: 'boldsoft_voip' Flows: 1436, Packets: 62183, Bytes: 37656718, Sequence Errors: 0, Bad Packets: 0 Mar 14 13:35:10 netflow /usr/local/bin/nfcapd[2151]: Ident: 'boldsoft_dial' Flows: 30, Packets: 2243, Bytes: 170321, Sequence Errors: 0, Bad Packets: 0 Mar 14 13:35:15 netflow nfsen[2575]: 0 channels/alerts to profile Mar 14 13:35:15 netflow nfsen[2575]: Update profile live in group . Mar 14 13:35:15 netflow nfsen[2575]: Error reading channel stat information. Missing key 'first' Mar 14 13:35:17 netflow nfsen[2575]:last message repeated 3 times Mar 14 13:35:17 netflow nfsen[2707]: Plugin Cycle: Time: 200803141330, Profile: live, Group: ., Module: PortTracker, Mar 14 13:35:24 netflow nfsen[2575]: Run expire at Fri Mar 14 13:35:00 2008 Mar 14 13:35:24 netflow nfsen[2575]: End expire at Fri Mar 14 13:35:00 2008 I don't know "Error reading channel stat information. Missing key 'first'" normal or not? Balgaa Richard Daemon wrote: > > Hi, > > I'm really stumped on this and any help would be greatly appreciated. > > When trying to load the nfsen/nfsen.php page I get: > > ERROR: nfsend connect() error: No such file or directory! > ERROR: nfsend - connection failed!! > ERROR: Can not initialize globals! > > I'm sure I have it configured properly and started properly as the > documentation states, I've read over and over and over again... > > I've used the default ./etc/nfsen-dist.conf > ./etc/nfsen.conf (tried > with and without changing HTMLDIR) > > I'm running httpd -u (non-chroot), php enabled, configured in > httpd.conf and tested ok - httpd chrooted works less, for now. > > I did the mkdir /data then ran the ./install.pl etc/nfsen.conf > > Started it with: ./nfsen start and it starts ok. > > in nfsen.conf I tried with /var/www/nfsen and /var/www/htdocs/nfsen > (same results)... > > %sources = ( > #'upstream1' => { 'port' => '9995', 'col' => '#0000ff', > 'type' => 'netflow' }, > 'slacker' => { 'port' => '9995', 'col' => '#0000ff', 'type' > => 'netflow' }, > #'peer1' => { 'port' => '9996', 'col' => '#ff0000' }, > ); > > Then when I try http://slacker/nfsen/nfsen.php I get: > > ERROR: nfsend connect() error: No such file or directory! > ERROR: nfsend - connection failed!! > ERROR: Can not initialize globals!in red. > > pfflowd -d -n 192.168.0.10 running from remote host. > > I tried 1.3 and 1.3b, including nfsen -r live. > > I also get this in /var/log/messages: > Feb 16 22:50:15 slacker nfsen[689]: Error reading channel stat > information. Missing key 'first' > > $ netstat -anf inet |grep 995 > udp 0 0 *.9995 *.* > > Running OpenBSD 4.2-stable. > > Did I miss anything? Am I doing something wrong? > > Any help is greatly appreciated! > > > -- View this message in context: http://www.nabble.com/Nfsen-and-php-problems...--tp15526200p16044729.html Sent from the openbsd user - misc mailing list archive at Nabble.com.