From owner-freebsd-questions Tue Aug 17 16:57:39 1999 Delivered-To: freebsd-questions@freebsd.org Received: from inet.chip-web.com (c1003518-a.plstn1.sfba.home.com [24.1.82.47]) by hub.freebsd.org (Postfix) with SMTP id 94ABC14D90 for ; Tue, 17 Aug 1999 16:57:28 -0700 (PDT) (envelope-from ludwigp@bigfoot.com) Received: (qmail 11163 invoked from network); 17 Aug 1999 23:58:01 -0000 Received: from speedy.chip-web.com (HELO speedy) (172.16.1.1) by inet.chip-web.com with SMTP; 17 Aug 1999 23:58:01 -0000 Message-Id: <4.2.0.58.19990817165418.00b02d00@toy> X-Sender: ludwigp@toy (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Tue, 17 Aug 1999 16:56:30 -0700 To: Palle Girgensohn From: Ludwig Pummer Subject: Re: How get apache to dump CGI program's core? Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <37B9EE8A.A0DA71BF@partitur.se> References: <37B9462F.252A986A@partitur.se> <37B9EB1A.A9BF87DB@ispro.net.tr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 01:21 AM 8/18/1999 +0200, Palle Girgensohn wrote: >"nobody" has write access to the CoreDumpDirectory (/var/tmp) > >I believe that the problem is that the kernel won't allow cores to be >dumped when the program has changed uid or similar (not sure exactly >what the constraints are). And the whole reason for starting as root is to bind to port 80. Have you tried having the main Listen port be something above 1024 (or 1023?) and removing the setuid bit on httpd? (just a thought. I haven't tried this myself) --Ludwig Pummer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message