Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2008 04:51:00 GMT
From:      jorge niedbalski r <niedbalski@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/125703: Strange issue on apache load
Message-ID:  <200807170451.m6H4p0bh089721@www.freebsd.org>
Resent-Message-ID: <200807170500.m6H507WH025158@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125703
>Category:       misc
>Synopsis:       Strange issue on apache load
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 17 05:00:07 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807170451.m6H4p0bh089721>