Geoff,

I believe I did ask you asked, but it looks like RegistryPrefork.pm should have been in the tarball you sent, but it wasn't. Please let me know if I was supposed to use my own RegistryPrefork.pm.

Here is what I did:
1. Renamed the RegistryPrefork.pm that I had put in the vendor_perl directory to SecondRegistryPrefork.pm_second.
2. cd /tmp
3. tar xvzf pseudohash-bug.tar.gz
4. cd pseudohash-bug
5. perl Makefile.PL -apxs /usr/sbin/apxs:
Checking if your kit is complete...
Looks good
Writing Makefile for pseudohash
6. make test TEST_VERBOSE=1
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -clean
APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS= \
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST
/usr/sbin/httpd -d /tmp/pseudohash-bug/t -f /tmp/pseudohash-bug/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS
using Apache/2.0.40 (prefork MPM)


waiting for server to start: ...
waiting for server to start: ok (waited 2 secs)
server localhost.localdomain:8529 started
bug....NOK 1# Failed test 1 in bug.t at line 13 bug....FAILED test 1 Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
bug.t 1 1 100.00% 1
*** server localhost.localdomain:8529 shutdown
!!! error running tests (please examine t/logs/error_log)
make: *** [run_tests] Error 1


Here are the contents of t/logs/error_log:
[Thu Aug 14 10:52:01 2003] [info] mod_unique_id: using ip addr 10.0.3.2
[Thu Aug 14 10:52:02 2003] [notice] Digest: generating secret for digest authentication ...
[Thu Aug 14 10:52:02 2003] [notice] Digest: done
[Thu Aug 14 10:52:02 2003] [info] mod_unique_id: using ip addr 10.0.3.2
[Thu Aug 14 10:52:03 2003] [notice] Apache/2.0.40 (Red Hat Linux) mod_perl/1.99_07-dev Perl/v5.8.0 DAV/2 configured -- resuming normal operations
[Thu Aug 14 10:52:03 2003] [info] Server built: May 20 2003 10:15:29
[Thu Aug 14 10:52:03 2003] [debug] /usr/src/build/250859-i386/BUILD/httpd-2.0.40/server/mpm/prefork/prefork.c(1039): AcceptMutex: sysvsem (default: sysvsem)
[Thu Aug 14 10:52:03 2003] [error] Can't locate ModPerl/RegistryPrefork.pm in @INC (@INC contains: /tmp/pseudohash-bug/blib/lib /tmp/pseudohash-bug/blib/arch /tmp/pseudohash-bug/t /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at (eval 2) line 3.!
[Thu Aug 14 10:52:03 2003] [error] failed to resolve handler `ModPerl::RegistryPrefork'
[Thu Aug 14 10:52:03 2003] [error] [client 127.0.0.1] Can't locate ModPerl/RegistryPrefork.pm in @INC (@INC contains: /tmp/pseudohash-bug/blib/lib /tmp/pseudohash-bug/blib/arch /tmp/pseudohash-bug/t /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at (eval 2) line 3.!
[Thu Aug 14 10:52:03 2003] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Thu Aug 14 10:52:03 2003] [info] removed PID file /tmp/pseudohash-bug/t/logs/httpd.pid (pid=5356)
[Thu Aug 14 10:52:03 2003] [notice] caught SIGTERM, shutting down


Thanks for your assistance,

Ed Ruben
Keyhole, Corp.

Geoffrey Young wrote:



Ed Ruben wrote:

Stas,

Thank you and thanks Geoff.

I changed the warnings pragma to your suggestion, but unfortunately, it
still fails:

[Wed Aug 13 14:00:49 2003] [error] [client 10.0.3.131] Can't coerce array
into hash at
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/ModPerl/RegistryPre


fork.pm line 26.!

I'll keep my fingers crossed that Geoff can duplicate the problem and come
up with a solution on his system.


no such luck.

I created an Apache-Test tarball to try it out and I can't reproduce it with RH9's perl. I'm using a self-compiled mod_perl and apache, though, not the rpm packages that ship with RH9. I used the ModPerl::RegistryPrefork from the docs and installed it locally to Apache-Test.

attached is the tarball. please uninstall RegistryPrefork.pm from your vendor_perl directory before trying it out, just to avoid possible collisions. if the tests pass then it must be something within your code. if not...

--Geoff




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to