Bug 125703

Summary: www/apache13: strange issue on apache load
Product: Ports & Packages Reporter: Jorge Niedbalski R. <niedbalski>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jorge Niedbalski R. 2008-07-17 06:00:07 UTC
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-07-17 19:17:15 UTC
Responsible Changed
From-To: freebsd-bugs->ache

Make this a ports PR and assign.
Comment 2 Andrey A. Chernov freebsd_committer freebsd_triage 2008-07-18 11:19:04 UTC
Responsible Changed
From-To: ache->ale

Sounds like php5 issue. I can't reproduce it in any case.
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2008-07-19 08:36:43 UTC
State Changed
From-To: open->closed

Unreproduceable without crack ;-)