You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Mi...@gad.de on 2001/05/08 12:50:38 UTC

Startup behavier of Filter::Util::Call and DBI

Hi all,

I just updated our development system to some recent versions...

Perl 5.6.0->5.6.1, Apache 1.3.14->1.3.19, mod_perl 1.24_1->1.25, DBI 1.14->1.15,
Filter 1.19->1.23 (+16 others).

Now this is what I get at server startup:

# /opt/apache/bin/apachectl start
startup.pl: starting (0)
/opt/apache/bin/apachectl start: httpd started
startup.pl: starting (1)
Subroutine Filter::tee::import redefined at
/opt/perl/lib/site_perl/5.6.1/aix/Filter/tee.pm line 11.
Subroutine filter_read_exact redefined at
/opt/perl/lib/site_perl/5.6.1/aix/Filter/Util/Call.pm line 24.
Subroutine filter_add redefined at
/opt/perl/lib/site_perl/5.6.1/aix/Filter/Util/Call.pm line 44.
Subroutine Filter::Util::Call::filter_read redefined at
/opt/perl/lib/site_perl/5.6.1/aix/Filter/Util/Call.pm line 59.
Subroutine Filter::Util::Call::real_import redefined at
/opt/perl/lib/site_perl/5.6.1/aix/Filter/Util/Call.pm line 59.
Subroutine Filter::Util::Call::filter_del redefined at
/opt/perl/lib/site_perl/5.6.1/aix/Filter/Util/Call.pm line 59.
Subroutine Filter::Util::Call::unimport redefined at
/opt/perl/lib/site_perl/5.6.1/aix/Filter/Util/Call.pm line 59.
startup.pl: starting (2)
DBI handle cleared whilst still active at
/opt/perl/lib/site_perl/5.6.1/aix/DBI.pm line 207.
    dbih_clearcom (h 0x20189a90, com 0x2066cac8):
       FLAGS 0x211: COMSET Warn ShowErrorStatement AutoCommit
       TYPE 1
       PARENT undef
       KIDS 0 (0 active)
       IMP_DATA undef in 'DBD::DB2::dr'
[Tue May  8 11:59:41 2001] [notice] Apache/1.3.19 (Unix) mod_perl/1.25
mod_ssl/2.8.3 OpenSSL/0.9.6 configured -- resuming normal operations

Note: We don't use Apache::DBI, for the childs we do connection caching
ourselves and in the parent (startup.pl) we bootstrap a lot of ressources from
the DB to RAM (and disconnect!).

Now I've got 4 questions:

1.) What can I do about the "Subroutine Filter... redefined" messages in the 2nd
startup cycle and on further restarts. (They are new with the upgrade.)

2.) What can I do about the "DBI handle cleared" message in the 3rd startup
cycle. (This is not related to the upgrade.)

3.) Why is startup.pl executed THREE times? I thought it would be executed only
twice (with PerlFreshRestart ON)?

4.) Why do the redefineds come up in the 2nd startup and on further restarts and
the DBI in the 3rd only?

Thanks&cu
Michael Jacob