Hi,

I installed nfsen today and ran into the issue, that nfsend would die on
startup. The extract from syslog says:
Jul  5 17:27:33 asgaard nfsen[31133]: Startup. Version: 1.3.2 $Id:
nfsend 14 2009-06-10 08:07:06Z haag $
Jul  5 17:27:33 asgaard nfsen[31133]: Error startup nfsend: Bad file
descriptor
Jul  5 17:27:33 asgaard nfsen[31133]: PANIC nfsend dies: Unable to write
PID file: Bad file descriptor at /opt/nfsen/bin/nfsend line 181.

Checking the code, I found, that ./bin/nfsend doesn't use the config
variable PIDDIR, but uses hardcoded VARDIR/run instead.

After replacing
$NfConf::VARDIR/run/$pidfile
with
$NfConf::PIDDIR/$pidfile
in the deamon, it has started properly.

That might be worth fixing.

Kind regards,
Martin List-Petersen

-- 
Airwire - Ag Nascadh Pobail an Iarthair
http://www.airwire.ie
Phone: 091-865 968 


------------------------------------------------------------------------------
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to