PHP 4.0 Bug #5243 Updated: Could not start apache 1.3.12 Returncode 3
| From: | sniper@php.net | Date: | Mon, 18 Dec 2000 16:13:03 +0000 |
| Subject: | PHP 4.0 Bug #5243 Updated: Could not start apache 1.3.12 Returncode 3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41775@lists.php.net to get a copy of this message | ||
ID: 5243
Updated by: sniper
Reported By: alf.nicolaysen@gmx.de
Old-Status: Open
Status: Feedback
Bug Type: Reproduceable crash
Assigned To:
Comments:
Does this happen with latest snapshot from http://snaps.php.net/
??
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-08-30 04:56:20] alf.nicolaysen@gmx.de
Okay, started once again with the yesterday released php4.0.2 and apache_1.3.12:
CC='gcc' ./configure --with-apxs=/opt/apache/bin/apxs --prefix=/usr --without-mysql
then
make and
make install
Once again I got a coredump, where the debugger output you can see below.. It is always in function
php_if_apache_lookup_uri. What is the trick??
# dbx ./httpd
Geben Sie 'help' ein, um die Hilfefunktion aufzurufen.
Symbolische Informationen werden gelesen...Warnung: Es wurde kein Quellenwert mit -g kompiliert.
[Hauptspeicherabbild in core wird verwendet]
Segmentation fault in php_if_apache_lookup_uri at 0xd12596f8
0xd12596f8 (php_if_apache_lookup_uri+0x4d8) 800c0000 lwz r0,0x0(r12)
(dbx) where
php_if_apache_lookup_uri() at 0xd12596f8
php_create_dir(??, ??) at 0xd125aadc
ap_single_module_configure(0x2001f6e8, 0x2001f710, 0x2006e2d0) at 0x1002fe84
load_module(0x2ff22a08, 0x0, 0x20020d40, 0x20020d50) at 0x1007d354
invoke_cmd(0x20015f58, 0x2ff22a08, 0x0, 0x2ff209e0) at 0x1002d2fc
ap_handle_command(0x2ff22a08, 0x200202a0, 0x2ff209b0) at 0x1002e510
ap_srm_command_loop(0x2ff22a08, 0x200202a0) at 0x1002ff24
ap_process_resource_config(0x2001f710, 0x20020be0, 0x2001f6e8, 0x20023728) at 0x1002ef88
ap_read_config(0x2001f6e8, 0x20023728, 0x20005598) at 0x1002fd78
http_main.main(0x1, 0x2ff22c00) at 0x10000714
---------------------------------------------------------------------------
[2000-08-29 11:49:30] dshafer@php.net
There are known problems with the distributed MySQL source and AIX. Try configuring either without
the included MySQL support (--without-mysql) or with a known working MySQL installation
(--with-mysql=DIR) to bypass the MySQL errors.
---------------------------------------------------------------------------
[2000-08-29 06:40:09] alf.nicolaysen@gmx.de
Once again I tried to compile the php on a brand new installed 4.3.3 machine with a new compiled
apache 1.3.12 and gcc.
Here is the output of the compile:
# CC='gcc' ./configure --with-apxs=/opt/apache/bin/apxs --prefix=/usr
# make
.
.
.
Making all in libmysql
/bin/sh /usr/sys/inst.images/php4-200008202145/libtool --silent --mode=compile gcc -I.
-I/usr/sys/inst.images/php4-200008202145/ext/mysql/libmysql -I/usr/sys/inst.images/php4-200008202145
-I/usr/sys/inst.images/php4-200008202145/main -I/opt/apache/include
-I/usr/sys/inst.images/php4-200008202145/Zend -I/usr/sys/inst.images/php4-200008202145
-I/usr/sys/inst.images/php4-200008202145/ext/mysql/libmysql
-I/usr/sys/inst.images/php4-200008202145/ext/xml/expat/xmltok
-I/usr/sys/inst.images/php4-200008202145/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -O2 -c
libmysql.c
In file included from libmysql.c:11:
global.h:484: conflicting types for `int8'
/usr/include/sys/inttypes.h:622: previous declaration of `int8'
global.h:485: warning: redefinition of `int16'
/usr/include/sys/inttypes.h:623: warning: `int16' previously declared here
global.h:495: warning: redefinition of `int32'
/usr/include/sys/inttypes.h:624: warning: `int32' previously declared here
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
---------------------------------------------------------------------------
[2000-08-25 01:59:41] alf.nicolaysen@gmx.de
Yes, I started the apache as root. The strace under AIX is not the same as under LINUX, so that
won´t help. E-Mailed instead the output from sctrace, which is a system-Call tracer for AIX
---------------------------------------------------------------------------
[2000-08-24 06:25:28] alf.nicolaysen@gmx.de
Yes, even with the above mentioned version of php and a new compiled apache1.3.12 I am back at the
first entry of this bug report:
# /opt/apache_php/bin/apachectl start
/opt/apache_php/bin/apachectl start: httpd could not be started
# echo $?
3
No entries in error_log, even in debug mode. Sorry, no further details I can deliver. If you have
some hints for debugging the (not)starting of the apache, I would appreciate.
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=5243