Hi,

This is a followup to my recent posting about problems getting up
nfsen under FreeBSD.

I'm still experiencing problems accessing nfsen. Whenever I try to
access the webpage (i.e. http:<ip>/nfsen/nfsen.php) I get these error
messages

ERROR: nfsend connect() error: Invalid argument!
ERROR: nfsend - connection failed!!
ERROR: Can not initialize globals!

I've already checked access to the comm-socket, i.e.

conf.php has $COMMSOCKET = "/usr/local/var/nfsen/run/nfsen.comm"

and 
# 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

nfsen.conf lists the correct user/group

# user and group of the web server process
# All netflow processing will be done with this user
$WWWUSER  = "www";
$WWWGROUP = "www";

httpd.conf (Apache2.2) lists 

DocumentRoot "/usr/local/www/apache22/data"

with the "data" directory containting a link to nfsen's php-files:

lrwxr-xr-x  1 root  wheel  11 Nov 28 22:11 nfsen -> ../../nfsen


Primary question: How can I track this down?? 

I suppose the problem has something to do with the webserver not being
able to access the comm-socket. Is there any "debug" that can be
turned on?

(BTW  -  in  "conf.php"  in  the  nfsen  web-directory  is  a  setting
"$DEBUG=0;". I've  already tried  to fiddle with  it, setting it  to a
higher  value (1,2,...)  - but  that didn't  give any  debug  output -
neither  on the web  page displayed  under http:/<ip>/nfsen/nfsen.php,
nor in the syslog).

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

Reply via email to