You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Geoffrey Young <gy...@laserlink.net> on 2001/04/10 15:10:04 UTC
2.0 Test
I've been working on getting the tests to pass - no luck...
APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE=/usr/local/apache/httpd APXS=
\
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST
/usr/local/apache-2.0/bin/httpd -f /src/modperl-2.0/t/conf/httpd.conf
waiting for server to warm up......ok
server localhost:8529 started (pid=14861, version=Apache/2.0.17-dev)
server localhost:8530 listening (TestProtocol::echo)
malformed response at Apache-Test/lib/Apache/TestRequest.pm line 178.
still waiting for server to warm up...cannot connect to localhost:8529
Connection refused at Apache-Test/lib/Apache/TestRequest.pm line 156.
...cannot connect to localhost:8529 Connection refused at
Apache-Test/lib/Apache/TestRequest.pm line 156.
...cannot connect to localhost:8529 Connection refused at
Apache-Test/lib/Apache/TestRequest.pm line 156.
...cannot connect to localhost:8529 Connection refused at
Apache-Test/lib/Apache/TestRequest.pm line 156.
...cannot connect to localhost:8529 Connection refused at
Apache-Test/lib/Apache/TestRequest.pm line 156.
...cannot connect to localhost:8529 Connection refused at
Apache-Test/lib/Apache/TestRequest.pm line 156.
giving up
failed to start server! (please examine t/logs/error_log)
make: *** [run_tests] Error 1
[Tue Apr 10 09:00:29 2001] [info] Server built: Apr 9 2001 10:11:43
[Tue Apr 10 09:00:29 2001] [notice] SIGWINCH received. Doing graceful
restart
[Tue Apr 10 09:00:29 2001] [error] (13)Permission denied: Couldn't unlink
unix domain socket /usr/local/apache-2.0/logs/cgisock
[Tue Apr 10 09:00:29 2001] [error] (98)Address already in use: Couldn't bind
unix domain socket /usr/local/apache-2.0/logs/cgisock
[Tue Apr 10 09:00:29 2001] [notice] Apache/2.0.17-dev (Unix)
mod_perl/1.99_01-dev Perl/v5.7.0 configured -- resuming normal operations
the resulting binary serves static content just fine, but when I put just a
few mod_perl directives into httpd.conf I get about 50 httpd children that
won't die and the server just hangs...
Apache and mod_perl build args are the same as in modperl_dev.pod
--Geoff
Server version: Apache/2.0.17-dev
Server built: Apr 9 2001 10:11:43
Server's Module Magic Number: 20010224:1
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/threaded"
-D APR_HAS_MMAP
-D APR_HAVE_IPV6
-D APR_USE_FCNTL_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/local/apache-2.0"
-D SUEXEC_BIN="/usr/local/apache-2.0/sbin/suexec"
-D DEFAULT_ERRORLOG="logs/error_log"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2.14-5.0, archname=i686-linux-thread-multi
uname='linux spinnaker.laserlink.net 2.2.14-5.0 #1 tue mar 7 21:07:39
est 2000 i686 unknown '
config_args='-des -Dusethreads -Dprefix=/src/bleedperl -Doptimize=-g
-Dusedevel -Dinstallusrbinperl -Uversiononly'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -DDEBUGGING -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-g',
cppflags='-D_REENTRANT -DDEBUGGING -fno-strict-aliasing'
ccversion='', gccversion='egcs-2.91.66 19990314/Linux (egcs-1.1.2
release)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lpthread -lc -lposix -lcrypt
-lutil
perllibs=-lnsl -ldl -lm -lpthread -lc -lposix -lcrypt -lutil
libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Locally applied patches:
DEVEL9528
Built under linux
Compiled at Apr 4 2001 22:01:42
@INC:
/src/bleedperl/lib/5.7.0/i686-linux-thread-multi
/src/bleedperl/lib/5.7.0
/src/bleedperl/lib/site_perl/5.7.0/i686-linux-thread-multi
/src/bleedperl/lib/site_perl/5.7.0
/src/bleedperl/lib/site_perl
.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: 2.0 Test
Posted by Doug MacEachern <do...@covalent.net>.
On Tue, 10 Apr 2001, Geoffrey Young wrote:
> [Tue Apr 10 09:00:29 2001] [error] (13)Permission denied: Couldn't unlink
> unix domain socket /usr/local/apache-2.0/logs/cgisock
strange that it is using your builtin ServerRoot, try the commands i just
send in response to eric, maybe the -d $ServerRoot just added to
Apache::TestServer::args will help.
there are also some issues with the current bleedperl, you might need to
apply this patch:
http://perl.apache.org/~dougm/bleedperl.pat
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org