Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Flynn Newsgroups: gmane.os.cygwin Subject: Re: OpenLDAP Date: Thu, 8 Aug 2002 13:19:04 +0000 (UTC) Lines: 39 Message-ID: References: <1028804489 DOT 20180 DOT 16 DOT camel AT lifelesswks> NNTP-Posting-Host: alyon-209-2-3-175.abo.wanadoo.fr X-Trace: main.gmane.org 1028812744 23810 193.251.9.175 (8 Aug 2002 13:19:04 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Thu, 8 Aug 2002 13:19:04 +0000 (UTC) User-Agent: Xnews/5.04.25 X-Face: %YZW{O,=8}8dJM5 AT D|N9/SBt[Zw@!^m5ztZzNtSEXU{.8Oom5=NIIo)gNag?a_}&FGYYf*@N&G(Hr$a3j#nCVi?(6!_Y6-!o)%sY.KsC'D@)U^Fl.N,wd|gyW6,/k\":)IqdmNH#R1e%'j0u wrote in news:1028804489 DOT 20180 DOT 16 DOT camel AT lifelesswks: >> 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. >> >> >> 1) >> In order to run it as a service, I need to specify "-d 0" as a slapd >> parameter. The result is that after some commands, NT/2000 eventlog >> is full. If I remove the parameter, the program fails to launch as a >> service > . >> >> 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 > Thanks a lot for solving my first problem. Any idea about the second one ? If I shut down the service ("net stop slapd"), before shutting down the server, everything seems to be fine. Is the SIGTERM I use too "powerful" ? Maybe it kills the service instead of telling it to end properly. Flynn. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/