Mailing List Archive

Problem with make test. (server doesn't warm up)
I am trying to install mod_perl but I am having
problems during the "make test" phase.

I receive the following error:

> httpd listening on port 8529
> will write error_log to: t/logs/error_log
> letting apache warm up...c
> done
> /usr/bin/perl t/TEST 0
> still waiting for server to warm up............not
ok
> server failed to start! at t/TEST line 95.
> make: *** [run_tests] Error 9

I am using
-linux 2.2.14
-apache_1.3.11
-mod_perl-1.21

I ran the following to try and give you some more
information:

*Note: Everything was run as root.

% make start_httpd
% strace -o strace.out -p `cat t/logs/httpd.pid` &
% make run_tests
% make kill_httpd

Here is the contents of strace.out after the above
procedure: There seems to be a permissions problem,
but I'm not sure how to fix it.

Notice the frequent occurences of the following line:
-->stat("/usr/jnorris/mod_perl-1.21/t/docs/test.html",
0xbffffa6c) = -1 EACCES (Permission denied)

Any help would be greatly appreciated!
===================================================
accept(16, {sin_family=AF_INET, sin_port=htons(3912),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 6
fcntl(18, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET,
start=0, len=0}) = 0
SYS_174(0xa, 0xbffff980, 0xbffff8f4, 0x8, 0xa) = 0
getsockname(6, {sin_family=AF_INET,
sin_port=htons(8529),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
setsockopt(6, IPPROTO_TCP, 1, [1], 4) = 0
brk(0x85d4000) = 0x85d4000
brk(0x85d7000) = 0x85d7000
alarm(300) = 0
read(6, "GET /test.html HTTP/1.0\r\nHost:"..., 4096) =
79
SYS_174(0xa, 0xbfffd938, 0xbfffd8ac, 0x8, 0xa) = 0
time(NULL) = 950634652
alarm(300) = 300
alarm(0) = 300
SYS_174(0xe, 0, 0xbffff83c, 0x8, 0xe) = 0
dup2(15, 2) = 2
SYS_175(0, 0, 0xbffff9a8, 0x8, 0) = 0
stat("/usr/jnorris/mod_perl-1.21/t/docs/test.html",
0xbffffa6c) = -1 EACCES (Permission denied)
alarm(300) = 0
alarm(0) = 300
alarm(300) = 0
alarm(0) = 300
write(6, "HTTP/1.1 403 Forbidden\r\nDate: "..., 371) =
371
time(NULL) = 950634652
write(17, "127.0.0.1 - - [.15/Feb/2000:12:10"..., 77) =
77
alarm(30) = 0
shutdown(6, 1 /* send */) = 0
select(7, [6], NULL, NULL, {2, 0}) = 1 (in [6],
left {1, 990000})
read(6, "", 512) = 0
close(6) = 0
alarm(0) = 30
SYS_174(0xa, 0xbffff980, 0xbffff8f4, 0x8, 0xa) = 0
alarm(0) = 0
SYS_174(0xe, 0xbffff90c, 0xbffff880, 0x8, 0xe) = 0
fcntl(18, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET,
start=0, len=0}) = 0
accept(16, {sin_family=AF_INET, sin_port=htons(3913),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 6
fcntl(18, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET,
start=0, len=0}) = 0
SYS_174(0xa, 0xbffff980, 0xbffff8f4, 0x8, 0xa) = 0
getsockname(6, {sin_family=AF_INET,
sin_port=htons(8529),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
setsockopt(6, IPPROTO_TCP, 1, [1], 4) = 0
alarm(300) = 0
read(6, "GET /test.html HTTP/1.0\r\nHost:"..., 4096) =
79
SYS_174(0xa, 0xbfffd938, 0xbfffd8ac, 0x8, 0xa) = 0
time(NULL) = 950634653
alarm(300) = 300
alarm(0) = 300
SYS_174(0xe, 0, 0xbffff83c, 0x8, 0xe) = 0
dup2(15, 2) alarm(300)
= 0
alarm(0) = 300
alarm(300) = 0
alarm(0) = 300
write(6, "HTTP/1.1 403 Forbidden\r\nDate: "..., 371) =
371
time(NULL) = 950634653
write(17, "127.0.0.1 - - [.15/Feb/2000:12:10"..., 77) =
77
alarm(30) = 0
shutdown(6, 1 /* send */) = 0
select(7, [6], NULL, NULL, {2, 0}) = 1 (in [6],
left {1, 990000})
read(6, "", 512) = 0
close(6) = 0
alarm(0) = 30
SYS_174(0xa, 0xbffff980, 0xbffff8f4, 0x8, 0xa) = 0
alarm(0) = 0
SYS_174(0xe, 0xbffff90c, 0xbffff880, 0x8, 0xe) = 0
fcntl(18, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET,
start=0, len=0}) = 0
accept(16, {sin_family=AF_INET, sin_port=htons(3914),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 6
fcntl(18, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET,
start=0, len=0}) = 0
SYS_174(0xa, 0xbffff980, 0xbffff8f4, 0x8, 0xa) = 0
getsockname(6, {sin_family=AF_INET,
sin_port=htons(8529),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
setsockopt(6, IPPROTO_TCP, 1, [1], 4) = 0
alarm(300) = 0
read(6, "GET /test.html HTTP/1.0\r\nHost:"..., 4096) =
79
SYS_174(0xa, 0xbfffd938, 0xbfffd8ac, 0x8, 0xa) = 0
time(NULL) = 950634654
alarm(300) = 300
alarm(0) = 300
SYS_174(0xe, 0, 0xbffff83c, 0x8, 0xe) = 0
dup2(15, 2) = 2
SYS_175(0, 0, 0xbffff9a8, 0x8, 0) = 0
stat("/usr/jnorris/mod_perl-1.21/t/docs/test.html",
0xbffffa6c) = -1 EACCES (Permission denied)
alarm(300) = 0
alarm(0) = 300
alarm(300) = 0
alarm(0) = 300
write(6, "HTTP/1.1 403 Forbidden\r\nDate: "..., 371) =
371
time(NULL) = 950634654
write(17, "127.0.0.1 - - [.15/Feb/2000:12:10"..., 77) =
77
alarm(30) = 0
shutdown(6, 1 /* send */) = 0
select(7, [6], NULL, NULL, {2, 0}) = 1 (in [6],
left {2, 0})
read(6, "", 512) = 0
close(6) = 0
alarm(0) = 30
SYS_174(0xa, 0xbffff980, 0xbffff8f4, 0x8, 0xa) = 0
alarm(0) = 0
SYS_174(0xe, 0xbffff90c, 0xbffff880, 0x8, 0xe) = 0
fcntl(18, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET,
start=0, len=0}) = 0
= 2
SYS_175(0, 0, 0xbffff9a8, 0x8, 0) = 0
stat("/usr/jnorris/mod_perl-1.21/t/docs/test.html",
0xbffffa6c) = -1 EACCES (Permission denied)
fcntl(18, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET,
start=0, len=0}) = 0
accept(16, {sin_family=AF_INET, sin_port=htons(3915),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 6
fcntl(18, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET,
start=0, len=0}) = 0
SYS_174(0xa, 0xbffff980, 0xbffff8f4, 0x8, 0xa) = 0
getsockname(6, {sin_family=AF_INET,
sin_port=htons(8529),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
setsockopt(6, IPPROTO_TCP, 1, [1], 4) = 0
alarm(300) = 0
read(6, "GET /test.html HTTP/1.0\r\nHost:"..., 4096) =
79
SYS_174(0xa, 0xbfffd938, 0xbfffd8ac, 0x8, 0xa) = 0
time(NULL) = 950634655
alarm(300) = 300
alarm(0) = 300
SYS_174(0xe, 0, 0xbffff83c, 0x8, 0xe) = 0
dup2(15, 2) = 2
SYS_175(0, 0, 0xbffff9a8, 0x8, 0) = 0
stat("/usr/jnorris/mod_perl-1.21/t/docs/test.html",
0xbffffa6c) = -1 EACCES (Permission denied)
alarm(300) = 0
alarm(0) = 300
alarm(300) = 0
alarm(0) = 300
write(6, "HTTP/1.1 403 Forbidden\r\nDate: "..., 371) =
371
time(NULL) = 950634656
write(17, "127.0.0.1 - - [.15/Feb/2000:12:10"..., 77) =
77
alarm(30) = 0
shutdown(6, 1 /* send */) = 0
select(7, [6], NULL, NULL, {2, 0}) = 1 (in [6],
left {2, 0})
read(6, "", 512) = 0
close(6) = 0
alarm(0) = 30
SYS_174(0xa, 0xbffff980, 0xbffff8f4, 0x8, 0xa) = 0
alarm(0) = 0
SYS_174(0xe, 0xbffff90c, 0xbffff880, 0x8, 0xe) = 0
fcntl(18, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET,
start=0, len=0}) = 0
accept(16, {sin_family=AF_INET, sin_port=htons(3916),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 6
fcntl(18, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET,
start=0, len=0}) = 0
SYS_174(0xa, 0xbffff980, 0xbffff8f4, 0x8, 0xa) = 0
getsockname(6, {sin_family=AF_INET,
sin_port=htons(8529),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
setsockopt(6, IPPROTO_TCP, 1, [1], 4) = 0
alarm(300) = 0
read(6, "GET /test.html HTTP/1.0\r\nHost:"..., 4096) =
79
SYS_174(0xa, 0xbfffd938, 0xbfffd8ac, 0x8, 0xa) = 0
time(NULL) = 950634656
alarm(300) = 300
alarm(0) = 300
SYS_174(0xe, 0, 0xbffff83c, 0x8, 0xe) = 0
dup2(15, 2) = 2
SYS_175(0, 0, 0xbffff9a8, 0x8, 0) = 0
stat("/usr/jnorris/mod_perl-1.21/t/docs/test.html",
0xbffffa6c) = -1 EACCES (Permission denied)
alarm(300) = 0
alarm(0) = 300
alarm(300) = 0
alarm(0) = 300
write(6, "HTTP/1.1 403 Forbidden\r\nDate: "..., 371) =
371
time(NULL) = 950634656
write(17, "127.0.0.1 - - [.15/Feb/2000:12:10"..., 77) =
77
alarm(30) = 0
shutdown(6, 1 /* send */) = 0
select(7, [6], NULL, NULL, {2, 0}) = 1 (in [6],
left {2, 0})
read(6, "", 512) = 0
close(6) = 0
alarm(0) = 30
SYS_174(0xa, 0xbffff980, 0xbffff8f4, 0x8, 0xa) = 0
alarm(0) = 0
SYS_174(0xe, 0xbffff90c, 0xbffff880, 0x8, 0xe) = 0
fcntl(18, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET,
start=0, len=0}) = 0
accept(16, 0xbffffb74, [16]) = ?
ERESTARTSYS (To be restarted)
--- SIGTERM (Terminated) ---
SYS_174(0x1, 0xbffff868, 0xbffff7dc, 0x8, 0x1) = 0
SYS_174(0xa, 0xbffff868, 0xbffff7dc, 0x8, 0xa) = 0
SYS_175(0, 0, 0xbffff8bc, 0x8, 0) = 0
write(2, "[notice] child process 6111 term"..., 40) =
40
SYS_175(0, 0, 0xbffff8bc, 0x8, 0) = 0
write(2, "[notice] push\'d PerlChildExitHa"..., 54) =
54
SYS_175(0, 0, 0xbffff8bc, 0x8, 0) = 0
write(2, "[notice] push\'d PerlChildExitHa"..., 54) =
54
SYS_175(0, 0, 0xbffff960, 0x8, 0) = 0
SYS_175(0, 0, 0xbffff878, 0x8, 0) = 0
write(2, "[notice] END block called for st"..., 41) =
41
SYS_175(0, 0, 0xbffff8a4, 0x8, 0) = 0
write(2, "[notice] Destruction->DESTROY ca"..., 56) =
56
SYS_175(0, 0, 0xbffff8a4, 0x8, 0) = 0
SYS_175(0, 0, 0xbffff840, 0x8, 0) = 0
SYS_175(0, 0, 0xbffff840, 0x8, 0) = 0
SYS_175(0, 0, 0xbffff840, 0x8, 0) = 0
munmap(0x40014000, 4096) = 0
_exit(0) = ?
===================================================

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com