php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3507 Can not start apache after successful compile
Submitted: 2000-02-16 20:46 UTC Modified: 2002-10-01 14:28 UTC
From: benp at dtgroup dot com Assigned:
Status: Wont fix Package: Reproducible Crash
PHP Version: 3.0.14 OS: Linux 2.2.12-29
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: benp at dtgroup dot com
New email:
PHP Version: OS:

 

 [2000-02-16 20:46 UTC] benp at dtgroup dot com
Oracle 8.1.5 all current patches
Apache 1.3.9

Note that doing the same thing without oracle works fine.
This is what didn't work.

1) Stop httpd

2) Edit /usr/sbin/apxs

3)complile php3 by:
./configure --with-apxs=/usr/sbin/apxs --with-oracle
make
make install

4) When I restart apache it immediately core dumps.

I run gdb on the core and get this as the backtrace:

#0  0x2b2a4944 in ?? ()
#1  0x2b2f4dd9 in _nss_nis_gethostbyname2_r (name=0x80bec0c "savos.dtgroup.com", af=2, 
    host=0x2ac3b7e4, buffer=0x80bbcd0 "\177", buflen=1024, errnop=0x2ac39720, 
    h_errnop=0x7fffda84) at nss_nis/nis-hosts.c:254
#2  0x2b2f57a1 in _nss_nis_gethostbyname_r (name=0x80bec0c "savos.dtgroup.com", 
    host=0x2ac3b7e4, buffer=0x80bbcd0 "\177", buflen=1024, errnop=0x2ac39720, 
    h_errnop=0x7fffda84) at nss_nis/nis-hosts.c:339
#3  0x2ac0e87f in __gethostbyname_r (name=0x80bec0c "savos.dtgroup.com", resbuf=0x2ac3b7e4, 
    buffer=0x80bbcd0 "\177", buflen=1024, result=0x7fffda80, h_errnop=0x7fffda84)
    at ../nss/getXXbyYY_r.c:182
#4  0x2ac0d814 in gethostbyname (name=0x80bec0c "savos.dtgroup.com") at ../nss/getXXbyYY.c:137
#5  0x8060b0e in ap_init_vhost_config ()
#6  0x8060bef in ap_parse_vhost_addrs ()
#7  0x8053c21 in ap_init_virtual_host ()
#8  0x8055f15 in ap_exists_config_define ()
#9  0x80532fc in ap_clear_module_list ()
#10 0x805350c in ap_handle_command ()
#11 0x8053558 in ap_srm_command_loop ()
#12 0x80538c7 in ap_process_resource_config ()
#13 0x8053f44 in ap_read_config ()
#14 0x805ae47 in ap_child_terminate ()
#15 0x805b4fb in main ()
#16 0x2ab621fb in __libc_start_main (main=0x805b290 <main>, argc=2, argv=0x7ffffd54, 
    init=0x804e684 <_init>, fini=0x80794ec <_fini>, rtld_fini=0x2aab5610 <_dl_fini>, 
    stack_end=0x7ffffd4c) at ../sysdeps/generic/libc-start.c:90




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 14:28 UTC] hholzgra@php.net
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC