Doug MacEachern wrote:
> 
> very wierd.  do you have PerlFreshRestart On?  try turning it Off.  there
> was a report a while ago about one of the MIME:: modules pulling a stunt
> at the file-scope level, that is only exposed if the module is reloaded
> (which FreshRestart does)
> 
> -Doug

I do not have FreshRestart on...

> 
> On Thu, 7 Oct 1999, Eugene Miretskiy wrote:
> 
> > Hello,
> >
> > After upgrading my machine to FreeBSD3.3, I ran into the problems loading modules
> > at startup time...
> >
> > I would like to load the following modules at start up (I have them in 
>startup.perl file
> > loaded from httpd.conf):
> >
> >   use Apache::Registry;
> >   use Apache::Request;
> >   use Apache::DBI ();
> >   use MIME::Body;
> >
> > The server does not start -- instead I get this in my error_log:
> >    Can't locate object method "trace_msg" via package "DBI" at
> > /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm      line 311.
> >    END failed--cleanup aborted.
> >    run: Operation not supported by device
> >
> > An interesting thing is that if I comment out MIME::Body (leave Apache::DBI) the 
>server starts ok.
> > If I comment out Apache::DBI (leave MIME::Body) the server also starts ok.
> > Only when both of these modules are loaded I gen into a problem.
> >
> > Here is a snipplet of code from DBI that causes the problem:
> > END {
> >     DBI->trace_msg("    -> DBI::END\n", 2);                              ##LINE 311
> >     # Let drivers know why we are calling disconnect_all:
> >     $DBI::PERL_ENDING = $DBI::PERL_ENDING = 1;  # avoid typo warning
> >     DBI->disconnect_all() if %DBI::installed_drh;
> >     DBI->trace_msg("    <- DBI::END complete\n", 2);
> > }
> >
> > Finally, If I comment out DBI->trace_msg, the server starts fine with both 
>Apache::DBI and
> > MIME::Body loaded.
> >
> > Any ideas to this weirdness?
> >
> > All modules are latest version.
> >
> > Thank you very much.
> >
> > P.S.: please reply to my email address as well ([EMAIL PROTECTED])
> >
> > --
> >   Eugene Miretskiy <[EMAIL PROTECTED]>
> >   InVision, INC.  (516) 543-1000x219
> >   http://www.invision.net
> >

-- 
  Eugene Miretskiy <[EMAIL PROTECTED]>
  InVision, INC.  (516) 543-1000x219      
  http://www.invision.net

Reply via email to