Daemontools keeps restarting w/ stdout

Stephen Corona <[email protected]> Wed, 11 Feb 2009 22:09:20 -0600
Newsgroups gmane.comp.djb.syslog
Message-ID <E4DA49E16172174CA381704D6668B6BD01D1336831@pkc-exch01.adknowledge.com>
There is no mailing list for daemon tools, so I thought I'd post this here:

I am having some trouble running a program (ScribeServer) via Daemontools. If I don't redirect STDOUT to a file, daemon tools will keep restarting the program over and over again. I'm not sure why this is happening as it should be fine according to the daemontools FAQ. I also tried setting up a logger w/ daemon tools using multilog but experienced the same programs. Everything works great if I execute /services/scribed/run directly.

This is my daemonstools run file:

#!/bin/sh
exec /usr/local/bin/scribed /vm/scribed/scribed.conf

It will only run if I change it to this:

#!/bin/sh
exec /usr/local/bin/scribed /vm/scribed/scribed.conf 1>/dev/null

Thanks for any help,

Steve

________________________________________
From: [email protected] [[email protected]]
Sent: Wednesday, February 11, 2009 10:09 PM
To: Stephen Corona
Subject: ezmlm response

Hi! This is the ezmlm program. I'm managing the
[email protected] mailing list.

Acknowledgment: I have added the address

   [email protected]

to this mailing list.


--- Here is general information about the log mailing list.

log is for designers and implementors of a syslog replacement.

Some logging utilities are available in the daemontools package,
available from http://pobox.com/~djb/daemontools.html.


--- Here are the ezmlm command addresses.

I can handle administrative requests automatically.
Just send an empty note to any of these addresses:

   <[email protected]>:
   Receive future messages sent to the mailing list.

   <[email protected]>:
   Stop receiving messages.

   <[email protected]>:
   Retrieve a copy of message 12345 from the archive.

DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST!
If you do, I won't see them, and subscribers will yell at you.

To specify [email protected] as your subscription address, send mail
to <[email protected]>.
I'll send a confirmation message to that address; when you receive that
message, simply reply to it to complete your subscription.


--- Below this line is a copy of the request I received.

Return-Path: <[email protected]>
Received: (qmail 50415 invoked from network); 12 Feb 2009 04:09:30 -0000
Received: from pkc-exch1.adknowledge.com (HELO pkc-exch01.adknowledge.com) (67.53.160.50)
  by cr.yp.to with SMTP; 12 Feb 2009 04:09:30 -0000
Received: from pkc-exch01.adknowledge.com ([192.168.102.8]) by
 pkc-exch01.adknowledge.com ([192.168.102.8]) with mapi; Wed, 11 Feb 2009
 22:01:52 -0600
From: Stephen Corona <[email protected]>
To: "log-sc.1234410129.bmamdnejjjbdckajppan-scorona=adknowledge.com@list.cr.yp.to"
        <log-sc.1234410129.bmamdnejjjbdckajppan-scorona=adknowledge.com@list.cr.yp.to>
Date: Wed, 11 Feb 2009 22:01:48 -0600
Subject: RE: ezmlm response
Thread-Topic: ezmlm response
Thread-Index: AcmMxouO2eqS/2VfRw2UC8gXF8WGzwAABVAQ
Message-ID: <E4DA49E16172174CA381704D6668B6BD01D133682E@pkc-exch01.adknowledge.com>
References: <[email protected]>
In-Reply-To: <[email protected]>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0


________________________________________
From: [email protected] [[email protected]]
Sent: Wednesday, February 11, 2009 9:42 PM
To: Stephen Corona
Subject: ezmlm response

Hi! This is the ezmlm program. I'm managing the
[email protected] mailing list.

To confirm that you would like

   [email protected]

added to this mailing list, please send an empty reply to this address:

   log-sc.1234410129.bmamdnejjjbdckajppan-scorona=3Dadknowledge.com@list.cr=
.yp.to

Your mailer should have a Reply feature that uses this address automaticall=
y.

This confirmation serves two purposes. First, it verifies that I am able
to get mail through to you. Second, it protects you in case someone
forges a subscription request in your name.


--- Here are the ezmlm command addresses.

I can handle administrative requests automatically.
Just send an empty note to any of these addresses:

   <[email protected]>:
   Receive future messages sent to the mailing list.

   <[email protected]>:
   Stop receiving messages.

   <[email protected]>:
   Retrieve a copy of message 12345 from the archive.

DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST!
If you do, I won't see them, and subscribers will yell at you.

To specify [email protected] as your subscription address, send mail
to <[email protected]>.
I'll send a confirmation message to that address; when you receive that
message, simply reply to it to complete your subscription.


--- Below this line is a copy of the request I received.

Return-Path: <[email protected]>
Received: (qmail 50213 invoked from network); 12 Feb 2009 03:42:08 -0000
Received: from pkc-exch1.adknowledge.com (HELO pkc-exch01.adknowledge.com) =
(67.53.160.50)
  by cr.yp.to with SMTP; 12 Feb 2009 03:42:08 -0000
Received: from pkc-exch01.adknowledge.com ([192.168.102.8]) by
 pkc-exch01.adknowledge.com ([192.168.102.8]) with mapi; Wed, 11 Feb 2009
 21:34:27 -0600
From: Stephen Corona <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 11 Feb 2009 21:34:26 -0600
Subject:
Thread-Index: AQHJjMLNyS0QC+rhIEiChugnZ1Twlw=3D=3D
Message-ID: <[email protected]=
dge.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset=3D"us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0