Hello Peter,

After I nfsen -r live command, statistics table changed to like below.

Statistics timeslot Mar 14 2008 - 11:15 
 Channel:  Flows:   Packets:   Traffic:  
  all: tcp: udp: icmp: other: all: tcp: udp: icmp: other: all: tcp: udp:
icmp: other: 
 boldsoft_railcom   0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0
/s  0 b/s  0 b/s  0 b/s  0 b/s  0 b/s  
 boldsoft_dial   0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s 
0 b/s  0 b/s  0 b/s  0 b/s  0 b/s  
 boldsoft_voip   0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s 
0 b/s  0 b/s  0 b/s  0 b/s  0 b/s  
 boldsoft_tower   0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s  0 /s 
0 b/s  0 b/s  0 b/s  0 b/s  0 b/s  
   Display: Sum Rate    

Any configuration problem?

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...--tp15526200p16044913.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.

Reply via email to