php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24361 Apache dies silently on startup
Submitted: 2003-06-27 10:52 UTC Modified: 2003-06-27 11:23 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: tyler at homeworkers dot org Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.3.2 OS: Redhat 7.2 2.4.9-31
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tyler at homeworkers dot org
New email:
PHP Version: OS:

 

 [2003-06-27 10:52 UTC] tyler at homeworkers dot org
Description:
------------
The symptoms are identical to bug #5895.

The web server silently dies when starting.  Disabling php allows the web server to start, re-enabling php then allows the web server to be restarted once after which it will run correctly.  Any further restarts cause the server to die silently again.  No errors are recorded in the error logs.

PHP Compiled with:
./configure --build=i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --mandir=/usr/share/man --infodir=/usr/share/info --prefix=/usr --with-config-file-path=/etc --enable-debug --disable-rpath --enable-inline-optimization --with-bz2 --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-gd --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-mm --with-openssl --with-png --with-regex=system --with-ttf --with-expat-dir=/usr --with-zlib --with-layout=GNU --enable-bcmath --enable-ftp --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --without-oci8 --with-imap-ssl --with-kerberos=/usr/kerberos --with-mysql --with-apxs=/usr/sbin/apxs --with-curl


Actual result:
--------------
In GDB I get the following error:
_dl_lookup_versioned_symbol (undef_name=0x4043639f "xdr_ypdelete_args",
    undef_map=0x8097f08, ref=0xbfffd1bc, symbol_scope=0x80980a4,
    version=0x814aa70, type_class=0, explicit=0) at do-lookup.h:67
67      do-lookup.h: No such file or directory.
        in do-lookup.h

With the following backtrace:
#0  _dl_lookup_versioned_symbol (undef_name=0x4043639f "xdr_ypdelete_args",
    undef_map=0x8097f08, ref=0xbfffd1bc, symbol_scope=0x80980a4,
    version=0x814aa70, type_class=0, explicit=0) at do-lookup.h:67
#1  0x4000b9ec in _dl_relocate_object () at ../sysdeps/i386/dl-machine.h:348
#2  0x40276d19 in dl_open_worker (a=0xbfffd450) at dl-open.c:294
#3  0x4000d7c3 in _dl_catch_error (objname=0xbfffd448, errstring=0xbfffd44c,
    operate=0x40276850 <dl_open_worker>, args=0xbfffd450) at dl-error.c:152
#4  0x40276e6e in _dl_open (
    file=0x809d2b8 "/etc/httpd/modules/mod_auth_mysql.so", mode=-2147483390,
    caller=0x806ead4) at dl-open.c:407
#5  0x4015a375 in dlopen_doit (a=0xbfffd5c0) at dlopen.c:39
#6  0x4000d7c3 in _dl_catch_error (objname=0x8093da8, errstring=0x8093dac,
    operate=0x4015a340 <dlopen_doit>, args=0xbfffd5c0) at dl-error.c:152
#7  0x4015a6fb in _dlerror_run (operate=0x4015a340 <dlopen_doit>,
    args=0xbfffd5c0) at dlerror.c:130
#8  0x4015a326 in __dlopen_check (
    file=0x809d2b8 "/etc/httpd/modules/mod_auth_mysql.so", mode=258)
    at dlopen.c:53
#9  0x0806ead4 in ap_os_dso_load ()
#10 0x0805020c in load_module ()
#11 0x080552a4 in invoke_cmd ()
#12 0x08055a72 in ap_handle_command ()
#13 0x08055ade in ap_srm_command_loop ()
#14 0x08056288 in ap_process_resource_config ()
#15 0x08056a6d in ap_read_config ()
#16 0x080603e0 in standalone_main ()
#17 0x08060de3 in main ()
#18 0x40179647 in __libc_start_main (main=0x8060950 <main>, argc=3,
    ubp_av=0xbffff904, init=0x804f414 <_init>, fini=0x8075830 <_fini>,
    rtld_fini=0x4000dcd4 <_dl_fini>, stack_end=0xbffff8fc)
    at ../sysdeps/generic/libc-start.c:129

Recompiling without -enable-yp had no effect.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-27 10:55 UTC] tyler at homeworkers dot org
Oops.  I clipped the first line of the GDB output:
Program received signal SIGSEGV, Segmentation fault.
 [2003-06-27 11:02 UTC] tyler at homeworkers dot org
It appears to be a conflict between mod_auth_mysql and mod_php.
 [2003-06-27 11:23 UTC] sniper@php.net
You need to build PHP with external mysql client libs
when you plan to use mod_auth_mysql.

--with-mysql=/path/to/mysq/install/prefix

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 00:01:32 2024 UTC