09/03/2008, 07:15
|
| | Fecha de Ingreso: marzo-2008
Mensajes: 4
Antigüedad: 16 años, 8 meses Puntos: 0 | |
Re: Apache y mod_perl hola pekot, gracias por tu respuesta.
me equivoqué, si que es get_server_description, gracias.
sí añadí y modifiqué los archivos que dijiste. Además, al hacer perl Makefile.PL MP_AP_PREFIX=/home/httpd/httpd-2.0 para el mod_perl, me decía que añadiera un LoadModule en httpd.conf. Añadí lo siguiente:
LoadModule en /home/httpd/httpd-2.0/conf/httpd.conf (esta vez lo estoy probando con Apache 2.2.6)
si vuelvo a hacer perl Makefile.PL ... me sigue diciendo lo mismo, pero hago make, y make test y ahora consigo mas errores!!!
este es el resultado del make test:
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/api/server_const.t 5 1 20.00% 3
t/modules/include.t 6 2 33.33% 4-5
t/modules/include2.t 4 2 50.00% 1 3
y el error.log contiene lo siguiente:
*** The following warn entry is expected and harmless ***
This log message comes with no header
*** The following warn entry is expected and harmless ***
[Sun Mar 09 13:50:39 2008] [debug] aplog.pm(71): log_serror test 1
*** The following warn entry is expected and harmless ***
[Sun Mar 09 13:50:39 2008] [debug] aplog.pm(83): (20014)Internal error: log_serror test 2
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:50:39 2008] [crit] [client 127.0.0.1] (20007)No time was provided and one was required.: log_rerror test
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:50:39 2008] [error] $r->log_error test
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:50:39 2008] [error] $s->log_error test
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:50:39 2008] [error] access to /TestAPI__aplog failed for 127.0.0.1, reason: $r->log_reason test
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:50:39 2008] [error] access to filename failed for 127.0.0.1, reason: $r->log_reason filename test
*** The following warn entry is expected and harmless ***
[Sun Mar 09 13:50:39 2008] [debug] aplog.pm(144): TestAPI::aplog test done
[Sun Mar 09 13:50:39 2008] [notice] [client 127.0.0.1] This message should appear with LogLevel=error!
*** The following warn entry is expected and harmless ***
[Sun Mar 09 13:50:39 2008] [warn] $s->warn test
*** The following warn entry is expected and harmless ***
[Sun Mar 09 13:50:39 2008] [warn] Apache2::ServerRec::warn test
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:50:49 2008] [error] Process 29863 terminates itself\n
[Sun Mar 09 13:50:51 2008] [error] [client 127.0.0.1] Handler for modperl returned invalid result code 2
[Sun Mar 09 13:50:51 2008] [error] [client 127.0.0.1] Handler for modperl returned invalid result code 2
# Failed test 3 in /usr/local/mod_perl-2.0.3/t/response/TestAPI/server_const.pm at line 48
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:51:15 2008] [error] Apache::log_error test ok
*** The following warn entry is expected and harmless ***
[Sun Mar 09 13:51:15 2008] [warn] Apache->warn ok
*** The following warn entry is expected and harmless ***
[Sun Mar 09 13:51:15 2008] [warn] Apache::Server->warn ok
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:51:31 2008] [error] [client 127.0.0.1] APR::Socket::recv: (11) Recurso no disponible temporalmente at /usr/local/mod_perl-2.0.3/t/response/TestError/runtime.pm line 156
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:51:31 2008] [error] [client 127.0.0.1] Undefined subroutine &TestError::runtime::no_such_func called at /usr/local/mod_perl-2.0.3/t/response/TestError/runtime.pm line 150.\n
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:51:31 2008] [error] [client 127.0.0.1] APR::Socket::recv: (11) Recurso no disponible temporalmente at /usr/local/mod_perl-2.0.3/t/response/TestError/runtime.pm line 156\n\tTestError::runtime::mp_error('APR::Socket=S CALAR(0x9974438)') called at /usr/local/mod_perl-2.0.3/t/response/TestError/runtime.pm line 75\n\tTestError::runtime::die_hook_confess_mp_erro r('Apache2::RequestRec=SCALAR(0x97f73cc)', 'APR::Socket=SCALAR(0x9974438)') called at /usr/local/mod_perl-2.0.3/t/response/TestError/runtime.pm line 31\n\tTestError::runtime::handler('Apache2::Reques tRec=SCALAR(0x97f73cc)') called at -e line 0\n\teval {...} called at -e line 0\n
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:51:31 2008] [error] [client 127.0.0.1] Undefined subroutine &TestError::runtime::no_such_func called at /usr/local/mod_perl-2.0.3/t/response/TestError/runtime.pm line 150.\n at /usr/local/mod_perl-2.0.3/t/response/TestError/runtime.pm line 150\n\tTestError::runtime::non_mp_error('APR::Sock et=SCALAR(0x98ef21c)') called at /usr/local/mod_perl-2.0.3/t/response/TestError/runtime.pm line 82\n\tTestError::runtime::die_hook_confess_non_mp_ error('Apache2::RequestRec=SCALAR(0x98ef198)', 'APR::Socket=SCALAR(0x98ef21c)') called at /usr/local/mod_perl-2.0.3/t/response/TestError/runtime.pm line 31\n\tTestError::runtime::handler('Apache2::Reques tRec=SCALAR(0x98ef198)') called at -e line 0\n\teval {...} called at -e line 0\n
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:51:31 2008] [error] [client 127.0.0.1] custom die hook: APR::Socket::recv: (11) Recurso no disponible temporalmente at /usr/local/mod_perl-2.0.3/t/response/TestError/runtime.pm line 156 at /usr/local/mod_perl-2.0.3/t/response/TestError/runtime.pm line 87.\n
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:51:31 2008] [error] [client 127.0.0.1] custom die hook: Undefined subroutine &TestError::runtime::no_such_func called at /usr/local/mod_perl-2.0.3/t/response/TestError/runtime.pm line 150.\n
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:51:32 2008] [error] [client 127.0.0.1] failed to resolve handler `TestError::syntax': syntax error at /usr/local/mod_perl-2.0.3/t/response/TestError/syntax.pm line 17, near "\\;"\nCompilation failed in require at (eval 189) line 3.\n
*** The following 2 error entries are expected and harmless ***
[Sun Mar 09 13:51:39 2008] [error] [client 127.0.0.1] This filter must die at /usr/local/mod_perl-2.0.3/t/filter/TestFilter/in_error.pm line 26.\n
[Sun Mar 09 13:51:39 2008] [error] [client 127.0.0.1] Apache2::RequestIO::read: (120001) filter handler has failed at /usr/local/mod_perl-2.0.3/t/filter/TestFilter/in_error.pm line 41
[Sun Mar 09 13:51:59 2008] [error] [client 127.0.0.1] Undefined subroutine &TestHooks::error::bomb called at /usr/local/mod_perl-2.0.3/t/hooks/TestHooks/error.pm line 21.\n
[Sun Mar 09 13:51:59 2008] [error] [client 127.0.0.1] Undefined subroutine &TestHooks::error::bomb called at /usr/local/mod_perl-2.0.3/t/hooks/TestHooks/error.pm line 21.\n
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:52:07 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/mod_perl-2.0.3/t/htdocs/nope
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:52:25 2008] [error] [client 127.0.0.1] need AuthName: /TestModperl__setauth
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:52:27 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/mod_perl-2.0.3/t/htdocs/TestModperl__status
[Sun Mar 09 13:52:27 2008] [error] [client 127.0.0.1] Handler for modperl returned invalid result code 601
[Sun Mar 09 13:52:27 2008] [error] [client 127.0.0.1] Handler for modperl returned invalid result code 1
*** The following error entry is expected and harmless ***
[Sun Mar 09 13:52:27 2008] [error] [client 127.0.0.1] Died at /usr/local/mod_perl-2.0.3/t/response/TestModperl/status.pm line 24.\n
(...)
Alguien sabe como puedo arreglarlo? por favor, estoy muy perdida
O si alguien sabe donde puedo encontrar la respuesta, por favor
Estaría muy muy agradecida
Un saludo |