-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin List-Petersen wrote:
> 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.
Thnx! I'll fix that!
- Peter
>
> Kind regards,
> Martin List-Petersen
>
- --
_______ 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)
iQCVAwUBSlyVJf5AbZRALNr/AQIhgQP9EYtq7HEtKr4QGGlhFmn4unT4bf+PNLm0
qLQx8r0zVKfKCMMn4cZZ4WeusXJ8Y7FeAssZTaZ6w94aYNEiq8oRJSX8skkRWBAO
EiuZIHgD+hpP/4rHLT2ZSLCWsL0O7+yd/XjRr79UXnpuzM8HA/uNOYNFX38TzP5x
9i4J9AdcX74=
=neTu
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss