Re: make test failed on solaris 8
[prev]
[thread]
[next]
[Date index for 2005/01/26]
This is a multi-part message in MIME format.
------=_NextPart_000_018D_01C5039C.66BB2750
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
only can post partial output from truss
because i got mail failure notify from apache site.
------=_NextPart_000_018D_01C5039C.66BB2750
Content-Type: text/plain;
name="modperl-err2.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="modperl-err2.txt"
I found a line in our private module
AP_INIT_TAKE12("require",
set_subscribe_slot,(void*)APR_XtOffsetOf(LN_auth_config_rec,
auth_LNgrpfile),OR_AUTHCFG, "" ), ...
I changed it to
AP_INIT_RAW_ARGS("require",.....)
The syntax error problem was solved but I'm still having the following:
/opt/perl/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -bugreport -verbose=3D0=20
[warning] Skipping 'set unlimited ulimit for coredumps', since we are =
running as a non-root user on Solaris
/s5/twh/apache252/bin/httpd -d /s5/twh/papache/mod_perl-2.0.0-RC4/t -f =
/s5/twh/papache/mod_perl-2.0.0-RC4/t/conf/httpd.conf -D APACHE2=20
using Apache/2.0.52 (prefork MPM)
waiting 120 seconds for server to start: ..[Wed Jan 26 10:46:31 2005] =
[info] 7 Apache:: modules loaded
[Wed Jan 26 10:46:31 2005] [info] 0 APR:: modules loaded
[Wed Jan 26 10:46:31 2005] [info] base server + 27 vhosts ready to run =
tests
..[Wed Jan 26 10:46:33 2005] [error] Insecure directory in $ENV{PATH} =
while running with -T switch at =
/s5/twh/papache/mod_perl-2.0.0-RC4/Apache-Test/lib/Apache/TestConfig.pm =
line 1062.\nCompilation failed in require at =
/s5/twh/papache/mod_perl-2.0.0-RC4/t/conf/modperl_startup.pl line =
17.\n\t...propagated at =
/s5/twh/papache/mod_perl-2.0.0-RC4/t/conf/modperl_startup.pl line =
18.\nBEGIN failed--compilation aborted at =
/s5/twh/papache/mod_perl-2.0.0-RC4/t/conf/modperl_startup.pl line =
20.\nCompilation failed in require at (eval 2) line 1.\n
[Wed Jan 26 10:46:33 2005] [error] Can't load Perl file: =
/s5/twh/papache/mod_perl-2.0.0-RC4/t/conf/modperl_startup.pl for server =
localhost:8529, exiting...
.........................................................................=
.............................................
waiting 120 seconds for server to start: not ok
[ error] giving up after 121 secs. If you think that your system
is slow or overloaded try again with a longer timeout value.
by setting the environment variable APACHE_TEST_STARTUP_TIMEOUT
to a high value (e.g. 420) and repeat the last command.
[ error] server failed to start! (t/logs/error_log wasn't created, =
start the server in the debug mode)
***OUTPUT from truss
$ truss ../httpd -d t -f conf/httpd.conf -DAPACHE2 -DONE_PROCESS =
-DNO_DETATCH
execve("../httpd-2.0.52/httpd", 0xFFBEF85C, 0xFFBEF884) argc =3D 9
resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) =3D 16
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
stat("/opt/exp/gnu/lib/libsocket.so.1", 0xFFBEEF7C) Err#2 ENOENT
stat("/usr/java/lib/libsocket.so.1", 0xFFBEEF7C) Err#2 ENOENT
stat("/usr/openwin/lib/libsocket.so.1", 0xFFBEEF7C) Err#2 ENOENT
stat("/usr/lib//libsocket.so.1", 0xFFBEEF7C) =3D 0
open("/usr/lib//libsocket.so.1", O_RDONLY) =3D 3
fstat(3, 0xFFBEEF7C) =3D 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =3D =
0xFF3A0000
mmap(0x00000000, 114688, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, =
-1, 0) =3D 0xFF380000
----- cut -----
stat64("lib/Apache/BuildConfig.pm", 0xFEF05608) =3D 0
stat64("lib/Apache/BuildConfig.pmc", 0xFFBEE550) Err#2 ENOENT
open64("lib/Apache/BuildConfig.pm", O_RDONLY) =3D 33
fstat64(33, 0xFFBEBBC8) =3D 0
brk(0x00C209A0) =3D 0
brk(0x00C229A0) =3D 0
ioctl(33, TCGETA, 0xFFBEBB54) Err#25 ENOTTY
read(33, " # \n # / *\n # *".., 8192) =3D 7390
brk(0x00C229A0) =3D 0
brk(0x00C249A0) =3D 0
llseek(33, 0, SEEK_CUR) =3D 7390
llseek(33, 0, SEEK_CUR) =3D 7390
brk(0x00C249A0) =3D 0
brk(0x00C269A0) =3D 0
brk(0x00C269A0) =3D 0
brk(0x00C289A0) =3D 0
llseek(33, 0, SEEK_CUR) =3D 7390
read(33, 0x00C1F8CC, 8192) =3D 0
llseek(33, 0, SEEK_CUR) =3D 7390
close(33) =3D 0
stat64("/s5/twh/apache252/bin/bin", 0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/apache252/bin", 0xFEF05608) =3D 0
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/t/logs/apache_runtime_status.s=
em", 0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/Apache/TestConfigData.pm", =
0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/t/lib/Apache/TestConfigData.pm=
", 0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/Apache-Test/lib/Apache/TestCon=
figData.pm", 0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/t/response/Apache/TestConfigDa=
ta.pm", 0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/t/protocol/Apache/TestConfigDa=
ta.pm", 0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/t/preconnection/Apache/TestCon=
figData.pm", 0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/t/hooks/Apache/TestConfigData.=
pm", 0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/t/filter/Apache/TestConfigData=
.pm", 0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/t/Apache/TestConfigData.pm", =
0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/t/htdocs/testdirective/perlmod=
ule-vh/Apache/TestConfigData.pm", 0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/t/htdocs/testdirective/main/Ap=
ache/TestConfigData.pm", 0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/blib/lib/Apache2/Apache/TestCo=
nfigData.pm", 0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/blib/arch/Apache2/Apache/TestC=
onfigData.pm", 0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/blib/lib/Apache/TestConfigData=
.pm", 0xFEF05608) Err#2 ENOENT
stat64("/s5/twh/papache/mod_perl-2.0.0-RC4/blib/arch/Apache/TestConfigDat=
a.pm", 0xFEF05608) Err#2 ENOENT
stat64("/opt1/perl580/lib/site_perl/5.8.2/sun4-solaris/Apache2/Apache/Tes=
tConfigData.pm", 0xFEF05608) Err#2 ENOENT
stat64("/opt1/perl580/lib/5.8.5/sun4-solaris/Apache/TestConfigData.pm", =
0xFEF05608) Err#2 ENOENT
stat64("/opt1/perl580/lib/5.8.5/Apache/TestConfigData.pm", 0xFEF05608) =
Err#2 ENOENT
stat64("/opt1/perl580/lib/site_perl/5.8.5/sun4-solaris/Apache/TestConfigD=
ata.pm", 0xFEF05608) Err#2 ENOENT
stat64("/opt1/perl580/lib/site_perl/5.8.5/Apache/TestConfigData.pm", =
0xFEF05608) Err#2 ENOENT
stat64("/opt1/perl580/lib/site_perl/5.8.2/sun4-solaris/Apache/TestConfigD=
ata.pm", 0xFEF05608) =3D 0
stat64("/opt1/perl580/lib/site_perl/5.8.2/sun4-solaris/Apache/TestConfigD=
ata.pmc", 0xFFBEE550) Err#2 ENOENT
open64("/opt1/perl580/lib/site_perl/5.8.2/sun4-solaris/Apache/TestConfigD=
ata.pm", O_RDONLY) =3D 33
fstat64(33, 0xFFBEBBC8) =3D 0
brk(0x00C289A0) =3D 0
brk(0x00C2A9A0) =3D 0
ioctl(33, TCGETA, 0xFFBEBB54) Err#25 ENOTTY
read(33, " p a c k a g e A p a c".., 8192) =3D 288
llseek(33, 0, SEEK_CUR) =3D 288
llseek(33, 0, SEEK_CUR) =3D 288
llseek(33, 0, SEEK_CUR) =3D 288
llseek(33, 0, SEEK_CUR) =3D 288
llseek(33, 0, SEEK_CUR) =3D 288
llseek(33, 0, SEEK_CUR) =3D 288
llseek(33, 0, SEEK_CUR) =3D 288
read(33, 0x00C279FC, 8192) =3D 0
llseek(33, 0, SEEK_CUR) =3D 288
close(33) =3D 0
stat64("/d46/www/bin/httpd", 0xFEF05608) =3D 0
stat64("/s5/twh/papache/httpd-2.0.52/.libs", 0xFFBEE478) =3D 0
stat64("/opt/perl/bin", 0xFFBEE478) =3D 0
stat64("/opt1/java/ant/bin", 0xFFBEE478) =3D 0
stat64("/opt/exp/gnu/bin", 0xFFBEE478) =3D 0
stat64("/a1/attila/bin", 0xFFBEE478) =3D 0
stat64("/a1/attila/slimmer/bin", 0xFFBEE478) =3D 0
stat64("/usr/java/bin", 0xFFBEE478) =3D 0
stat64("/s5/twh/papache/httpd-2.0.52/.libs", 0xFFBEDF68) =3D 0
stat64("/opt/perl/bin", 0xFFBEDF68) =3D 0
stat64("/opt1/java/ant/bin", 0xFFBEDF68) =3D 0
stat64("/opt/exp/gnu/bin", 0xFFBEDF68) =3D 0
stat64("/a1/attila/bin", 0xFFBEDF68) =3D 0
stat64("/a1/attila/slimmer/bin", 0xFFBEDF68) =3D 0
stat64("/usr/java/bin", 0xFFBEDF68) =3D 0
getcontext(0xFFBEE048)
setcontext(0xFFBEDE28)
getcontext(0xFFBEE470)
setcontext(0xFFBEE250)
llseek(32, 0xFFFFFFFFFFFFFFFC, SEEK_CUR) =3D 1099
close(32) =3D 0
getcontext(0xFFBEE5E8)
setcontext(0xFFBEE3C8)
[Wed Jan 26 11:01:24 2005] [error] Insecure directory in $ENV{PATH} =
while running with -T switch at =
/s5/twh/papache/mod_perl-2.0.0-RC4/Apache-Test/lib/Apache/TestConfig.pm =
line 1062.\nCompilation failed in require at =
/s5/twh/papache/mod_perl-2.0.0-RC4/t/conf/modperl_startup.pl line =
17.\n\t...propagated at =
/s5/twh/papache/mod_perl-2.0.0-RC4/t/conf/modperl_startup.pl line =
18.\nBEGIN failed--compilation aborted at =
/s5/twh/papache/mod_perl-2.0.0-RC4/t/conf/modperl_startup.pl line =
20.\nCompilation failed in require at (eval 2) line 1.\n
write(2, " [ W e d J a n 2 6 ".., 538) =3D 538
[Wed Jan 26 11:01:24 2005] [error] Can't load Perl file: =
/s5/twh/papache/mod_perl-2.0.0-RC4/t/conf/modperl_startup.pl for server =
localhost:8529, exiting...
write(2, " [ W e d J a n 2 6 ".., 156) =3D 156
llseek(0, 0, SEEK_CUR) =3D 1955194
llseek(35, 0xFFFFFFFFFFFFF92C, SEEK_CUR) =3D 70877
llseek(37, 0xFFFFFFFFFFFFFB5A, SEEK_CUR) =3D 5697
llseek(39, 0xFFFFFFFFFFFFFD9F, SEEK_CUR) =3D 11038
_exit(1)
------=_NextPart_000_018D_01C5039C.66BB2750--