From owner-freebsd-questions@FreeBSD.ORG Wed Jan 11 21:53:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 238CD106566C for ; Wed, 11 Jan 2012 21:53:56 +0000 (UTC) (envelope-from robert@webtent.org) Received: from mx1.webtent.net (mx1.webtent.net [208.38.145.4]) by mx1.freebsd.org (Postfix) with ESMTP id D81E08FC0A for ; Wed, 11 Jan 2012 21:53:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTP id 35A292E2A0 for ; Wed, 11 Jan 2012 16:53:55 -0500 (EST) Received: from mx1.webtent.net ([127.0.0.1]) by localhost (mx1.webtent.net [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 11041-04-2 for ; Wed, 11 Jan 2012 16:53:54 -0500 (EST) Received: from mail.webtent.org (mail.webtent.org [72.64.244.50]) by mx1.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTP id B7AA02E29A for ; Wed, 11 Jan 2012 16:53:54 -0500 (EST) Received: by mail.webtent.org (Postfix, from userid 27458) id 676AAE168A; Wed, 11 Jan 2012 16:53:54 -0500 (EST) Received: from [192.168.1.67] (unknown [192.168.1.67]) (Authenticated sender: robert@mail.webtent.org) by mail.webtent.org (Postfix) with ESMTPSA id E59EAE06D4; Wed, 11 Jan 2012 16:53:53 -0500 (EST) Message-ID: <4F0E04F0.8050800@webtent.org> Date: Wed, 11 Jan 2012 16:53:52 -0500 From: Robert Fitzpatrick Organization: WebTent Networking, Inc. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Waitman Gobble References: <4F0DEA64.5090807@webtent.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-WebTent-Disclaimer: robert@webtent.org X-Copyrighted-Material: Please visit http://www.webtent.org/privacy.html X-WebTent-ESMTP: Please visit http://www.webtent.com/email for more information X-Virus-Scanned: WebTent Mailguard 1.0.2a Cc: FreeBSD Subject: Re: Apache segmentation fault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2012 21:53:56 -0000 On 1/11/2012 4:39 PM, Waitman Gobble wrote: > sorry, somehow i missed that paragraph about commenting out the other > modules... hope i didn't send you on a wild goose chase for nothing. but > the behavior you describe sounds like what happens running with a > mismatched php.ini... i once tried to narrow down but decided it more > productive to start with a fresh ini file. i believe the problem has to > do with the session config lines. that and the way it handles cgi > variables (see the EPGS section) are the two biggest changes i > noticed. anyway you might check if thats the issue easily by renaming > php.ini.. it should run without it. (at least 5.2 would havent tried 5.3) > if it runs without php.ini then that could be the problem. > by the way you are restarting apache after the changes right? also > verify that the modules listed in httpd.conf exist in the paths specified... > > hope that helps! > > waitman > Thanks for that, found my php.ini was symlink'd to php.ini-recommended, which is now missing. PHP working now, but still no help with the segmentation fault. I have tested my ldap client pkgs and perl-LDAP to work fine, but when I uncomment those modules, I get the fault when restarting apache.... > mail# pwd > /usr/local/etc > mail# cat apache22/httpd.conf|grep ldap > LoadModule authnz_ldap_module libexec/apache22/mod_authnz_ldap.so > LoadModule ldap_module libexec/apache22/mod_ldap.so > mail# cat apache22/httpd.conf | grep ServerRoot > ServerRoot "/usr/local" > mail# cat apache22/httpd.conf | grep ldap > LoadModule authnz_ldap_module libexec/apache22/mod_authnz_ldap.so > LoadModule ldap_module libexec/apache22/mod_ldap.so > mail# ls -lah /usr/local/libexec/apache22/*ldap* > -rwxr-xr-x 1 root wheel 54K Jan 11 12:29 /usr/local/libexec/apache22/mod_authnz_ldap.so > -rwxr-xr-x 1 root wheel 115K Jan 11 12:29 /usr/local/libexec/apache22/mod_ldap.so > mail# rc.d/apache22 restart > Performing sanity check on apache22 configuration: > Syntax OK > Segmentation fault (core dumped) If I comment out the two modules shown, it restarts without issue. -- Robert