-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Ewald,
Ewald Jenisch wrote:
> Hi,
>
> I'm currently setting up nfsen 1.3 ($Id: nfsen 22 2007-11-20 12:27:38Z
> phaag $) under FreeBSD 7.
>
> After going through the normal build-process under FreeBSD I finally
> set up nfsen.conf to include my routers like so:
>
> %sources = (
> 'isp_rz1' => { 'port' => '2600', 'col' => '#0000ff', 'type' =>
> 'netflow' },
> 'isp_rz2' => { 'port' => '2601', 'col' => '#0000ff', 'type' =>
> 'netflow' },
> );
>
> and started nfsen with "nfsen start"; no errors in the console output
> of nfsen,
>
>
>
> Unfortunately things don't work as expected:
>
> 1) In /var/log/messages (syslog) I periodically get errors like this
>
> Nov 25 13:40:15 boxy nfsen[20950]: Channel info file missing for channel
> 'isp_rz1' in './live'
> Nov 25 13:40:15 boxy nfsen[20950]: Channel info file missing for channel
> 'isp_rz2' in './live'
> Nov 25 13:42:47 boxy nfsen[20950]: expected exit of child Comm Server[20951].
> Process died.
These messages don't harm. As long as you have not defined any limits ( time or
size ) for the profile, there will be no
info files.
As soon as you hve set limit, they go away!
>
>
> 2) When pointing my browser to http://<ip>/nfsen/nfsen.php I get an error
> message
>
> ERROR: nfsend connect() error: Invalid argument!
> ERROR: nfsend - connection failed!!
> ERROR: Can not initialize globals!
This means your web server process can not connect to the nfsend daemon
process. Check, if you can connect on the
command line using
./.nfsen -l live
for example. If this works, then check the web server permissions and socket
permissions. Otherwise your nfsend daemon
does not run. This should be reported in the log file.
- Peter
>
>
> I cross-checked whether something's listening to the respective
> UDP-ports - nfcapd is listening to both relevant ports
>
> I also tried "nfsen reconfig" several times, restarted apache (Version
> 2.2.9), nothing helped.
>
>
> Has anybody out there got an idea as to what is wrong here?
>
> Thanks much in advance for any clue,
> -ewald
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Nfsen-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
- --
_______ SWITCH - The Swiss Education and Research Network ______
Peter Haag, Security Engineer, Member of SWITCH CERT
PGP fingerprint: D9 31 D5 83 03 95 68 BA FB 84 CA 94 AB FC 5D D7
SWITCH, Werdstrasse 2, P.O. Box, CH-8021 Zurich, Switzerland
E-mail: [EMAIL PROTECTED] Web: http://www.switch.ch/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iQCVAwUBSSz6wf5AbZRALNr/AQIMBAP9H4gMAhhByQV+8zU2HZGQk2Z8kmGFxoTq
k7EurxZA30NkikHjKP/bKfoTAYRexYPQSj54Jca1B/P/BQKL7HSZsnUU/hJOMffV
i9hZpBAAby+9bIkRXWXeEzw1opE/ZgihCIvKXt0P9WUQYYLGxr9FN8h7s+OuuJfK
VJMGGkhaYDE=
=IkUQ
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss