You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Petr Duchon <pd...@chello.cz> on 2004/09/22 19:56:36 UTC

current modperl doesn't run with apache 2.0.51?

Hello everybody,

Please don't stone me, if my problem is too silly, but this is what I 
get when running make test:

ulimit -c unlimited; /usr/bin/perl5.8.4 /inst/mod_perl-1.99_16/t/TEST 
-bugreport -verbose=0
[warning] root mode: changing the files ownership to 'nobody' (65534:65534)
[warning] testing whether 'nobody' is able to -rwx /inst/mod_perl-1.99_16/t
"/usr/bin/perl5.8.4" -Mlib=/inst/mod_perl-1.99_16/Apache-Test/lib 
-MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(65534, 
65534, q[/inst/mod_perl-1.99_16/t]) }';


[warning] result: OK
[warning] the client side drops 'root' permissions and becomes 'nobody'
/usr/local/apache2/bin/httpd -d /inst/mod_perl-1.99_16/t -f 
/inst/mod_perl-1.99_16/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
using Apache/2.0.51 (prefork MPM)

waiting 120 seconds for server to start: .Syntax error on line 12 of 
/inst/mod_perl-1.99_16/t/conf/httpd.conf:
Cannot load /inst/mod_perl-1.99_16/src/modules/perl/mod_perl.so into 
server: /inst/mod_perl-1.99_16/src/modules/perl/mod_perl.so: undefined 
symbol: Perl_Ipatchlevel_ptr
[  error]
server has died with status 255 (t/logs/error_log wasn't created, start 
the server in the debug mode)
make: *** [run_tests] Error 143

Please what's wrong?

Petr.

-- 
Report problems: 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: current modperl doesn't run with apache 2.0.51?

Posted by Petr Duchon <pd...@chello.cz>.
Appending some config info:

perl -v: v5.8.4 built for i686-linux-thread-multi
uname -a: Linux sodomizatko 2.6.8.1 #2 Wed Sep 15 01:20:54 UTC 2004 i686 
AMD Athlon(TM) XP 2200+ AuthenticAMD GNU/Linux


-- 
Report problems: 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: current modperl doesn't run with apache 2.0.51?

Posted by Petr Duchon <pd...@chello.cz>.
Hello everybody! the problem was solved!

Upon Stas's advice, I sought more info and found that libperl was 
compiled without threading support.
perl had threads, so now everything is OK, except for the frozen-bubble 
game. It needs SDL, which doesn't
seem to like threads. My wife is hooked on this game, so I'll have to 
explain...

Anyway, sorry for the trouble.
Thank You,
petr.





Stas Bekman wrote:

> Petr Duchon wrote:
>
>> Hello everybody,
>>
>> Please don't stone me, if my problem is too silly, but this is what I 
>> get when running make test:
>>
>> ulimit -c unlimited; /usr/bin/perl5.8.4 /inst/mod_perl-1.99_16/t/TEST 
>> -bugreport -verbose=0
>> [warning] root mode: changing the files ownership to 'nobody' 
>> (65534:65534)
>> [warning] testing whether 'nobody' is able to -rwx 
>> /inst/mod_perl-1.99_16/t
>> "/usr/bin/perl5.8.4" -Mlib=/inst/mod_perl-1.99_16/Apache-Test/lib 
>> -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(65534, 
>> 65534, q[/inst/mod_perl-1.99_16/t]) }';
>>
>>
>> [warning] result: OK
>> [warning] the client side drops 'root' permissions and becomes 'nobody'
>> /usr/local/apache2/bin/httpd -d /inst/mod_perl-1.99_16/t -f 
>> /inst/mod_perl-1.99_16/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
>> using Apache/2.0.51 (prefork MPM)
>>
>> waiting 120 seconds for server to start: .Syntax error on line 12 of 
>> /inst/mod_perl-1.99_16/t/conf/httpd.conf:
>> Cannot load /inst/mod_perl-1.99_16/src/modules/perl/mod_perl.so into 
>> server: /inst/mod_perl-1.99_16/src/modules/perl/mod_perl.so: 
>> undefined symbol: Perl_Ipatchlevel_ptr
>> [  error]
>> server has died with status 255 (t/logs/error_log wasn't created, 
>> start the server in the debug mode)
>> make: *** [run_tests] Error 143
>>
>> Please what's wrong?
>
>
> Petr, your report is far from being incomplete. Please see 
> http://perl.apache.org/bugs/
>
> In *addition* to that information please send the output of
>
> ldd /inst/mod_perl-1.99_16/src/modules/perl/mod_perl.so
>
> Chances are that you have more than one perl installed on your system 
> and you have libperl.so in /usr/lib or another global path. And it 
> gets loaded instead of the libperl.so from the other perl that you've 
> compiled mod_perl with.
>


-- 
Report problems: 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: current modperl doesn't run with apache 2.0.51?

Posted by Stas Bekman <st...@stason.org>.
Petr Duchon wrote:
> Hello everybody,
> 
> Please don't stone me, if my problem is too silly, but this is what I 
> get when running make test:
> 
> ulimit -c unlimited; /usr/bin/perl5.8.4 /inst/mod_perl-1.99_16/t/TEST 
> -bugreport -verbose=0
> [warning] root mode: changing the files ownership to 'nobody' (65534:65534)
> [warning] testing whether 'nobody' is able to -rwx /inst/mod_perl-1.99_16/t
> "/usr/bin/perl5.8.4" -Mlib=/inst/mod_perl-1.99_16/Apache-Test/lib 
> -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(65534, 
> 65534, q[/inst/mod_perl-1.99_16/t]) }';
> 
> 
> [warning] result: OK
> [warning] the client side drops 'root' permissions and becomes 'nobody'
> /usr/local/apache2/bin/httpd -d /inst/mod_perl-1.99_16/t -f 
> /inst/mod_perl-1.99_16/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
> using Apache/2.0.51 (prefork MPM)
> 
> waiting 120 seconds for server to start: .Syntax error on line 12 of 
> /inst/mod_perl-1.99_16/t/conf/httpd.conf:
> Cannot load /inst/mod_perl-1.99_16/src/modules/perl/mod_perl.so into 
> server: /inst/mod_perl-1.99_16/src/modules/perl/mod_perl.so: undefined 
> symbol: Perl_Ipatchlevel_ptr
> [  error]
> server has died with status 255 (t/logs/error_log wasn't created, start 
> the server in the debug mode)
> make: *** [run_tests] Error 143
> 
> Please what's wrong?

Petr, your report is far from being incomplete. Please see 
http://perl.apache.org/bugs/

In *addition* to that information please send the output of

ldd /inst/mod_perl-1.99_16/src/modules/perl/mod_perl.so

Chances are that you have more than one perl installed on your system and 
you have libperl.so in /usr/lib or another global path. And it gets loaded 
instead of the libperl.so from the other perl that you've compiled 
mod_perl with.

-- 
__________________________________________________________________
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

-- 
Report problems: 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