httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Leggett" <minf...@sharp.fm>
Subject Weird error: httpd dies with mmap permission denied
Date Tue, 25 Jan 2005 15:08:47 GMT
Hi all,

After building httpd trunk on Fedora Core 3 and installing it, any attempt
at running httpd dies as listed below.

The same version of httpd built on MacOSX works fine.

Can anyone recognise what's going on here and what I should do to fix it?

[root@fosvn01 SPECS]# strace httpd -D
execve("/usr/sbin/httpd", ["httpd", "-D"], [/* 22 vars */]) = 0
uname({sys="Linux", node="fosvn01.scmb.co.za", ...}) = 0
brk(0)                                  = 0x9493000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=52802, ...}) = 0
old_mmap(NULL, 52802, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ff3000
close(3)                                = 0
open("/lib/tls/libm.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0003\0"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=213448, ...}) = 0
old_mmap(NULL, 139424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = -1 EACCES (Permission denied)
close(3)                                = 0
writev(2, [{"httpd", 5}, {": ", 2}, {"error while loading shared
libra"..., 36}, {": ", 2}, {"libm.so.6", 9}, {": ", 2}, {"failed to map
segment from share"..., 40}, {": ", 2}, {"Permission denied", 17}, {"\n",
1}], 10) = 116
exit_group(127)                         = ?

Regards,
Graham
--


Mime
View raw message