"Young, Geoffrey S." wrote:
>
> That sounds weird...
>
> Anyway, did you try adding
>
> use DBI;
Yes I did try that...
>
> in your startup.perl script (after Apache::DBI, that is)?
>
> Also, I think I remember reading someone say that any time they upgrade
> their system, perl, or whatever, they re-compile all their modules. I
> haven't gone through that yet (and I'm on Linux), but maybe that will help
> if you were getting the startup script to work before?
That script was working fine before...
>
> As to other associated weirdness, I dunno...
>
> hope this helps some
Thank for reply...
>
> --Geoff
>
> > -----Original Message-----
> > From: Eugene Miretskiy [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, October 07, 1999 3:33 PM
> > To: [EMAIL PROTECTED]
> > Subject: weird mod_perl startup problems
> >
> > 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