Re: [EXT]Re: error trying to start httpd with mod_perl enabled

2023-10-27 Thread Johnson, Bruce E - (bjohnson)
Yep, that was it. I thought it had been set to disabled but it was not. On Oct 27, 2023, at 9:31 AM, Andy Osborne wrote: External Email Rocky has SELinux on by default I think. Could be that getting in the way ? What does "getenforce" say ? Andy On 27/10/2023 13:54, Johnso

Re: [EXT]Re: error trying to start httpd with mod_perl enabled

2023-10-27 Thread Johnson, Bruce E - (bjohnson)
] [so:warn] [pid 97206:tid 97206] AH01574: module perl_module is already loaded, skipping Syntax OK # su - webworker $ perl -c /home/allwebfiles/perl/startup.pl [webworker@dhbroomscheduling4 ~]$ perl -c /home/allwebfiles/perl/startup.pl /home/allwebfiles/perl/startup.pl syntax OK -- Bruce Johnson

error trying to start httpd with mod_perl enabled

2023-10-27 Thread Johnson, Bruce E - (bjohnson)
stro of Rocky Linux 8.5, but otherwise all is identical, with the exceptions I”m connecy=ting to Oracle on it not Postgres. (I can connect and query the database using a script on the command line on the new system so I know all of that works) -- Bruce Johnson University of Arizona College

Re: intermittent reception

2022-04-24 Thread Bruce Johnson
tenant, meaning Microsoft has apparently changed the rules again without telling us. On Apr 24, 2022, at 11:56 AM, John Dunlap mailto:j...@lariat.co>> wrote: Aren't blacklisted communications wonderful? On Sun, Apr 24, 2022 at 2:50 PM Bruce Johnson mailto:john...@pharmacy.arizona.

Re: intermittent reception

2022-04-24 Thread Bruce Johnson
C6378777ea6234eb75f1d08da23b8bdc6%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C1%7C637861573629129953%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=DjQNBI7yT%2B7u6vu8rgm9ImoMGPrY%2BnvIUkKNdLuDmpg%3D&reserved=0 Logiciel de su

Re: Weird issue with DBI mysql driver under mod_perl

2020-06-03 Thread Bruce Johnson
PERL5LIB has solved issues for us vs using 'use lib ...' -- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group Institutions do not have opinions, merely customs

Re: Weird issue with DBI mysql driver under mod_perl

2020-06-03 Thread Bruce Johnson
on (); use Apache2::Log (); use Apache2::Const -compile => ':common'; use APR::Const -compile => ':common'; use APR::Table (); use DBI; # Perhaps some other modules you are using in your CGI scripts... 1; On Wed, Jun 3, 2020 at 1:53 PM Bruce Johnson mailto:john...@p

Weird issue with DBI mysql driver under mod_perl

2020-06-03 Thread Bruce Johnson
f I run the script itself on the command line, it works. I only get that error when I run it with a mod_perl handler. I've asked on the DBI list and no one there has any ideas... -- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group Institutions do not have opinions, merely customs

Re: Weird issues using DBI + mod_perl

2019-09-03 Thread Bruce Johnson
Just a follow up…it was embarrassingly stupid. You know how you can stare at an error in a line dozens of times and not see it? Like the ‘#' commenting out "use Apache::DBI” in your startup.pl file ... On Aug 16, 2019, at 2:47 PM, Andreas Mock mailto:andreas.m...@web.de>>

Weird issues using DBI + mod_perl

2019-08-16 Thread Bruce Johnson
middle of the afternoon and I'm seeing 'accesses per minute' kind of traffic. And clues as to where I should start to look? -- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group Institutions do not have opinions, merely customs

Getting DBD::oracle to work with mod_perl

2017-10-17 Thread Bruce Johnson
od-perl on my RHEL6 system I just created a conf file in the /etc/ld.so.conf.d/ directory oracle.conf containing my actual $ORACLE_HOME/lib path, ran /sbin/ldconfig and bounced apache. -- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group Institutions do not h

Re: random token re-used in subsequent requests

2016-05-16 Thread Bruce Johnson
t the source of the random token is the issue here, but the server (or something else, a load balancer, something like that?) caching the request parameters for some reason. Possibly the server is not recognizing it as a new request, and thus not generating the new token. I don’t think it wou

Re: random token re-used in subsequent requests

2016-05-16 Thread Bruce Johnson
etty sure it’s out of one of Larry Wall’s books; I use it to generate random strings for cookies. If it’s properly seeded in the original code, it should either work or not work on all five servers. Not working on one out of the five makes me think maybe there’s some sort of weird caching issue

