Re: Weird issue with DBI mysql driver under mod_perl

2020-06-03 Thread Bruce Johnson
Now this was *really* weird. I fixed the DBD::mysql problem by adding '/usr/lib64/perl5/vendor_perl’ to my ‘use’ statement in startup.pl, EVEN THOUGH it’s already in @INC, and DBD::mysql lives in /usr/local/lib64/perl5/DBD DBI lives in that directory, but other scripts using DBI and DBD::Oracle

Re: Weird issue with DBI mysql driver under mod_perl

2020-06-03 Thread Bruce Johnson
Yes I have that set, and my PerlRequire file is pretty minimal: #!/usr/bin/perl use lib qw(/usr/lib64/perl5 /usr/share/perl5 /usr/local/lib64/perl5 /home/allwebfiles/perl/LocalModules /usr/lib64/perl5/vendor_perl/Bundle); use CGI (); use PharmApps::CleanCGI (); CGI->compile(':all'); use DBI (); u

problem with SLES 12, Apache 2,4, mod_perl 2.0.8

2020-06-03 Thread tomcat/perl
Hi. A few days ago, I posted an issue that we experienced with apreq2 on this same platform, which we could in the end resolve but via a somewhat unconventional and complicated route. Now we find another issue with mod_perl, and we do not know how to tackle it. The problem seems to be that wit

Re: Weird issue with DBI mysql driver under mod_perl

2020-06-03 Thread Bill Hess
This MIGHT be the problem... If you have some lines like this in your Apache httpd.conf PerlModule mod_perl2 PerlRequire/path/to/my/conf/files/apache.pl And the file /path/to/my/conf/files/apache.pl should look something like #!/usr/bin/perl use ModPerl::Util (); use Apache2::Reque

Weird issue with DBI mysql driver under mod_perl

2020-06-03 Thread Bruce Johnson
I’m migrating a bunch of old cgi web apps to a new server (CentOS8) and running them under mod_perl. one of them uses the DBD::mysql driver and when running under mod_perl only I get the strange error: [Tue Jun 02 10:29:32.289698 2020] [:error] [pid 3729:tid 140210163652352] DBD::mysql initial