You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jie Gao <J....@isu.usyd.edu.au> on 2004/02/02 22:18:04 UTC

[MP2 CVS] configure error

Hi All,

Using 5.8.3 with the latest CVS, running

/usr/local/perl-5.8.3_threaded/bin/perl Makefile.PL MP_USE_DSO=1 MP_APXS=/usr/local/WASM_Sessions_Checker_apache_2.0.48/bin/apxs MP_TRACE=1

gives the following errors:

*** dir '/usr/local/WASM_Sessions_Checker/htdocs/conf' does not exist (while resolving 'conf/ssl.conf')
*** dir '/usr/local/WASM_Sessions_Checker/htdocs/conf' does not exist (while resolving 'conf/mime.types')

It seems to look under "htdocs" rather than "conf".

Regards,



Jie

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: [MP2 CVS] configure error

Posted by Stas Bekman <st...@stason.org>.
Jie Gao wrote:
[...]
>>Also is it possible that your machine is slow and you need more time to start
>>the server (our test suite take a *long* time to start under threaded mpms)?
>>So please try:
>>
>>t/TEST -start -startup_timeout 300
>>
>>though I doubt that this is the reason.
> 
> 
> It turned out this was the reason. It worked (I was on a slow machine).

Ouch. How long did it take to start? Just recently I bumped it up from 60 to 
180 secs. I suppose we need to go further. :(

But it's good that it works ;)

>>So you no longer get these warnings:
>>
>>*** dir '/usr/local/WASM_Sessions_Checker/htdocs/conf' does not exist (while
>>resolving 'conf/ssl.conf')
>>*** dir '/usr/local/WASM_Sessions_Checker/htdocs/conf' does not exist (while
>>resolving 'conf/mime.types')
>>
>>right? I don't think they have anything to do with the failure to startup.
> 
> 
> You are right. The reason they didn't show up this time is that I
> installed apache into an existing installation the first time. I copied
> the standard httpd.conf into place before I started on modperl this
> time.

Good. I'm going to change 'warning' to 'debug' so it won't mislead users. 
('debug' level messages normally don't show up).

> Thanks very much for your help.

Thanks for helping to help you ;)

> BTW, what's Doug been doing these days?

I don't know.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: [MP2 CVS] configure error

Posted by Stas Bekman <st...@stason.org>.
Jie Gao wrote:
[...]
> make test error:
[...]
> waiting 180 seconds for server to start: giving up after 181 secs
> !!! server failed to start! (please examine t/logs/error_log)
[...]
>  -D APACHE_MPM_DIR="server/mpm/worker"
>     osname=solaris, osvers=2.9, archname=sun4-solaris-thread-multi
>     uname='sunos banquo 5.9 generic_112233-11 sun4u sparc sunw,ultra-5_10 '

I don't know whether it works at all on Solaris. Any luck with prefork mpm?

You forgot to include the relevant info from t/logs/error_log as the 
guidelines instruct. Anything interesting in there?

Also is it possible that your machine is slow and you need more time to start 
the server (our test suite take a *long* time to start under threaded mpms)? 
So please try:

t/TEST -start -startup_timeout 300

though I doubt that this is the reason.

>>t/TEST -conf -trace=debug
>[...]
> ==> inheriting config file: /usr/local/WASM_Sessions_Checker_apache_2.0.48/conf/httpd.conf
> ==> using httpd.conf inherited ServerRoot to resolve conf/ssl.conf
> ==> conf/ssl.conf successfully resolved to existing file
> /usr/local/WASM_Sessions_Checker_apache_2.0.48/conf/ssl.conf
> ==> inheriting config file: /usr/local/WASM_Sessions_Checker_apache_2.0.48/conf/ssl.conf
> ==> using httpd.conf inherited ServerRoot to resolve conf/mime.types
> ==> conf/mime.types successfully resolved to existing file
> /usr/local/WASM_Sessions_Checker_apache_2.0.48/conf/mime.types

So you no longer get these warnings:

*** dir '/usr/local/WASM_Sessions_Checker/htdocs/conf' does not exist (while 
resolving 'conf/ssl.conf')
*** dir '/usr/local/WASM_Sessions_Checker/htdocs/conf' does not exist (while 
resolving 'conf/mime.types')

right? I don't think they have anything to do with the failure to startup.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: [MP2 CVS] configure error

Posted by Stas Bekman <st...@stason.org>.
Jie, please always submit a complete bug report, as explained here:
http://perl.apache.org/bugs/

> Using 5.8.3 with the latest CVS, running
> 
> /usr/local/perl-5.8.3_threaded/bin/perl Makefile.PL MP_USE_DSO=1 MP_APXS=/usr/local/WASM_Sessions_Checker_apache_2.0.48/bin/apxs MP_TRACE=1
> 
> gives the following errors:
> 
> *** dir '/usr/local/WASM_Sessions_Checker/htdocs/conf' does not exist (while resolving 'conf/ssl.conf')
> *** dir '/usr/local/WASM_Sessions_Checker/htdocs/conf' does not exist (while resolving 'conf/mime.types')
> 
> It seems to look under "htdocs" rather than "conf".

these are warnings from Apache-Test, not errors. Does it affect the result of 
'make test'?

Apache-Test tries to inherit your 
/usr/local/WASM_Sessions_Checker_apache_2.0.48/conf/httpd.conf (or wherever it 
is) and resolve relative paths in it to absolute ones.

Please send the output of:

t/TEST -conf -trace=debug

in addition to the complete report I've asked above.

thanks.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html