From nobody@FreeBSD.org  Thu Jul 17 04:51:01 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 77701106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 17 Jul 2008 04:51:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 627CB8FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 17 Jul 2008 04:51:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m6H4p0mx089722
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 17 Jul 2008 04:51:00 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m6H4p0bh089721;
	Thu, 17 Jul 2008 04:51:00 GMT
	(envelope-from nobody)
Message-Id: <200807170451.m6H4p0bh089721@www.freebsd.org>
Date: Thu, 17 Jul 2008 04:51:00 GMT
From: jorge niedbalski r <niedbalski@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Strange issue on apache load
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         125703
>Category:       ports
>Synopsis:       www/apache13: strange issue on apache load
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 17 05:00:07 UTC 2008
>Closed-Date:    Sat Jul 19 07:38:19 UTC 2008
>Last-Modified:  Sat Jul 19 07:38:19 UTC 2008
>Originator:     jorge niedbalski r
>Release:        7.0
>Organization:
none
>Environment:
FreeBSD saqsaywaman.int.ip6nw.com 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Fri Mar 21 01:03:48 BRT 2008     root@:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
First of all i want to ensure that im not on drugs :)

If someone can explain me this issue:

root@saqsaywaman.int.ip6nw.com#apachectl start
/usr/local/sbin/apachectl start: httpd started

root@saqsaywaman.int.ip6nw.com#tail -f -n 1 /var/log/httpd-error.log
[Sun Jul 13 23:28:31 2008] [notice] caught SIGTERM, shutting down

I can't start apache so i removed the php5 module from config file


root@saqsaywaman.int.ip6nw.com#egrep -e php5_module /usr/local/etc/apache/httpd.conf
LoadModule php5_module        libexec/apache/libphp5.so

Ok , let's to comment the php5_module from config :

root@saqsaywaman.int.ip6nw.com#egrep -e php5_module /usr/local/etc/apache/httpd.conf
#LoadModule php5_module        libexec/apache/libphp5.so

I restarted apache :

root@saqsaywaman.int.ip6nw.com#apachectl start
/usr/local/sbin/apachectl start: httpd started
root@saqsaywaman.int.ip6nw.com#tail -f -n 1 /var/log/httpd-error.log
[Thu Jul 17 00:39:10 2008] [notice] Accept mutex: flock (Default: flock)

Everything looks fine, but  What happens if i back to comment out php5_module from config file ? 

root@saqsaywaman.int.ip6nw.com#egrep -e php5_module /usr/local/etc/apache/httpd.conf
LoadModule php5_module        libexec/apache/libphp5.so

Now a restart

root@saqsaywaman.int.ip6nw.com#apachectl restart
/usr/local/sbin/apachectl restart: httpd restarted

root@saqsaywaman.int.ip6nw.com#tail -f -n 1 /var/log/httpd-error.log            [Thu Jul 17 00:41:27 2008] [notice] Accept mutex: flock (Default: flock)

Voila , everything is working nice with php5 :)

WTF?

root@saqsaywaman.int.ip6nw.com#httpd -v
Server version: Apache/1.3.39 (Unix)
Server built:   Jun 18 2008 19:28:11




>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->ache 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Jul 17 18:17:15 UTC 2008 
Responsible-Changed-Why:  
Make this a ports PR and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125703 
Responsible-Changed-From-To: ache->ale 
Responsible-Changed-By: ache 
Responsible-Changed-When: Fri Jul 18 10:19:04 UTC 2008 
Responsible-Changed-Why:  
Sounds like php5 issue. I can't reproduce it in any case. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125703 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Sat Jul 19 07:36:43 UTC 2008 
State-Changed-Why:  
Unreproduceable without crack ;-) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125703 
>Unformatted:
