You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Christopher Crowley <cc...@tulane.edu> on 2002/10/04 17:44:55 UTC

[users@httpd] Apache 1.3.27 with PHP dumps core from "bin/apachectl start" command on Solaris 9

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello -

I am trying to replicate an Apache server that currently runs on
Solaris 8.  That apache installation configures and runs fine with
all of these same options.

Thank you for any insight that you can provide. The biggest
assistance will be in interpretting the truss output.  Someone more
familiar with Apache's inner functioning will probably be able to
look at it and determine exactly where the fault is.

Christopher Crowley
TIS Network Services
Tulane University
ccrowley@tulane.edu
504.314.2535
PGP Key ID: 0x7CF18FDB

<System>
Solaris 9

# # gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/2.95.3/specs
gcc version 2.95.3 20010315 (release)

Apache 1.3.27 ( Note: Apache 1.3.26 didn't work either )  
</System>

<PHP config.status>
CPPFLAGS='-O2 -I/space/src/apache_webmail/openssl-0.9.6g/include
- -I/usr/local/include -I/space/src/im
ap-2002.RC6/src/c-client' \
LDFLAGS='-L/usr/local/lib -L/usr/local/lib/c-client
- -L/usr/local/ssl/lib -llber' \
'./configure' \
'--with-apache=../apache_1.3.27' \
'--with-mysql' \
'--with-imap' \
'--with-zlib' \
'--with-ldap=/usr/local' \
'--with-mm' \
'--with-openssl' \
'--with-gettext' \
'--with-mcal=/space/src/mcal/libmcal' \
'--enable-ftp' \
'--enable-memory-limit=yes' \
'--enable-debug=no' \
</PHP config.status>

<Apache config.status>
./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache_sslr" \
"--enable-module=so" \
"--activate-module=src/modules/php4/libphp4.a" \
"--enable-module=php4" \
"--enable-module=expires" \
</Apache config.status>


<truss output ( truncated: see:
http://www.tulane.edu/~ccrowley/trusshttpd.txt for full output )>
open("/usr/lib/librt.so.1", O_RDONLY)           = 3
fstat(3, 0xFFBFED64)                            = 0
mmap(0xFEFD0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3,
0) = 0xFEFD0000
mmap(0x00000000, 98304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFEDE0000
mmap(0xFEDF6000, 1744, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xFEDF6000
munmap(0xFEDE6000, 65536)                       = 0
resolvepath("/usr/lib/librt.so.1", "/usr/lib/librt.so.1", 1023) = 19
memcntl(0xFEDE0000, 9412, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
open("/usr/lib/libsocket.so.1", O_RDONLY)       = 3
fstat(3, 0xFFBFED64)                            = 0
close(3)                                        = 0
open("/usr/lib/libnsl.so.1", O_RDONLY)          = 3
fstat(3, 0xFFBFED64)                            = 0
close(3)                                        = 0
open("/usr/lib/libdl.so.1", O_RDONLY)           = 3
fstat(3, 0xFFBFED64)                            = 0
close(3)                                        = 0
open("/usr/lib/libc.so.1", O_RDONLY)            = 3
fstat(3, 0xFFBFED64)                            = 0
close(3)                                        = 0
open("/usr/lib/libmd5.so.1", O_RDONLY)          = 3
fstat(3, 0xFFBFED64)                            = 0
mmap(0xFEFD0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3,
0) = 0xFEFD0000
mmap(0x00000000, 81920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFEDC0000
mmap(0xFEDD2000, 456, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 8192) = 0xFEDD2000
munmap(0xFEDC2000, 65536)                       = 0
resolvepath("/usr/lib/libmd5.so.1", "/usr/lib/libmd5.so.1", 1023) =
20
memcntl(0xFEDC0000, 1268, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
open("/usr/lib/libc.so.1", O_RDONLY)            = 3
fstat(3, 0xFFBFED64)                            = 0
close(3)                                        = 0
open("/usr/lib/libaio.so.1", O_RDONLY)          = 3
fstat(3, 0xFFBFED64)                            = 0
mmap(0xFEFD0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3,
0) = 0xFEFD0000
mmap(0x00000000, 106496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xFEDA0000
mmap(0xFEDB8000, 1704, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 32768) = 0xFEDB8000
munmap(0xFEDA8000, 65536)                       = 0
resolvepath("/usr/lib/libaio.so.1", "/usr/lib/libaio.so.1", 1023) =
20
memcntl(0xFEDA0000, 6684, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)                                        = 0
open("/usr/lib/libc.so.1", O_RDONLY)            = 3
fstat(3, 0xFFBFED64)                            = 0
close(3)                                        = 0
open("/usr/lib/libmd5.so.1", O_RDONLY)          = 3
fstat(3, 0xFFBFED64)                            = 0
close(3)                                        = 0
open("/usr/lib/libc.so.1", O_RDONLY)            = 3
fstat(3, 0xFFBFED64)                            = 0
close(3)                                        = 0
open("/usr/lib/libc.so.1", O_RDONLY)            = 3
fstat(3, 0xFFBFED64)                            = 0
close(3)                                        = 0
munmap(0xFEFD0000, 8192)                        = 0
sysconfig(_CONFIG_SEM_VALUE_MAX)                = 2147483647
sysinfo(SI_SRPC_DOMAIN, "tcs", 256)             = 4
open("/var/run/ldap_cache_door", O_RDONLY)      = 3
fcntl(3, F_SETFD, 0x00000001)                   = 0
door_info(3, 0xFEF728D8)                        = 0
door_call(3, 0xFFBFE870)                        = 0
sysinfo(SI_SRPC_DOMAIN, "tcs", 256)             = 4
time()                                          = 1033745677
door_info(3, 0xFFBFB048)                        = 0
door_call(3, 0xFFBFB030)                        = 0
open("/usr/local/etc/openldap/ldap.conf", O_RDONLY) = 5
fstat64(5, 0xFFBFCDB8)                          = 0
fstat64(5, 0xFFBFCC60)                          = 0
ioctl(5, TCGETA, 0xFFBFCD44)                    Err#25 ENOTTY
read(5, " #\n #   L D A P   D e f".., 8192)     = 248
read(5, 0x003EA42C, 8192)                       = 0
llseek(5, 0, SEEK_CUR)                          = 248
close(5)                                        = 0
open("//ldaprc", O_RDONLY)                      Err#2 ENOENT
open("//.ldaprc", O_RDONLY)                     Err#2 ENOENT
open("ldaprc", O_RDONLY)                        Err#2 ENOENT
so_socket(PF_INET, SOCK_STREAM, IPPROTO_IP, "", 1) = 5
setsockopt(5, 6, TCP_NODELAY, 0xFFBFCC00, 4, 1) = 0
connect(5, 0xFFBFCC08, 16, 1)                   = 0
time()                                          = 1033745677
write(5, " 0 <020101 ` 702010204 )".., 62)      = 62
time()                                          = 1033745677
sysconfig(_CONFIG_OPEN_FILES)                   = 256
poll(0xFFBFC6B8, 1, 30000)                      = 1
read(5, " 0\f020101 a07\n01\004\0".., 8192)     = 14
time()                                          = 1033745677
    Incurred fault #5, FLTACCESS  %pc = 0xFEE1A658
      siginfo: SIGBUS BUS_ADRALN addr=0x00000021
    Received signal #10, SIGBUS [default]
      siginfo: SIGBUS BUS_ADRALN addr=0x00000021
</truss ouput>

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBPZ23cs0q7cR88Y/bEQI2zgCgkgGq5UEeCG3nbdbOsUXi/C4HkdAAoLVj
YcYau0UO/i5LMbarvH15im+D
=id9k
-----END PGP SIGNATURE-----



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org