Hello,

I want to make sure this isn't an nfsen issue before I pursue it with
the FreeBSD port maintainers. I did a fresh install of FreeBSD 10 over
the weekend and have been having issues with perl crashing when using
nfsen. I used the binary package system to install apache, nfdump, perl,
etc., but I had to do a couple tricks to get nfsen running, which I'll
explain below.

FreeBSD 10.0-RELEASE #0 amd64
nfsen 1.3.6p1
nfdump 1.6.9
perl 5.16.3 (perl5-5.16.3_7)
rrdtool 1.4.8
php 5.4.25

In order to get nfsen properly installed, I did the following little
dance:
1) Install nfsen package (pkg install nfsen)

2) Grab nfsen.conf from installed package and uninstall it (pkg delete
nfsen)

3) Run official nfsen installer (./install.pl /usr/local/etc/nfsen.conf)
<-- Fixes directory and permissions issues with the official package

4) Install nfsen package <-- Installs rc.d startup script and fixes
Socket6 errors


After starting nfsen, all appears to be up and running correctly...

% ps ax | egrep 'nfcapd|nfsen'
74891  -  S       0:00.03 /usr/local/bin/nfcapd -w -D -p 9998 -u www -g
www -B 
74894  -  S       0:00.01 /usr/local/bin/nfcapd -w -D -p 9997 -u www -g
www -B 
74897  -  S       0:00.02 /usr/local/bin/nfcapd -w -D -p 9999 -u www -g
www -B 
74900  -  I       0:00.01 /usr/local/bin/nfcapd -w -D -p 9996 -u www -g
www -B 
74902  -  Is      0:08.16 /usr/local/bin/perl /usr/local/bin/nfsend
74903  -  Is      0:00.31 /usr/local/bin/nfsend-comm (perl)

...however, a couple clicks around the web interface and I inevitably
get this across the top of the page:

ERROR: nfsend socket_read() communication error: Connection reset by
peer!

The corresponding lines in /var/log/messages look like this:

Feb 17 09:10:08 kilo kernel: pid 74922 (perl), uid 80: exited on signal
11
Feb 17 09:10:37 kilo kernel: pid 74965 (perl), uid 80: exited on signal
11
Feb 17 09:10:54 kilo kernel: pid 75006 (perl), uid 80: exited on signal
11
Feb 17 09:11:05 kilo kernel: pid 75046 (perl), uid 80: exited on signal
11

Note that nfsen continues to function and nfsend-comm respawns itself,
so usability seems to be unaffected. I've tried recompiling perl -- even
recompiling with gcc instead of clang -- but I can't prevent the error
from occurring. So, do I have it right that this is a perl problem and
not nfsen?

Many thanks,
Mike

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to