From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 431 invoked by alias); 8 Aug 2002 11:01:33 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 423 invoked from network); 8 Aug 2002 11:01:31 -0000 Received: from unknown (HELO mta03ps.bigpond.com) (144.135.25.135) by sources.redhat.com with SMTP; 8 Aug 2002 11:01:31 -0000 Received: from localhost.localdomain ([144.135.25.75]) by mta03ps.bigpond.com (Netscape Messaging Server 4.15 mta03ps May 23 2002 23:53:28) with SMTP id H0IUMG00.E79; Thu, 8 Aug 2002 21:01:28 +1000 Received: from CPE-144-137-113-26.nsw.bigpond.net.au ([144.137.113.26]) by PSMAM03.mailsvc.email.bigpond.com(MailRouter V3.0n 83/36492257); 08 Aug 2002 21:01:28 Subject: Re: OpenLDAP From: Robert Collins To: Flynn Cc: cygwin@cygwin.com In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-X/JNga0aKrAXqh7ZdDyp" Date: Thu, 08 Aug 2002 04:31:00 -0000 Message-Id: <1028804489.20180.16.camel@lifelesswks> Mime-Version: 1.0 X-SW-Source: 2002-08/txt/msg00613.txt.bz2 --=-X/JNga0aKrAXqh7ZdDyp Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 716 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 Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA9Uk+II5+kQ8LJcoIRAgm3AJ9lxFwp9nZukXOtapknQUg/0SZDoACgovGZ X6PqazE2HbtJR3XBnzMFq1M= =faN7 -----END PGP SIGNATURE----- --=-X/JNga0aKrAXqh7ZdDyp--