bad mod_userdir behavior

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

 



All,

I have two nearly identical servers, running nearly identical httpd
configs.  I've ensured that all apache files and associated libraries
are identical.  Whenever I browse to odin/~userdir, the browser just
hangs.  I've checked ownership, permissions, attrs.  selinux is
disabled.

Here are some straces, odin being the roblematic box, and hugin being
the properly operating box.

Shawn

===ODIN=======
accept(3, {sa_family=AF_INET6, sin6_port=htons(50704),
inet_pton(AF_INET6, "::ffff:10.100.243.73", &sin6_addr),
sin6_flowinfo=0, sin6_scope_id=0}, [68719476764]) = 9
getsockname(9, {sa_family=AF_INET6, sin6_port=htons(9595),
inet_pton(AF_INET6, "::ffff:10.100.244.35", &sin6_addr),
sin6_flowinfo=0, sin6_scope_id=0}, [68719476764]) = 0
fcntl(9, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(9, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
read(9, "GET /~shood HTTP/1.1\r\nHost: odin"..., 8000) = 442
open("/etc/passwd", O_RDONLY)           = 10
fcntl(10, F_GETFD)                      = 0
fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
fstat(10, {st_mode=S_IFREG|0644, st_size=2158, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2a95586000
read(10, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2158
read(10, "", 4096)                      = 0
close(10)                               = 0
munmap(0x2a95586000, 4096)              = 0
futex(0x2a9a401f40, FUTEX_WAIT, 2, NULL
===============


===HUGIN=======
accept(3, {sa_family=AF_INET6, sin6_port=htons(50685),
inet_pton(AF_INET6, "::ffff:10.100.243.73", &sin6_addr),
sin6_flowinfo=0, sin6_scope_id=0}, [68719476764]) = 10
getsockname(10, {sa_family=AF_INET6, sin6_port=htons(9595),
inet_pton(AF_INET6, "::ffff:10.100.244.38", &sin6_addr),
sin6_flowinfo=0, sin6_scope_id=0}, [68719476764]) = 0
fcntl(10, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(10, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
read(10, 0x552af0af08, 8000)            = -1 EAGAIN (Resource
temporarily unavailable)
poll([{fd=10, events=POLLIN, revents=POLLIN}], 1, 120000) = 1
read(10, "GET /~cmacdonald/ HTTP/1.1\r\nHost"..., 8000) = 418

stat("/home/cmacdonald/public_html/", {st_mode=S_IFDIR|0751,
st_size=4096, ...}) = 0
stat("/home/cmacdonald/public_html/index.html", {st_mode=S_IFREG|0644,
st_size=12, ...}) = 0
open("/home/cmacdonald/public_html/index.html", O_RDONLY) = 11
mmap(NULL, 12, PROT_READ, MAP_SHARED, 11, 0) = 0x2a9558b000
writev(10, [{"HTTP/1.1 200 OK\r\nDate: Fri, 21 M"..., 268}, {"hello
world\n", 12}], 2) = 280
munmap(0x2a9558b000, 12)                = 0
write(9, "10.100.243.73 - - [21/Mar/2008:1"..., 186) = 186
shutdown(10, 1 /* send */)              = 0
poll([{fd=10, events=POLLIN, revents=POLLIN|POLLHUP}], 1, 2000) = 1
read(10, "", 512)                       = 0
close(10)                               = 0
read(4, 0x7fbffff20f, 1)                = -1 EAGAIN (Resource
temporarily unavailable)
close(11)                               = 0
accept(3, {sa_family=AF_INET6, sin6_port=htons(50686),
inet_pton(AF_INET6, "::ffff:10.100.243.73", &sin6_addr),
sin6_flowinfo=0, sin6_scope_id=0}, [68719476764]) = 10
getsockname(10, {sa_family=AF_INET6, sin6_port=htons(9595),
inet_pton(AF_INET6, "::ffff:10.100.244.38", &sin6_addr),
sin6_flowinfo=0, sin6_scope_id=0}, [68719476764]) = 0
fcntl(10, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(10, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
read(10, "GET /favicon.ico HTTP/1.1\r\nHost:"..., 8000) = 337
stat("/extra/coderyte/www/nlp/htdocs/favicon.ico",
{st_mode=S_IFREG|0660, st_size=318, ...}) = 0
open("/extra/coderyte/www/nlp/htdocs/favicon.ico", O_RDONLY) = 11
read(11, "\0\0\1\0\1\0\20\20\20\0\0\0\0\0(\1\0\0\26\0\0\0(\0\0\0\20\0\0\0
\0"..., 4096) = 318
open("/extra/coderyte/www/nlp/htdocs/favicon.ico", O_RDONLY) = 12
setsockopt(10, SOL_TCP, TCP_CORK, [1], 4) = 0
writev(10, [{"HTTP/1.1 200 OK\r\nDate: Fri, 21 M"..., 273}], 1) = 273
sendfile(10, 12, [0], 318)              = 318
setsockopt(10, SOL_TCP, TCP_CORK, [0], 4) = 0
write(9, "10.100.243.73 - - [21/Mar/2008:1"..., 186) = 186
shutdown(10, 1 /* send */)              = 0
poll([{fd=10, events=POLLIN, revents=POLLIN|POLLHUP}], 1, 2000) = 1
read(10, "", 512)                       = 0
close(10)                               = 0
read(4, 0x7fbffff20f, 1)                = -1 EAGAIN (Resource
temporarily unavailable)
close(12)                               = 0
close(11)                               = 0
accept(3,
==============

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