-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ewald,

Ewald Jenisch wrote:
> 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.

So I guess it may be a PHP issue somewhere. Do you have any php limitations,
or missing PHP modules? There are lots of FreeBSD users out there.
Unfortunately, I do not have a running FreeBSD at my hands.

Any FreeBSD users can help please?

        - Peter

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

- --
_______ SWITCH - The Swiss Education and Research Network ______
Peter Haag,  Security Engineer,  Member of SWITCH CERT
PGP fingerprint: D9 31 D5 83 03 95 68 BA  FB 84 CA 94 AB FC 5D D7
SWITCH, Werdstrasse 2, P.O. Box,  CH-8021   Zurich, Switzerland
E-mail: [EMAIL PROTECTED] Web: http://www.switch.ch/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBSTOFSf5AbZRALNr/AQLvUwP/a2aWrChE4IGKRmft9rKMx0kd84aeWA7G
nj988jCyiKMRNqvJm91RzKSRcIV+LCY9u8IE1/gstQ957rSM2eQP+AuH0pKv8+x/
Y8imBjnJiXfAYhKUfpNn1K+7KOon6gMevsa2bzQm9YM30/67g2dEZcksqidjQihQ
W6N+MzwiCKs=
=IwlQ
-----END PGP SIGNATURE-----

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