From owner-freebsd-apache@FreeBSD.ORG Sun Jun 25 14:01:20 2006 Return-Path: X-Original-To: freebsd-apache@freebsd.org Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9761F16A402; Sun, 25 Jun 2006 14:01:20 +0000 (UTC) (envelope-from lars@socruel.nu) Received: from gone.xs4all.nl (gone.xs4all.nl [213.84.247.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B81943D45; Sun, 25 Jun 2006 14:01:19 +0000 (GMT) (envelope-from lars@socruel.nu) Received: from saturnus.intra.socruel.nu (saturnus.intra.socruel.nu [172.16.0.12]) by gone.xs4all.nl (Postfix) with ESMTP id 9D14133C1C; Sun, 25 Jun 2006 16:01:18 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message Date: Sun, 25 Jun 2006 16:01:18 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <302F75DC2739FB43B236373398A8C5992951@saturnus.intra.socruel.nu> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Question about Apache2 Port and FreeBSD 6 kernel options Thread-Index: AcaYUJhFILrZWHE+S/2SLK3njGZxdAADlqwg From: "Lars Wittebrood" To: "Clement Laforet" Cc: freebsd-apache@freebsd.org, freebsd-ports@freebsd.org Subject: RE: Question about Apache2 Port and FreeBSD 6 kernel options X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 14:01:20 -0000 -----Original Message----- From: owner-freebsd-ports@freebsd.org [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Clement Laforet Sent: Sunday, June 25, 2006 2:12 PM To: FreeBSD-Ports Cc: freebsd-apache@freebsd.org; freebsd-ports@freebsd.org Subject: Re: Question about Apache2 Port and FreeBSD 6 kernel options On Sun, Jun 25, 2006 at 01:41:20PM +0200, FreeBSD-Ports wrote: > Hi, >=20 > Today I installed a custom kernel from 6.1-RELEASE-p1 source and after > that Apache2 will not start anymore. It segfaults when starting. After > making and installing a GENERIC kernel Apache does start and runs fine! > The Apache errors I got are: >=20 > - in httpd_error.log: Sun Jun 25 12:21:44 2006] [warn] pid file=20 > /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache=20 > run? > - in /var/log/messages: Jun 25 12:21:44 lambda.socruel.nu pid 2608=20 > (httpd), uid 0: exited on signal 12 (core dumped) "Exiting on signal 12" means that httpd tryies to use syscalls that your kernel doesn't support. I think that the removal of "options SYSYV*" is the cause of your problem. Could you please tries those 2 tests to confirms this? 1. rebuild a custom kernel, named TEST, which is the same as your custom one, except you keep SYSVS* options. Then boot on it, and test if httpd starts properly. 2.=20 Rebuild apache when you run your custom kernel to see if configure script catch the lack of SYSVS support. regards, Clem Hi Clem, Did the first test, build a custom kernel but now with the 3 SYSV memory options, and Apache2 has started ok with this and is running ok now. So the SYSV memory options are needed and were causing the problem. Is the second test also needed because I have to go back to the wrong kernel to test that I guess? Thanx for your help. Regards, Lars Wittebrood.