| delorie.com/archives/browse.cgi | search |
| 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 |
| To: | cygwin AT cygwin DOT com |
| X-Injected-Via-Gmane: | http://gmane.org/ |
| Path: | not-for-mail |
| From: | Flynn <flynnieboy AT yahoo DOT com> |
| Newsgroups: | gmane.os.cygwin |
| Subject: | Re: OpenLDAP |
| Date: | Thu, 8 Aug 2002 13:19:04 +0000 (UTC) |
| Lines: | 39 |
| Message-ID: | <aitr48$n82$1@main.gmane.org> |
| References: | <aithvk$is$1 AT main DOT gmane DOT org> <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<Kiv7iK[}$p5DX@?G$V|<U$+BWqi`0[;J?z_Qap{&'|[6"cJ!OEFFENQ#4 |
| X-Face-Author: | Unknown (converted from HP48 Grob) |
Robert Collins <rbcollins AT cygwin DOT com> wrote in
news:1028804489 DOT 20180 DOT 16 DOT camel AT lifelesswks:
<snip>
>> 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
>
<snip>
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |