php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9021 Couldn't get apache started. No bugs shown, nothing in the logs.
Submitted: 2001-01-31 01:06 UTC Modified: 2001-03-16 16:49 UTC
From: ggeorgiev at ikode dot com Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.3pl1 OS: Linux Slackware 7.1
Private report: No CVE-ID: None
 [2001-01-31 01:06 UTC] ggeorgiev at ikode dot com
Problem with oci8 module. When PHP compiled as DSO - apache couldn't run (no bugs reported, nothing in log files - just once - exiting status of httpd childs - sig11 - SIGSEGV). Oracle version - 8.1.6 Enterprise edition (8i) -successfuly working, libs - in /usr/lib; Apache - 1.3.9.
----------------------------------------------------
Configure lines ($ORACLE_HOME is set!):
./configure --with-oci8 --without-mysql --enable-sigchild --with-apxs=apxs_dir
----------------------------------------------------
php.ini is placed in /usr/local/lib and is the same as php.ini-dist in php instalation directory
----------------------------------------------------
No anything special when setting up php or apache
----------------------------------------------------
GDB info:
..........................................................................................................................................
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run -X
Starting program: /var/lib/apache/sbin/./httpd -X
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
 
Program received signal SIGSEGV, Segmentation fault.
0x407c737c in ?? ()
(gdb) bt
#0  0x407c737c in ?? ()
#1  0x401367fe in xdr_uint8_t () from /lib/libc.so.6
#2  0x40136685 in xdr_uint8_t () from /lib/libc.so.6
#3  0x401228e6 in gethostbyname_r () from /lib/libc.so.6
#4  0x40121940 in gethostbyname () from /lib/libc.so.6
#5  0x401c0bd5 in ?? () from /var/lib/apache/libexec/mod_jserv.so
#6  0x401bb628 in ?? () from /var/lib/apache/libexec/mod_jserv.so
#7  0x8054978 in invoke_cmd ()
#8  0x80552ea in ap_handle_command ()
#9  0x8055380 in ap_srm_command_loop ()
#10 0x805577c in ap_process_resource_config ()
#11 0x805a02d in include_config ()
#12 0x8054978 in invoke_cmd ()
#13 0x80552ea in ap_handle_command ()
#14 0x8055380 in ap_srm_command_loop ()
#15 0x805577c in ap_process_resource_config ()
#16 0x805603e in ap_read_config ()
#17 0x805f619 in standalone_main ()
#18 0x805fe73 in main ()
#19 0x4007e2e7 in __libc_start_main () from /lib/libc.so.6
............................................................................................................................................

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-01 21:22 UTC] sniper@php.net
Is your apache linked with -lpthread ? If not, add -lpthread into the 
Apache src/Makefile:

LIBS1=-lpthread 

(there are other libs also so just add the -lpthread in front of them)

# make clean ; make ; make install

--Jani

 [2001-03-16 16:49 UTC] sniper@php.net
No feedback. Check www.php.net/oci8 for more info.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 03:01:29 2024 UTC