Re: [Nfsen-discuss] ERROR: nfsend connect() error - how can I track this down?
Netflow visualisation and investigation tool
Brought to you by:
phaag
|
From: Ewald J. <a...@je...> - 2008-11-29 12:45:13
|
On Fri, Nov 28, 2008 at 08:52:00PM -0200, Vinicius Esteves wrote: Hi Vinicius, (I'm CC-ing this to the list - maybe somebody can help out here) > is nfsend running? Yes, definitely: $ ps auxww | grep nfsend www 3281 0.0 0.6 72752 23724 ?? Is 9:58PM 1:55.33 /usr/local/bin/perl -w /usr/local/bin/nfsend www 3282 0.0 0.4 66580 17108 ?? Is 9:58PM 0:00.44 /usr/local/bin/nfsend-comm (perl) ej 6255 0.0 0.0 6880 1280 p0 R+ 1:33PM 0:00.00 grep nfsend $ It runs under the correct uid (www). There's no problem btw with nfdump; I can access all data obtained from the various sources. The problem is with nfsen throwing that "ERROR: nfsend connect() error: Invalid argument". It seems like the error comes from nfsenutil.php. What I don't understand though is that nfsenutil.php tries to access "$COMMSOCKET" which is defined in conf.php as "$COMMSOCKET = "/usr/local/var/nfsen/run/nfsen.comm";" but can't access that socket though it is r/w for uid www: $ ls -la /usr/local/var/nfsen/run/ total 10 drwxrwxr-x 2 www www 512 Nov 28 21:58 . drwxrwxr-x 9 www www 512 Nov 28 21:54 .. -rw-r--r-- 1 www www 5 Nov 28 21:55 isp_rz1.pid -rw-r--r-- 1 www www 5 Nov 28 21:55 isp_rz2.pid srw-rw---- 1 www www 0 Nov 28 21:58 nfsen.comm -rw-r--r-- 1 www www 5 Nov 28 21:58 nfsend.pid $ I even set that socket to 666 - didn't change anything; same error message... Kind regards, -ewald |