[users@httpd] Apache 1.3.33 segfault when enabling suEXEC _and_ php4_module 4.3.10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux