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

Do you have SElinux or similar policy system?
Make sure, the web server process is allowed to open the UNIX socket.

        - Peter

Ewald Jenisch wrote:
> On Wed, Nov 26, 2008 at 08:29:07AM +0100, Peter Haag wrote:
>> These messages don't harm. As long as you have not defined any limits ( time 
>> or size ) for the profile, there will be no
>> info files.
>> As soon as you hve set limit, they go away!
> 
> Good to know :-)
> 
>>>
>>> 2) When pointing my browser to http://<ip>/nfsen/nfsen.php I get an error 
>>> message
>>>
>>> ERROR: nfsend connect() error: Invalid argument!
>>> ERROR: nfsend - connection failed!!
>>> ERROR: Can not initialize globals!
>> This means your web server process can not connect to the nfsend daemon 
>> process. Check, if you can connect on the
>> command line using
>> ./.nfsen -l live
>> for example. 
> 
> Here's what I get from "nfsen -l live":
> 
> # nfsen -l live
> name    live
> group   (nogroup)
> tcreate Tue Nov 18 18:00:00 2008
> tstart  Tue Nov 18 18:00:00 2008
> tend    Wed Nov 26 10:40:00 2008
> updated Wed Nov 26 10:40:00 2008
> expire  0 hours
> size    0
> maxsize 0
> type    live
> locked  0
> status  OK
> version 130
> channel isp_rz1 sign: + colour: #0000ff order: 1        sourcelist: isp_rz1   
>  ERR Channel info file missing for channel 'isp_rz1' in 'live'
>         Files: 0        Size: 0
> channel isp_rz2 sign: + colour: #0000ff order: 2        sourcelist: isp_rz2   
>  ERR Channel info file missing for channel 'isp_rz2' in 'live'
>         Files: 0        Size: 0
> 
> #
> 
> 
>> If this works, then check the web server permissions and socket
>> permissions. Otherwise your nfsend daemon does not run. This should
>> be reported in the log file.
> 
> The web-server has "r" and "x" permissions through the whole path
> leading to the "profiles-data" directory and everything below it. In
> the apache error-log (httpd-error.log) I don't see anything about
> access being denied to a specific file.
> 
> Likewise the files under /usr/local/www/nfsen where the web-related
> files of nfsen reside everything is world readable (files) and "r-x"
> (directories).
> 
> Sames holds for the socket-file under /usr/local/var/nfsen/run:
> 
> # ls -lgat
> total 10
> drwxrwxr-x  2 www  www  512 Nov 25 13:47 .
> srw-rw----  1 www  www    0 Nov 25 13:47 nfsen.comm
> -rw-r--r--  1 www  www    6 Nov 25 13:47 nfsend.pid
> -rw-r--r--  1 www  www    6 Nov 25 13:47 isp_rz2.pid
> -rw-r--r--  1 www  www    6 Nov 25 13:47 isp_rz1.pid
> drwxrwxr-x  9 www  www  512 Nov 18 18:00 ..
> #
> 
> Here too "nfsen.comm" is read/writeable by "www" which is the
> user/group apache runs on:
> 
> (from httpd.conf):
> User www
> Group www
> 
> 
> 
> What do you mean exactly by "web server permissions" and "socket
> permissions"? Where should I look?
> 
> 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
> Nfsen-discuss@lists.sourceforge.net
> 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)

iQCVAwUBSS06wv5AbZRALNr/AQLtJQP/YCjcdVURrdWmccZDus1yXkZrkTy31CFj
rvh2PB3kOIUoQRiuYGTlQ2gpXHU2u+9Lio68hlF5VbEID0ftjzde48gsbVaUYb0R
6OwWo1Q3Pc1HLXVQ/SpfFrelbND+h1g2zuLLswCiPjoo91XPOqPg7feW/oYUcyMf
O97sMo3f4Lg=
=J0G0
-----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
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to