Check for selinux and the permissions of the nfsen socket (I don't remember
where it's saved, but should be under /home/netflow/var/run/nfsen.comm). If
selinux is diabled (or permissive), permissions should look like this:
srw-rw---- 1 netflow apache 0 Mar 16 08:58 nfsen.comm
On Fri, Apr 3, 2015 at 7:28 AM, Laurent Dumont <ad...@coldnorthadmin.com>
wrote:
> Hi gents,
>
> I'm running into the dreaded error :
> ERROR: nfsend connect() error: Permission denied! ERROR: nfsend -
> connection failed!! ERROR: Can not initialize globals!
>
> Here is the environnement - Centos 6.6
>
> #Should allow read/write for both the 'netflow' user and anyone in the
> 'apache' group.
> srw-rw---- 1 netflow apache 0 Apr 3 00:12 /home/netflow/var/run/nfsen.comm
>
> #The netflow user is in the Apache group
> apache:x:48:sylvain,netflow
>
> #The Nfsen process user is corretly set as netflow.
> $USER = "netflow";
>
> #The web process is run under the 'apache' user
> $WWWUSER = "apache";
> $WWWGROUP = "apache";
>
>
> netflow 28372 0.1 1.1 117648 22940 ? Ss 00:12 0:00
> /usr/bin/perl -w /home/netflow/bin/nfsend
> netflow 28373 0.0 0.7 114688 15388 ? Ss 00:12 0:00
> /home/netflow/bin/nfsend-comm
>
> I remember solving that puzzle a while back but it's escaping me right
> now..
>
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Nfsen-discuss mailing list
> Nfsen-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss