www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=3.4 required=5.0 tests=AWL,BAYES_05,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
Message-id: | <4FEC7030.7020702@cygwin.com> |
Date: | Thu, 28 Jun 2012 10:54:40 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-to: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 |
MIME-version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: problem with fork() and temp dlls |
References: | <24473_1340874479_4FEC1EEF_24473_587_1_B03025C959FD1A4796D42DC68C9C0823046C64DC AT wancyexmbx01 DOT ancy DOT fr DOT sopra> |
In-reply-to: | <24473_1340874479_4FEC1EEF_24473_587_1_B03025C959FD1A4796D42DC68C9C0823046C64DC@wancyexmbx01.ancy.fr.sopra> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
On 6/28/2012 5:08 AM, Lenci Damien wrote: > Hello, > > I am currently trying to port Nagios on Cygwin and I'm having a issue (among others ^^) when trying to use modules. > Here is how Nagios loads modules : > > - Create a temporary file using mkstemp() > - Copy module into this temp file > - Load module from temp file with dlopen() > - Delete temp file (on startup, not when nagios process is terminated) > > Here is the problem message : > > 0 [main] nagios 3624 child_info_fork::abort: unable to map XXXXXXXX\var\nagios\spool\checkresults\nebmodE56bUw, Win32 error 126 > > Sometimes return code(I think this is the return code) is 1 : > > 1 [main] nagios 2364 child_info_fork::abort: unable to map XXXXXXXX\var\nagios\spool\checkresults\nebmodE56bUw, Win32 error 126 Looks like fork problems to me. Perhaps you need to rebase the DLLs you're building? See the link below for more info: <http://cygwin.com/faq-nochunks.html#faq.using.fixing-fork-failures> -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |