On Mon, Dec 01, 2008 at 07:33:49AM +0100, Peter Haag wrote:
> > 
> > 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?
> 

Hi Peter et al,

The error message above seem to come from "nfsenutil.php". I've
modified the error messages in this file to read as follows:

from
SetMessage('error', "nfsend connect() error: $errstr");
to
SetMessage('error', "nfsend connect() error: $errstr -$COMMSOCKET-");

My idea was that once the error occus I'd get an understanding as to
which value $COMMSOCKET is set.

Guess what: When I try to access ...nfsen/nfsen.php with my
web-browser the error message reads

ERROR: nfsend connect() error: Invalid argument --!

The "-" come from the modified "SetMessage" above. To my understanding
this means that $COMMSOCKET is empty!

Shouldn't COMMSOCKET have a value of
/usr/local/var/nfsen/run/nfsen.comm? At least this is what conf.php in
the nfsen web-directory (where e.g. nfsen.php, nfsenutil.php
etc. resiedes) indicates.


BTW - in conf.php there's a statemant "$DEBUG=0;". Although I don't
have any idea about PHP I've tried to set "$DEBUG" to a non-zero
value; unfortunately this didn't change anything despite the fact that
"$DEBUG$ is referenced e.g. in nfsen.php etc.

Where does that debug-output go - /var/tmp/nfsen-log is non-existent -
at least that's the place that's referenced in nfsen.php...


Any other knobs to turn in order to get debug output and an
understanding where things don't work out?

Thanks in advance for any clue,
-ewald

PS: Setting short-tags to on in conf.php didn't change anything - same
error 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to