httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Star <gro...@victorstar.com>
Subject Re: [users@httpd] Corrupted source files
Date Sun, 24 Sep 2006 21:35:18 GMT
Hi Joshua,

> Change your Listen directive to a port over 1024 and then strace after
> starting from a non-root account.

I've tried this one as well, finally made it work after fiddling with permissions.
Here is the log (looks the same as the previous one):
====- 8< -===================================================
42061 accept(3, {sa_family=AF_INET6, sin6_port=htons(1697), inet_pton(AF_INET6, "::ffff:10.10.10.10",
&sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 16
42061 getsockname(16, {sa_family=AF_INET6, sin6_port=htons(1024), inet_pton(AF_INET6, "::ffff:10.10.10.60",
&sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
42061 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
42061 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
42061 break(0x817d000)                  = 0
42061 break(0x817f000)                  = 0
42061 read(16, "GET /index2.html HTTP/1.1\r\nUser-"..., 8000) = 585
42061 gettimeofday({1852139329, 1293957748}, NULL) = 0
42061 stat("/usr/local/www/apache22/data/index2.html", {st_mode=0, st_size=0, ...}) = 0
42061 getpid()                          = 42061 (ppid 42060)
42061 open("/usr/local/www/apache22/data/index2.html", O_RDONLY) = 17
42061 issetugid(0)                      = 0
42061 open("", O_RDONLY)                = -1 ENOENT (No such file or directory)
42061 issetugid(0)                      = 0
42061 open("", O_RDONLY)                = 18
42061 fstat(18, {st_mode=0, st_size=0, ...}) = 0
42061 read(18, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 7944) = 1267
42061 close(18)                         = 0
42061 break(0x8181000)                  = 0
42061 break(0x8183000)                  = 0
42061 syscall_393(0x11, 0x10, 0, 0, 0x202, 0xbfbfc660, 0xbfbfc658, 0) = 0
42061 read(16, 0x817d028, 8000)         = -1 EAGAIN (Resource temporarily unavailable)
42061 write(8, "10.10.10.10 - - [24/Sep/2006:17:"..., 153) = 153
42061 close(17)                         = 0
42061 poll([{fd=0, events=0}], 1, 5000) = 1
42061 read(16, "GET /favicon.ico HTTP/1.1\r\nUser-"..., 8000) = 628
42061 gettimeofday({1852139329, 1293957748}, NULL) = 0
42061 stat("/usr/local/www/apache22/data/favicon.ico", 0xbfbfe8d0) = -1 ENOENT (No such file
or directory)
42061 lstat("/usr", {st_mode=0, st_size=0, ...}) = 0
42061 lstat("/usr/local", {st_mode=0, st_size=0, ...}) = 0
42061 lstat("/usr/local/www", {st_mode=0, st_size=0, ...}) = 0
42061 lstat("/usr/local/www/apache22", {st_mode=0, st_size=0, ...}) = 0
42061 lstat("/usr/local/www/apache22/data", {st_mode=0, st_size=0, ...}) = 0
42061 lstat("/usr/local/www/apache22/data/favicon.ico", 0xbfbfe8d0) = -1 ENOENT (No such file
or directory)
42061 getpid()                          = 42061 (ppid 42060)
42061 gettimeofday({135186120, 135186712}, NULL) = 0
42061 write(7, "8\317\16\10\0\0\0\0\0\0\0\0\0\0\0\0h\347\16\10\0\0\0\0"..., 161) = 161
42061 break(0x8185000)                  = 0
42061 writev(16, [{"P\372\16\10\220\372\16\10\320\372\16\10`\372\16\10\30\300"..., 135200072},
{NULL, 135201768}], 2) = 463
42061 read(16, 0x817b028, 8000)         = -1 EAGAIN (Resource temporarily unavailable)
42061 write(8, "10.10.10.10 - - [24/Sep/2006:17:"..., 184) = 184
42061 poll([{fd=0, events=0}], 1, 5000) = 0
42061 gettimeofday({0, 0}, NULL)        = 0
42061 shutdown(16, 1 /* send */)        = 0
42061 poll([{fd=0, events=0}], 1, 2000) = 1
42061 read(16, "", 512)                 = 0
42061 close(16)                         = 0
42061 read(5, 0xbfbfeb53, 1)            = -1 EAGAIN (Resource temporarily unavailable)
42061 accept(3, 
====- 8< -===================================================



-- 
Best regards,
 Victor


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