From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9579 invoked by alias); 28 Jun 2012 14:55:21 -0000 Received: (qmail 9570 invoked by uid 22791); 28 Jun 2012 14:55:20 -0000 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 Received: from vms173003pub.verizon.net (HELO vms173003pub.verizon.net) (206.46.173.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 28 Jun 2012 14:55:05 +0000 Received: from [192.168.1.231] ([unknown] [108.7.54.123]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0M6C00KZU1F5VPO0@vms173003.mailsrvcs.net> for cygwin@cygwin.com; Thu, 28 Jun 2012 09:54:46 -0500 (CDT) Message-id: <4FEC7030.7020702@cygwin.com> Date: Thu, 28 Jun 2012 14:55:00 -0000 From: "Larry Hall (Cygwin)" Reply-to: cygwin@cygwin.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@cygwin.com Subject: Re: problem with fork() and temp dlls References: <24473_1340874479_4FEC1EEF_24473_587_1_B03025C959FD1A4796D42DC68C9C0823046C64DC@wancyexmbx01.ancy.fr.sopra> In-reply-to: <24473_1340874479_4FEC1EEF_24473_587_1_B03025C959FD1A4796D42DC68C9C0823046C64DC@wancyexmbx01.ancy.fr.sopra> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-06/txt/msg00528.txt.bz2 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: -- 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