Re: my mod_perl project

2015-10-02 Thread Bruce Johnson
ee/master/SL-App > > Both are far from polished - I'm sure you can find better examples out there > :) > > On Fri, Oct 2, 2015 at 1:30 PM, Bruce Johnson > wrote: >> And I’d like to just poke at it to see what a working mod_perl site looks >> like, be

Re: my mod_perl project

2015-10-02 Thread Bruce Johnson
t;>> >>> On Thu, Oct 1, 2015 at 4:12 PM, viva marai wrote: >>>> Sorry if these kinds of messages are against the guidelines (I didn't >>>> see >>>> anything prohibiting announcing projects built on mod_perl). >>>> I built a Hacker News cl

Re: Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?

2013-10-22 Thread Bruce Johnson
RVER_NAME --> internal.pharmacy.arizona.edu SERVER_PORT --> 443 SERVER_PROTOCOL --> HTTP/1.1 SERVER_SIGNATURE --> Apache/2.2.15 (Red Hat) Server at internal.pharmacy.arizona.edu Port 443 SERVER_SOFTWARE --> Apache/2.2.15 (Red Hat) SSL_TLS_SNI --> internal.pharmacy.arizona.edu WASIREAD --&

Re: Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?

2013-10-22 Thread Bruce Johnson
On Oct 22, 2013, at 8:23 AM, Torsten Förtsch wrote: > On 21/10/13 19:57, Bruce Johnson wrote: >> We've set a Directory directive for some perl scripts, setting a mod_perl >> handler: >> >> Alias /card_access /home/allwebfiles/perl/catcard >&

Re: Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?

2013-10-21 Thread Bruce Johnson
On Oct 21, 2013, at 2:56 PM, Thomas M. Payerle wrote: > On Mon, 21 Oct 2013, Bruce Johnson wrote: > > Based on path, sounds like you have a 64 bit version of Oracle. I am > assuming that you verified that your mod_perl is a 64 bit build. > yes it is. > Is your mod_perl

Re: Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?

2013-10-21 Thread Bruce Johnson
On Oct 21, 2013, at 2:03 PM, John D Groenveld wrote: > In message <48fe8314-f95b-478b-9f2b-4c83f62dd...@pharmacy.arizona.edu>, Bruce > J > ohnson writes: >> Nope, that looks right: >> >> # ldd /usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so >>

Re: Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?

2013-10-21 Thread Bruce Johnson
On Oct 21, 2013, at 12:57 PM, John D Groenveld wrote: > In message <76e621cc-01d9-4006-aeaa-c0b6d5520...@pharmacy.arizona.edu>, Bruce > J > ohnson writes: >> DBD::Oracle was properly compiled, else it wouldn't work on the command >> line, >> either

Re: Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?

2013-10-21 Thread Bruce Johnson
64-bit everything. The script works if I comment out the mod_perl handler, uncomment the ScriptAlias line and restart Apache, so it HAS to be with the mod_perl handler directives. > > -Original Message- > From: Bruce Johnson [mailto:john...@pharmacy.arizona.edu] >

Re: Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?

2013-10-21 Thread Bruce Johnson
ng updates (this is a vm) On Oct 21, 2013, at 11:42 AM, Fred Moyer wrote: > Where does Oracle.so live on your filesystem? > > > On Mon, Oct 21, 2013 at 11:37 AM, Bruce Johnson > wrote: > > On Oct 21, 2013, at 11:20 AM, Fred Moyer wrote: > > > This is annoyin

Re: Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?

2013-10-21 Thread Bruce Johnson
r/local/share/perl5 INC-> /usr/lib64/perl5/vendor_perl INC-> /usr/share/perl5/vendor_perl INC-> /usr/lib64/perl5 INC-> /usr/share/perl5 INC-> . INC-> /etc/httpd > > > On Mon, Oct 21, 2013 at 10:57 AM, Bruce Johnson > wrote: > We've set

Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?

2013-10-21 Thread Bruce Johnson
ot;; my $dbh = DBI->connect("dbi:Oracle:$dbname", $login, $dbpass, {RaiseError =>1}); print "Content-type: text/html\n\n"; print "It Works"; exit; (and this is just a test , any script using DBI fails with this error.) What am I missing? -- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group Institutions do not have opinions, merely customs

RE: [RELEASE CANDIDATE]: mod_perl-2.0.8 RC1

2013-04-05 Thread Bruce Pettyjohn
ectory `/var/downloads/mod_perl-2.0.8-rc1/WrapXS/Apache2' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/var/downloads/mod_perl-2.0.8-rc1/WrapXS' make: *** [subdirs] Error 2 [root@dev2 mod_perl-2.0.8-rc1]# I'm using Perl 5.16.0 and Apache 2.4.2 on CentOS Linux 5.5 Th

Mod_perl with Apache 2.4 and Perl 5.16

2012-07-22 Thread Bruce Pettyjohn
Hello, Is there a projected release date for mod_perl that works with the latest Apache and Perl. Specifically, Perl 5.16 and Apache 2.4.2. Thanks, Bruce

[mp2] Configure fails w/Perl 5.16.0

2012-06-06 Thread Bruce Pettyjohn
Thanks for any help in resolving this bug. I have been using mod_perl for years and been happy. I would like to take advantage of the new Apache and need mod_perl to be part of it. Cheers, Bruce Pettyjohn -8<-- Start Bug Report 8<---

Re: Safe handling of an SQL query

2012-04-16 Thread Bruce Johnson
the wrong answers from their data... -- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group Institutions do not have opinions, merely customs

Replacement for Apache::TaintRequest

2012-04-05 Thread Bruce Johnson
2.2.15 Configure mod_perl with /root/httpd-2.2.15 ? [y] * WARNING * Apache Version 1.3.0 required, aborting..." This is the latest version from CPANis there a more modern replacement for this? -- Bruce Johnson University of Arizona College of Pharmacy Informa

Re: How find out mod_perl files

2011-03-16 Thread Bruce Johnson
ry/software/mod_perl/mod_perl_cgi.html#> See also: <http://docstore.mik.ua/orelly/weblinux2/modperl/ch02_06.htm> The first thing to try, imo, is just set up the new Apache server with mod_perl and run through the apps, see what breaks...no need to fix things that aren't broken.

Re: problem with CSS in a dynamic document

2009-09-25 Thread Bruce Johnson
sert dynamically created tables, etc. I've used this to output pre-encoded rtf with variable substitution, too. (Hint, use Windows Write to generate the RTF, it makes simple, easy to parse and customize rtf files. The RTF emitted by Word or TextEdit is ginormously complicated) -- Br

Re: Odd error from subprogram in 'required'

2009-09-18 Thread Bruce Johnson
tem; I've got a well-thumbed copy of the porting guide on my desk at this moment :-) -- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group Institutions do not have opinions, merely customs

Odd error from subprogram in 'required'

2009-09-17 Thread Bruce Johnson
ipts. Heck, every CGI perl script on our server uses the same code, which is defined in the '-defaults' file for each application. ONLY this one script is generating the error. I've examined the file, there's no odd characters or anything in it. -- Bruce Johnson Univer

Error with File::upload

2009-09-03 Thread Bruce Johnson
rer: https://www.pharmacy.arizona.edu/avi/edit_av3.pl Examination of the upload directory shows that the file is in fact uploading to the correct place, so I don't know what the issue is. The only html that is processed is : Google has been quite uninformative. -- Bruce Johnson University of Ari

How to use modules?

2009-05-22 Thread Bruce Johnson
/ModPerl/Util.pm line 69. What's the proper way to do this? -- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group Institutions do not have opinions, merely customs

Re: Authentication handler

2008-12-18 Thread Bruce Johnson
On Dec 18, 2008, at 3:31 PM, André Warnier wrote: Bruce Johnson wrote: I'm looking at the code at the modperl.com site <http://www.modperl.com/book/chapters/ch6.html > ('Authenticating against a database') as I need to write an authentication handler for our site.

Authentication handler

2008-12-18 Thread Bruce Johnson
Apache::Constants qw(:common); sub handler { my $r = shift; my $gate = $r->dir_config("Gate"); for mod_perl2 do I just use Apache2::Const qw(:common); and use the rest of that code as a model or will I run into other issues? -- Bruce Johnson University of Arizona College of Pha

Question about Modperl::Util::exit

2008-11-20 Thread Bruce Johnson
oblem, and what do I do to avoid it. Thanks -- Bruce Johnson University of Arizona College of Pharmacy Information Technology Group Institutions do not have opinions, merely customs

mod_perl/apache questions (livejournal)

2005-05-12 Thread bruce
I haven't been able to join the modperl mailing list... thanks Bruce [EMAIL PROTECTED]

oddity (bug?) with param

2003-11-11 Thread Bruce Langlois
I have encountered what I consider a bug in the 'param' method of Apache::Request in mod_perl 1. The method returns a list of parameters, or a '0' if no parameters are found. This makes the following code create a bogus param entry: %input = map {$_ => join("\t", $apr->param($_))} $apr->param;