httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Stark <st...@tuebingen.mpg.de>
Subject [users@httpd] Apache 1.3.33 segfault when enabling suEXEC _and_ php4_module 4.3.10
Date Mon, 15 Aug 2005 11:51:39 GMT

I get a segfault when I enable both, suEXEC and the php4 module at the same 
time on debian sarge.

By enabling suEXEC I mean putting "User ..." and "Group ..." lines in my 
virtual hosts.

suEXEC itself seems to be fine and also php if I let them run separately.

The error log says nothing, apache probably dies before it can write to the 
log.file.

When I do "sudo strace -f apache 2>&1 | tail -20" I get this (don't know if 
this is of any help):

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40019000
read(3, "# Internet (IP) protocols\n#\n# Up"..., 4096) = 2478
close(3)                                = 0
munmap(0x40019000, 4096)                = 0
open("/usr/share/misc/file/magic.mime", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=30429, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40019000
read(3, "# Magic data for KMimeMagic (ori"..., 4096) = 4096
read(3, "audio/x-dec-basic\n>12\tlelong\t\t5\t"..., 4096) = 4096
read(3, " #!/usr/local/bin/ash    applica"..., 4096) = 4096
read(3, "\\040\\0\t\tapplication/x-tar\tgnu\n\n0"..., 4096) = 4096
read(3, "p Format proposal\n# (best; not y"..., 4096) = 4096
read(3, "--------------------------------"..., 4096) = 4096
read(3, "      0x05\t\n#>8     leshort\t  >0"..., 4096) = 4096
read(3, "#\n0\t\tstring\tMZ\n>24\t\tstring\t@\t\tap"..., 4096) = 1757
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40019000, 4096)                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 455 detached


I am totally puzzled what's going wrong here. I can make apache start when I 
do one of the following:

 - Remove any "User" and "Group" lines from my config
 - Disable PHP

But I need both.

Maybe someone can give me a few hints what I did wrong or if I hit a bug or 
something.


Thanks,
Sebastian

-- 
Sebastian Stark -- http://www.kyb.tuebingen.mpg.de/~stark
Max Planck Institute for Biological Cybernetics

---------------------------------------------------------------------
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


Mime
View raw message