delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/08/07:01:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: Re: OpenLDAP
From: Robert Collins <rbcollins AT cygwin DOT com>
To: Flynn <flynnieboy AT yahoo DOT com>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <aithvk$is$1@main.gmane.org>
References: <aithvk$is$1 AT main DOT gmane DOT org>
Date: 08 Aug 2002 21:01:28 +1000
Message-Id: <1028804489.20180.16.camel@lifelesswks>
Mime-Version: 1.0

--=-X/JNga0aKrAXqh7ZdDyp
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2002-08-08 at 20:43, Flynn wrote:
> Hi everyone.
>=20
> I'm facing two major big problems with a build of OpenLDAP I made recentl=
y.
> I use this build as a Windows 2000 service using cygrunsrv.
>=20
>=20
> 1)
> In order to run it as a service, I need to specify "-d 0" as a slapd=20
> parameter. The result is that after some commands, NT/2000 eventlog is=20
> full. If I remove the parameter, the program fails to launch as a service=
.
>=20
> Any way of avoiding to use that parameter ?

Patch openLDAP to not fork() and detach. You'll find that if you look at
what it does when -d is passed. I suggest adding something like -N that
prevents the fork() and detach, without altering the debug levels.

Rob


--=-X/JNga0aKrAXqh7ZdDyp
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA9Uk+II5+kQ8LJcoIRAgm3AJ9lxFwp9nZukXOtapknQUg/0SZDoACgovGZ
X6PqazE2HbtJR3XBnzMFq1M=
=faN7
-----END PGP SIGNATURE-----

--=-X/JNga0aKrAXqh7ZdDyp--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019