From owner-freebsd-ports@FreeBSD.ORG Sun Jun 25 13:25:06 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA9BB16A40A; Sun, 25 Jun 2006 13:25:06 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5663F43D6A; Sun, 25 Jun 2006 13:24:57 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k5PDOh0u022144 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 25 Jun 2006 16:24:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k5PDOhfM081804; Sun, 25 Jun 2006 16:24:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k5PDOfdt081803; Sun, 25 Jun 2006 16:24:41 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 25 Jun 2006 16:24:41 +0300 From: Kostik Belousov To: Clement Laforet Message-ID: <20060625132441.GF79678@deviant.kiev.zoral.com.ua> References: <302F75DC2739FB43B236373398A8C5992950@saturnus.intra.socruel.nu> <20060625121148.GA19208@goofy.cultdeadsheep.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y2zxS2PfCDLh6JVG" Content-Disposition: inline In-Reply-To: <20060625121148.GA19208@goofy.cultdeadsheep.org> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=0.4 required=5.0 tests=ALL_TRUSTED, DNS_FROM_RFC_ABUSE,SPF_NEUTRAL autolearn=no version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on fw.zoral.com.ua Cc: FreeBSD-Ports , freebsd-apache@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Question about Apache2 Port and FreeBSD 6 kernel options X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 13:25:06 -0000 --y2zxS2PfCDLh6JVG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 25, 2006 at 02:11:48PM +0200, Clement Laforet wrote: > 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 > > /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache > > run? > > - in /var/log/messages: Jun 25 12:21:44 lambda.socruel.nu pid 2608 > > (httpd), uid 0: exited on signal 12 (core dumped) >=20 > "Exiting on signal 12" means that httpd tryies to use syscalls=20 > that your kernel doesn't support. I think that the removal of=20 > "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=20 > 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=20 > script catch the lack of SYSVS support. >=20 > regards, > clem I think, doing 'kldload sysvshm' (and, possibly, sysvsem) is much less time-consuming. Cheers. --y2zxS2PfCDLh6JVG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEno6ZC3+MBN1Mb4gRApxjAKC+Kfa3+BPkTEY4g1DUoSFRxrYaHACfbA/f OofOrN/HRk/EP8G2rnQwb8U= =eagF -----END PGP SIGNATURE----- --y2zxS2PfCDLh6JVG--