Thanks to both Steve and Lambert.  A combo of both their suggestions got
things working.

An su to the user netflow did show that the librrd file location was
unknown.  I fixed ld.so.conf and ran an ldconfig which fixed that but nfsend
still died.  I then rebuild everything now that ldd was fixed and still no
love from nfsend :)

I then backleveled rrdtool to 1.2.28, found another missing dependancy,
re-ran ldconfig.  Then rebuild nfdump and nfsen.  Now all is well!!!

Nfsend stays alive, nfsen status looks normal and I have netfow data:

nfsen status
NfSen version: 1.3
NfSen status:
Collector for 'Peering_ehprobe3'    is running: 22778.
nfsen daemon:  pid: [22780] is running.

Now onto trying mulitple profilers again.....

-Robin



On 10/15/08 7:13 PM, "Steve Foley" <[EMAIL PROTECTED]> wrote:

> The problems I had were a little different (and were on Solaris), but
> I noticed the nfprofile wasnt running happily due to it not seeing the
> librrd shared library when it was run as the correct user. I had to
> tweak the default library paths for the user running nfprofile (via
> crle in Solaris, Linux is different.../etc/ld.so.conf, right?). The
> unintuitive thing that I got bit by (despite better judgement) was
> that nfprofile was running as a different user than I compiled as, so
> all of the command line ldd tests looked okay. You might verify that
> an "ldd nfprofile" actually works as the user that will ultimately run
> it. I did find extra help by enabling debugging (there is a variable
> in one of the files) that led me to a little more log info.
> 
> Wish I could be of more help, but maybe that will trigger the solution.
> -Steve
> 
> 
> On Oct 15, 2008, at 9:01 AM, Robin Brown wrote:
> 
>> Can no one help with this?
>> 
>> -Robin
>> 
>> ------ Forwarded Message
>> From: Robin Brown <[EMAIL PROTECTED]>
>> Date: Tue, 7 Oct 2008 11:50:16 -0400
>> To: <nfsen-discuss@lists.sourceforge.net>
>> Subject: [Nfsen-discuss] New nfdump/nfsen server nfsend issue?
>> 
>> 
>> Built a new server on FC8 x86_64.  Nfdump compiles fine with
>> --enable-profile, finds all RRD files ok and nfcapd runs, collects and
>> writes files to disk just fine.
>> 
>> The initial live profile RRD is built but then is never updated.  It
>> looks like nfprofile is not running and nfsend keeps dying.
>> 
>> ./nfsen status
>> NfSen version: 1.3
>> NfSen status:
>> Collector for 'Peering_ehprobe3'        is running: 13546.
>> nfsen daemon:  pid: [13548] died for unknown reason.
>> 
>> ./nfdump: Version: 1.5.7 $LastChangedDate: 2008-02-21 10:50:02 +0100
>> (Thu, 21 Feb 2008) $
>> $Id: nfdump.c 98 2008-02-22 09:13:12Z peter $
>> 
>> RRDtool 1.2.99907080300  Copyright 1997-2007 by Tobias Oetiker
>> <[EMAIL PROTECTED]>
>>               Compiled Aug  8 2007 11:30:20
>> 
>> 
>> Oct  7 11:36:09 munchies2 nfsen[13547]: Startup. Version: 1.3 $Id:
>> nfsend 22 2007-11-20 12:27:38Z phaag $
>> Oct  7 11:36:09 munchies2 nfsen[13548]: nfsend: [13548]
>> Oct  7 11:36:09 munchies2 nfsen[13549]: Comm server started: [13549]
>> Oct  7 11:36:10 munchies2 nfsen[13548]: 0 channels/alerts to profile
>> Oct  7 11:36:10 munchies2 nfsen[13548]: Update profile live in group .
>> Oct  7 11:36:10 munchies2 nfsen[13548]: Error reading channel stat
>> information. Missing key 'first'
>> 
>> Trying to modify the live profile in the web interface results in:
>> ERROR: nfsend socket_read() communication error: Connection reset by
>> peer!
>> 
>> Confirmed by this time nfsend has indeed died.
>> 
>> Any suggestions on what else I can check?
>> 
>> 
>> -Robin
>> 
>> -------------------------------------------------------------------------
>> 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
>> Nfsen-discuss@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
>> 
>> ------ End of Forwarded Message
>> 
>> 
>> -------------------------------------------------------------------------
>> 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
>> Nfsen-discuss@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
> 


-------------------------------------------------------------------------
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
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to