Re: [users@httpd] Corrupted source files

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

 



>>> write(7, "h\347\16\10\0\0\0\0\320\355\16\0108\362\16\10@\372\16\10"..., 156) = 156
>>> writev(16, [{NULL, 135209656},
>>> {"@*\26\10\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\1\0\0\0LoadMo"..., 135211888}], 2) = 463

>> Looks pretty ordinary except for the above two lines.  Can you try to
>> figure out what the descriptor 7 is pointing to, and when it is
>> getting opened.  16 is obviously the network connection, but it seems
>> like there is garbage getting written to it.

> Sorry, but how do I find out? Is this the NODE column of lsof output?
> If it is, than here's what I see:
> ====- 8< -===================================================
> # lsof | grep " 7 "
> su         1005    root  cwd   VDIR       0,71        512       7 /root
> su        41683    root  cwd   VDIR       0,71        512       7 /root
> csh       41684    root  cwd   VDIR       0,71        512       7 /root
> su        57674    root  cwd   VDIR       0,71        512       7 /root
> # lsof | grep " 16 "
> lsof      47656    root  txt   VREG       0,71      21836      16 /lib/libkvm.so.3

> ====- 8< -===================================================

>> These are both associated with the favicon request.  You might try a
>> manual request (not from a browser) to just the index2.html file to
>> see if it still gets corrupted.  If not, it is probably your 404 error
>> handler that is mangling things.

Also, I've tried requesting index2.html from the other browser that doesn't ask for favicon.ico:
====- 8< -===================================================
accept(3, {sa_family=AF_INET6, sin6_port=htons(1936), inet_pton(AF_INET6, "::ffff:10.10.10.10", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 16
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
fcntl(16, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
read(16, "GET /index2.html HTTP/1.1\r\nAccep"..., 8000) = 253
gettimeofday({706755188, 168634927}, NULL) = 0
stat("/usr/local/www/apache22/data/index2.html", {st_mode=0, st_size=0, ...}) = 0
getpid()                                = 61292 (ppid 61291)
open("/usr/local/www/apache22/data/index2.html", O_RDONLY) = 17
syscall_393(0x11, 0x10, 0, 0, 0x24f, 0xbfbfc660, 0xbfbfc658, 0) = 0
read(16, 0x8181028, 8000)               = -1 EAGAIN (Resource temporarily unavailable)
write(8, "10.10.10.10 - - [24/Sep/2006:17:"..., 138) = 138
close(17)                               = 0
poll([{fd=893007925, events=POLLIN|POLLHUP|POLLNVAL|0x2000, revents=POLLIN|POLLOUT|POLLERR|POLLNVAL|0x3000}], 1, 5000) = 0
gettimeofday({1563439156, 1162289696}, NULL) = 0
shutdown(16, 1 /* send */)              = 0
poll([{fd=1764696148, events=POLLPRI|POLLOUT|POLLRDNORM|POLLERR|POLLNVAL|0x6400, revents=POLLIN|POLLOUT|POLLRDNORM|POLLNVAL|0x7800}], 1, 2000) = 0
close(16)                               = 0
read(5, 0xbfbfeb53, 1)                  = -1 EAGAIN (Resource temporarily unavailable)
accept(3,

====- 8< -===================================================
File still gets corrupted. :-/

I've tried installing Apache 1.3 and it doesn't seem to have such a problem.


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