#15439 [Opn->Fbk]: PHP hangs web server when started
| From: | iliaa@php.net | Date: | Sun, 20 Oct 2002 06:45:45 +0000 |
| Subject: | #15439 [Opn->Fbk]: PHP hangs web server when started | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22877@lists.php.net to get a copy of this message | ||
ID: 15439
Updated by: iliaa@php.net
Reported By: cboyce45@yahoo.com
-Status: Open
+Status: Feedback
Bug Type: iPlanet related
Operating System: AIX 4.3.3
PHP Version: 4.0.6
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-02-28 09:13:32] lbalbalba@hotmail.com
I have the same problem, on the same platform using the same PHP
version, and reproducible for PHP 4.1.1 and 4.1.2 as well.
libphp4.so *is* made, but strangely enough its located in the '.libs'
directory instead of 'libs', which 'make install' chokes on. I used the
following work around for the 'make-install' issue (cp ./.libs/*
./libs), but then the server choked on server-startup.
I got some more information when I discovered that in my case, iPlanet
is recieving signal 11/segmentation fault and trying to dump core when
it 'hangs'. It's the uxwdog process that restarts it/keeps it from
crashing, giving the impression that the server is 'frozen'.
In order to get a core file and some more info:
Make sure the account you are running the server as, can write to
"/usr/netscape/server4/https-<servername>/config/core". By default, the
core file should be located there. Make sure that the filesystem this
dir is in has enough space for a corefile.
Make sure there is no limit set for dumping core for the user-id the
server is running under, by checking the users stanza in
'/etc/security/limits' (set core=-1).
start the httpd manually (instead of using the 'start' script) by
doing:
cd /usr/netscape/server4/bin/https/bin
./ns-httpd -d /usr/netscape/server4/https-servername>/config
Also, check the aix error log for messages by doing:
errpt -a | more
If you are running syslog, check that logfile too for messages from
uxwdog.
------------------------------------------------------------------------
[2002-02-08 21:28:19] cboyce45@yahoo.com
I tried to compile php 4.1.1 before I used 4.0.6, but 4.1.1 would run
through the ./configure, and make, and fail on make install. It would
not make libphp4.so where 4.0.6 had no problem making libphp4.so.
Thanks,
Chris
------------------------------------------------------------------------
[2002-02-07 21:56:28] yohgaki@php.net
The version of PHP that this bug was reported in is too old. Please
try to reproduce this bug in the latest version of PHP (available
from http://www.php.net/downloads.php
If you are still able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
------------------------------------------------------------------------
[2002-02-07 17:25:59] cboyce45@yahoo.com
The web server hangs when you go to a page, almost seems like a loop
and does not seem to time out. When php is commented out in obj.conf,
magnus.com, and mime.types the webserver works fine.
I am using iPlanet 4.1 SP9, on AIX 4.3.3
I have downloaded and installed gcc, bison, flex, autoconf, automake,
make and many others from freeware.bull.net
export PATH=/usr/local/bin:$PATH:/usr/vac/bin:/usr/ccs/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
PHP 4.0.6 compile line
CC=gcc ./configure --without-mysql \
--with-nsapi=/usr/netscape/server4 \
--with-dbm \
--with-gdbm \
--enable-libgcc
compiles fine, i used dump -n to see the libpthread was included. I
have even tried to compile this without dbm and gdbm support and still
the same problem.
Thanks for any help,
Chris
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15439&edit=1