perl-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William McKee <will...@knowmad.com>
Subject Re: Auto-detecting modules on Ubuntu
Date Sat, 24 Nov 2007 16:50:54 GMT
> > Yes, I think that should work.  Can you try:
> > 
> > ./t/TEST -conf -trace=debug
> > 
> > and follow the lines from "inheriting config file:" to see what happens.

It's not finding apache.conf which is where Ubuntu is keeping all config
info. As I mentioned before, httpd.conf is empty. I don't know why they
are doing this. I've included the trace output below from just before
the "inheriting config file" line to the end. It's discovering the
SERVER_CONFIG_FILE but not using it when doing inheritance.

I did check the output of `/usr/sbin/apache2 -V` which shows the
following config setting:

 -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"

`TEST.PL -help` tells me that the value of -httpd_conf is derived from
apxs. What is the apxs command that gets this value? I'd like to check
that there is not a misconfiguration problem in my copy of apxs.

I did try to run TEST using the -httpd_conf option as follows but it's
still trying to inherit from /etc/apache2/httpd.conf:

  ./t/TEST -httpd_conf=/etc/apache2/apache2.conf -conf -trace=debug


> fwiw, I just watched fred get caught by this exact thing at apachecon -
> don't forget to nuke ~/.apache-test beforehand :)

I don't have that file on my system. Perhaps that's because A::T is not
finding a default config file to inherit from?



Thanks,
William


 -SNIP-
[  debug] isolated httpd_defines SERVER_CONFIG_FILE = /etc/apache2/apache2.conf
[  debug] inheriting config file: /etc/apache2/httpd.conf
[  debug] Matched Apache revision Apache/2.2.3 2
[warning] cleaning out current configuration
[  debug] unlink /home/william/Web/t/logs/apache_runtime_status.sem: No
such file or directory
[  debug] found mod_mime.so => /usr/lib/apache2/modules/mod_mime.so
[  debug] generating conf/mime.types
[  debug] Will 'Include' /home/william/Web/t/conf/extra.conf config file
[  debug] generating conf/extra.conf from
/home/william/Web/t/conf/extra.conf.in
[  debug] generating conf/httpd.conf
[  debug] found mod_alias.so => /usr/lib/apache2/modules/mod_alias.so
[  debug] found mod_perl.so => /usr/lib/apache2/modules/mod_perl.so
[  debug] generating conf/modperl_inc.pl
[  debug] generating conf/modperl_startup.pl
[  debug] generating conf/apache_test_config.pm
[  debug] saving config data to apache_test_config.pm
[warning] reconfiguration done


-- 
Knowmad Technologies - Software development & Process automation
W: http://www.knowmad.com | E: william@knowmad.com
P: 704.343.9330 | http://www.LinkedIn.com/in/williammckee

Mime
View raw message