Re: Image::Imlib2 error

2025-03-30 Thread Ruben Safir
istent state >>> /home/ruben/.cpan/build/Image-Imlib2-2.03-0/. >>> /usr/bin/perl Build.PL installdirs=site -- OK >>> Running Build for /home/ruben/.cpan/build/Image-Imlib2-2.03-0/. >>> Building Image-Imlib2 >>> /home/ruben/.cpan/build/Image-Imlib2-2.03-0/

Re: Image::Imlib2 error

2025-03-30 Thread Ian B
e/ruben/.cpan/build/Image-Imlib2-2.03-0/. > > /usr/bin/perl Build.PL installdirs=site -- OK > > Running Build for /home/ruben/.cpan/build/Image-Imlib2-2.03-0/. > > Building Image-Imlib2 > > /home/ruben/.cpan/build/Image-Imlib2-2.03-0/. > > ./Build -- OK > > Runni

Re: Image::Imlib2 error

2025-03-30 Thread Ruben Safir
-2.03-0/. > Building Image-Imlib2 > /home/ruben/.cpan/build/Image-Imlib2-2.03-0/. > ./Build -- OK > Running Build test for > /home/ruben/.cpan/build/Image-Imlib2-2.03-0/. > t/autocrop.t .. 1/8 Image::Imlib2 load error: No loader for > file format at t/autocrop.t line 7. >

Re: Image::Imlib2 error

2025-03-29 Thread Ruben Safir
build/Image-Imlib2-2.03-0/. t/autocrop.t .. 1/8 Image::Imlib2 load error: No loader for file format at t/autocrop.t line 7. It uncovers the error and gives NO HINT how to solve this. I don't even know where the xs files are being compiled and loaded This could be as easy as an ldd ld.

Re: Image::Imlib2 error

2025-03-29 Thread Ruben Safir
I fixed the Images::Imlib2 package so it will at least compile buy hard coding the pkg-config file instead of the removed imlib2-config But it is still not finding the image modules that are used by Image::Imlib2->load() I'm not really sure where that is even being inherited from because I never

Re: Image::Imlib2 error

2025-03-29 Thread Ruben Safir
On 3/29/25 2:45 PM, Ian B wrote: > Make sure you install the Imlib2 headers, something like Imlib2-dev > package. the is no such package :( -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Saf

Re: Image::Imlib2 error

2025-03-29 Thread Ian B
htenment/ > > Alternatively, if you have downloaded and installed imlib2 and this > still will not work, modify the $CONFIG variable inside Build.PL to > point to the imlib2-config program that provides. > > > > The change file of imlib2 says this program has been removed a

Re: Image::Imlib2 error

2025-03-29 Thread Ruben Safir
n recently removed again. Scouring the net for a solution I turned up this: https://stackoverflow.com/questions/66261506/imlib2-saving-image-returns-imlib-load-error-no-loader-for-file-format#66264954 Quote Ok, after digging a little deeper into the imlib2 source it turns out that the loaders are

Re: Image::Imlib2 error

2025-03-29 Thread Ruben Safir
On 3/29/25 3:34 AM, Ian B wrote: > Try nm -D rather than nm > > nm -D /usr/lib/imlib2/loaders/jpeg.so | grep ProgressRows > > I'd be tempted to ask about this question on StackOverflow, there's some > very knowledgeable folk on there, who may have some better things to > check...a part of me

Re: Image::Imlib2 error

2025-03-29 Thread Ian B
Try nm -D rather than nm nm -D /usr/lib/imlib2/loaders/jpeg.so | grep ProgressRows I'd be tempted to ask about this question on StackOverflow, there's some very knowledgeable folk on there, who may have some better things to check...a part of me wants to suggest reinstalling Perls Image::Imli

Re: Image::Imlib2 error

2025-03-28 Thread Ruben Safir
[ruben@www3 ~]$ strings /usr/lib/imlib2/loaders/zlib.so|grep __imlib_FindBestLoader __imlib_FindBestLoader On Fri, Mar 28, 2025 at 10:44:52PM +, Ian B wrote: > Sorry, had missed some of those errors earlier...so looking at these... > > 4304: /usr/lib/imlib2/loaders/jpeg.

Re: Image::Imlib2 error

2025-03-28 Thread Ruben Safir
On Fri, Mar 28, 2025 at 10:44:52PM +, Ian B wrote: > Sorry, had missed some of those errors earlier...so looking at these... > > 4304: /usr/lib/imlib2/loaders/jpeg.so: error: symbol lookup > error: undefined symbol: __imlib_LoadProgressRows (fatal) > 4304: /usr/lib

Re: Image::Imlib2 error

2025-03-28 Thread Ian B
Sorry, had missed some of those errors earlier...so looking at these... 4304: /usr/lib/imlib2/loaders/jpeg.so: error: symbol lookup error: undefined symbol: __imlib_LoadProgressRows (fatal) 4304: /usr/lib/imlib2/loaders/zlib.so: error: symbol lookup error: undefined symbol

Re: Image::Imlib2 error

2025-03-28 Thread Ruben Safir
/imlib2/loaders/jpeg.so linux-vdso.so.1 (0x7bef70eb4000) libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x7bef70def000) libc.so.6 => /usr/lib/libc.so.6 (0x7bef70c01000) /usr/lib64/ld-linux-x86-64.so.2 (0x7bef70eb6000) [www3 ~]# don't look like an error [www3 ~]# ls -al /usr/lib/

Re: Image::Imlib2 error

2025-03-28 Thread Ian B
So, a few bits to check(what distro is this on?) do an 'updatedb' as root/sudo, to rebuild your file search db locate loaders | grep imlib2 Does it show the jpeg.so file ? Eg /usr/lib64/imlib2/loaders/jpeg.so If you do ldd /usr/lib64/imlib2/loaders/jpeg.so (or whatever from previous output)

Re: Image::Imlib2 error

2025-03-28 Thread Ruben Safir
On 3/28/25 10:46 AM, Ian B wrote: > and maybe just check the obvious, if you do "file > /home/ruben/20130303_133505.jpg" does it say its a JPEG ? (assuming on > Linux) > yes -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in

Re: Image::Imlib2 error

2025-03-28 Thread Ruben Safir
sr/lib/libbz2.so.1.0 > > 4304: > > 4304: > > 4304: calling init: /usr/lib/libpng16.so.16 > > 4304: > > 4304: > > 4304: calling init: /usr/lib/libfreetype.so.6 > > 4304: > > 4304: > > 4304: c

Re: Image::Imlib2 error

2025-03-28 Thread Ian B
4304: > 4304: > 4304: calling init: /usr/lib/libX11-xcb.so.1 > 4304: > 4304: > 4304: calling init: /usr/lib/libXext.so.6 > 4304: > 4304: > 4304: calling init: /usr/lib/libImlib2.so.1 > 4304: > 4

Re: Image::Imlib2 error

2025-03-28 Thread Ruben Safir
local/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi/auto/Image/Imlib2/Imlib2.so 4304: 4304: find library=libjpeg.so.8 [0]; searching 4304:search cache=/etc/ld.so.cache 4304: trying file=/usr/lib/libjpeg.so.8 4304: 4304: /usr/lib/imlib2/load

Re: Image::Imlib2 error

2025-03-28 Thread Ian B
and maybe just check the obvious, if you do "file /home/ruben/20130303_133505.jpg" does it say its a JPEG ? (assuming on Linux)

Re: Image::Imlib2 error

2025-03-28 Thread Ian B
you've found... and as you've seen... if (err == IMLIB_LOAD_ERROR_NO_LOADER_FOR_FILE_FORMAT) { Perl_croak(aTHX_ "Image::Imlib2 load error: No loader for file format"); } so IMLIB_LOAD_ERROR_NO_LOADER_FOR_FILE_FORMAT feels like it's the key

Image::Imlib2 error

2025-03-28 Thread Ruben Safir
(/home/ruben/20130303_133505.jpg); if (-e $pic) { print STDERR "File Exists ==> $pic\n"; $image = Image::Imlib2->load($pic); } $image->save("/home/ruben/out.jpg"); [ruben@www3 Image]$ ~/bin/testimlib.pl File Exists ==> /home/ruben/20130303_133505.jpg Image::Imlib

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-11-22 Thread Randolf Richardson
at there's no "use strict;" line. Are you using this in the other scripts in which your users are encountering the HTTP 500 error? > Thanks Perrin. > > The "end user" is getting the following: > > HTTP/1.1 500 Internal Server Error > Date: Tue, 08 Oct

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-10-12 Thread Tim Lank
Thanks Perrin. The "end user" is getting the following: HTTP/1.1 500 Internal Server Error Date: Tue, 08 Oct 2024 20:17:24 GMT Server: Apache/2.4.57 (AlmaLinux) OpenSSL/3.0.7 mod_perl/2.0.12 Perl/v5.32.1 Content-Length: 333 Connection: close Content-Type: text/html; charset=iso-8859-1

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-10-10 Thread Perrin Harkins
DBI is supposed to install the driver when you call connect(), although that does mean any code loaded there isn't shared in memory. My question would be, did you get any actual failed responses in your load test, or just these error log messages? If all the requests succeeded, then I

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-10-10 Thread Tim Lank
Thanks Ed. I'll add it and see if it helps. My load testing phase is already completed, but I may get a chance to retest next year. On Thu, Oct 10, 2024 at 6:32 AM Edward J. Sabol wrote: > On Oct 7, 2024, at 5:55 PM, Tim Lank wrote: > > I have the following in my startup.pl: > > use CGI qw(:a

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-10-10 Thread Edward J. Sabol
On Oct 7, 2024, at 5:55 PM, Tim Lank wrote:I have the following in my startup.pl:use CGI qw(:all);use CGI::Carp 'fatalsToBrowser', 'carpout';use List::Util 'shuffle';CGI->compile(':all');Apache::DBI->connect_on_init  ("DBI:mysql:holidayshop",I don't know if it will help or not, but, before the abo

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-10-10 Thread Tim Lank
x27;); >> Apache::DBI->connect_on_init >> ("DBI:mysql:holidayshop", >> "dba", >> "theactualpw", >> { >>PrintError => 1, # warn() on errors >>RaiseError => 0, # don't die on error >&g

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-10-07 Thread Tim Lank
ompile(':all'); > Apache::DBI->connect_on_init > ("DBI:mysql:holidayshop", > "dba", > "theactualpw", > { >PrintError => 1, # warn() on errors >RaiseError => 0, # don't die on error >

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-10-07 Thread Adam Prime
lsToBrowser', 'carpout'; use List::Util 'shuffle'; CGI->compile(':all'); Apache::DBI->connect_on_init ("DBI:mysql:holidayshop", "dba", "theactualpw", { PrintError => 1, # warn() on errors

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-10-07 Thread Tim Lank
27;shuffle'; >> CGI->compile(':all'); >> Apache::DBI->connect_on_init >> ("DBI:mysql:holidayshop", >> "dba", >> "theactualpw", >> { >>PrintError => 1, # warn() on errors &

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-10-07 Thread Mithun Bhattacharya
'carpout'; > use List::Util 'shuffle'; > CGI->compile(':all'); > Apache::DBI->connect_on_init > ("DBI:mysql:holidayshop", > "dba", > "theactualpw", > { >PrintError => 1,

Apache::DBI - consistently encountering about a .00667% error rate

2024-10-07 Thread Tim Lank
ba", "theactualpw", { PrintError => 1, # warn() on errors RaiseError => 0, # don't die on error AutoCommit => 1, # commit executes immediately } ); $Apache::DBI::DEBUG = 0; 1; mysql> SHOW VARIABLES LIKE 'wait_%'; +-

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

2023-10-27 Thread Johnson, Bruce E - (bjohnson)
they look the same, but httpd fails at startup with the following error: [Thu Oct 26 16:11:46.962322 2023] [perl:error] [pid 96852:tid 96852] Can't locate /home/allwebfiles/perl/startup.pl: /home/allwebfiles/perl/startup.pl: Permission denied at (eval 2) line 1.\n [Thu Oct 26 16:11

Re: error trying to start httpd with mod_perl enabled

2023-10-27 Thread Andy Osborne
y app from oracle to Postgres and need to test this before doing the switchover.) I’ve looked at the apache settings on both systems, file permissions, etc and they look the same, but httpd fails at startup with the following error: [Thu Oct 26 16:11:46.962322 2023] [perl:error] [pid 96852:tid 96

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

2023-10-27 Thread John D Groenveld
In message , "Johnson, Bruce E - (bjohnson)" writes: >apachectl configtest > >[Fri Oct 27 08:41:49.204868 2023] [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

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

2023-10-27 Thread Johnson, Bruce E - (bjohnson)
On Oct 27, 2023, at 6:34 AM, John D Groenveld wrote: The contents of startup.pl seem to be correct (the only change was the dbd line in the DBI startup.) Two tests come to mind that might help you debug: # apachectl configtest apachectl configtest [Fri Oct 27 08:41:49.204868 2023] [so:warn

Re: error trying to start httpd with mod_perl enabled

2023-10-27 Thread John D Groenveld
to test this before doing the switchover.) > >I've looked at the apache settings on both systems, file >permissions, etc and they look the same, but httpd fails at startup >with the following error: > > >[Thu Oct 26 16:11:46.962322 2023] [perl:error] [pid 96852:tid 96852]

error trying to start httpd with mod_perl enabled

2023-10-27 Thread Johnson, Bruce E - (bjohnson)
httpd fails at startup with the following error: [Thu Oct 26 16:11:46.962322 2023] [perl:error] [pid 96852:tid 96852] Can't locate /home/allwebfiles/perl/startup.pl: /home/allwebfiles/perl/startup.pl: Permission denied at (eval 2) line 1.\n [Thu Oct 26 16:11:46.962564 2023] [perl:error]

Error in log - can't find ANONSUB's 'anon3' entry. - plus 500 response from server

2023-10-18 Thread Alex Masidlover
27;s 'anon4' entry. can't find ANONSUB's 'anon3' entry. I've Googled the error and found nothing of any use. I've checked out the mod_perl source code and found the error but have failed to make much further progress, We have reasonable competence in C and m

RE: /usr/lib64/perl5/CORE/perl.h:183:16: error: ‘my_perl’ undeclared

2020-02-18 Thread LARA ZIOSI
_MEMPOOL) #define PERL_TRACK_MEMPOOL # endif #else # undef PERL_TRACK_MEMPOOL #endif -Original Message- From: LARA ZIOSI [mailto:lara.zi...@hcl.com] Sent: Tuesday, February 18, 2020 10:50 AM To: modperl@perl.apache.org Subject: /usr/lib64/perl5/CORE/perl.h:183:16: error: ‘my_perl’ un

/usr/lib64/perl5/CORE/perl.h:183:16: error: ‘my_perl’ undeclared

2020-02-18 Thread LARA ZIOSI
APR::Brigade Writing Makefile for APR::Bucket Writing Makefile for APR::BucketAlloc Writing Makefile for APR::BucketType Writing Makefile for APR::Date Writing Makefile for APR::Error Writing Makefile for APR::Finfo Writing Makefile for APR::IpSubnet Writing Makefile for APR::OS Writing Makefile

Re: use lib error

2016-12-09 Thread mehryar
ib '../lib'; # this did not cause the error anymore, even though the path was incorrect relative to the script. And I think what was happening was that you're right the current working directory was being set to / and ../../lib was an invalid path somehow. Anyway I adopted your

Re: use lib error

2016-12-08 Thread Adam Prime
e lib...' line. Implying again that mod_perl was able to locate > MyApp.pm through the -I/Users/mehryar/Sites/lib. > > But what I don't understand is why it fails if the use lib '../lib'; line > is present in the script? > I get the following error: > Can't locate

use lib error

2016-12-08 Thread mehryar
ut the 'use lib...' line. Implying again that mod_perl was able to locate MyApp.pm through the -I/Users/mehryar/Sites/lib. But what I don't understand is why it fails if the use lib '../lib'; line is present in the script? I get the following error: Can't locate MyApp

Re: Internal apreq error

2016-06-13 Thread KES
eq = $self->request; $req->upload('file') params => { category => -1, type => "image", upload_id => "ecb6073cecf1906c586868825FFF4052", }, When run: $req->upload('file') I get: ERROR: Internal apreq error

Error linking mod_perl

2016-01-18 Thread Rolf Schaufelberger
`.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /opt/perl/lib/5.22.1/x86_64-linux-thread-multi/CORE/libperl.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status make[1]: *** [mod_perl.so] Error 1 make[1]: Leaving directory `/home/rs/mod_perl-

Re: Using non threaded MPM but still compile error

2015-09-24 Thread Terrance Devor
Can anyone help with this?​ T

Re: Using non threaded MPM but still compile error

2015-09-23 Thread Terrance Devor
I just wanted to mention, this the configure we used for apache ./configure --prefix=/usr/local/httpd-2.4.16 --enable-file-cache --enable-cache --enable-disk-cache --enable-mem-cache --enable-deflate --enable-expires --enable-headers --enable-usertrack --enable-ssl --enable-vhost-alias --enable-re

Re: Using non threaded MPM but still compile error

2015-09-23 Thread Terrance Devor
Hello Ken, As you can see, we are also using prefork `Server MPM: prefork` and perl without threading however, we are still getting the error. Can anyone help with this please? Thanks in Advance, Terrance ​

Re: Using non threaded MPM but still compile error

2015-09-22 Thread Ken Peng
We are also using mod_perl. But I have not compiled modperl by hand for a long time. Under ubuntu we just did: apt-get install apache2 apache2-mpm-prefork apt-get install libapache2-mod-perl2 apt-get install libapreq2 apt-get install libapache2-request-perl a2enmod apreq apache2ctl restart And

Using non threaded MPM but still compile error

2015-09-22 Thread Terrance Devor
Hello, I am using perl build without threads and httpd with prefork. My understand that this all non-threaded environment however, when trying to compile mod_perl I still get the error: * perl -V Summary of my perl5 (revision 5 version 20 subversion 2) configuration: Platform: osname

Apache2::Filter internal flush error

2014-11-11 Thread Paul Silevitch
Hello mod_perl-ers, I'm seeing a fair amount of these in my apache error log: Apache2::Filter internal flush: (-3) Unknown error 4294967293 at -e line 0 I'm running apache 2.2.29, mod_perl 2.0.8 on linux. Looking at the source code, it looks like I'm getting into this els

Apache2::Filter internal flush error

2014-11-10 Thread Paul Silevitch
Hello mod_perl-ers, I'm seeing a fair amount of these in my apache error log: Apache2::Filter internal flush: (-3) Unknown error 4294967293 at -e line 0 I'm running apache 2.2.29, mod_perl 2.0.8 on linux. Looking at the source code, it looks like I'm getting into this els

libpthread problem, docs error

2014-07-03 Thread Mark Hedges
al 11, Segmentation fault. #0 0x2adecf86e9eb in read () from /lib64/libpthread.so.0 (gdb) This isn't the libpthread-related error in the troubleshooting section because I built perl 5.20.0 myself with ithreads and then built everything else from scratch with that - CPAN libs, apr/apr-uti

RE: APREQ_ERROR_MISMATCH error, I think

2014-06-23 Thread Mark Hedges
D'oh sorry bad value for POST_MAX, please ignore. -Mark -Original Message- From: Mark Hedges Sent: Monday, June 23, 2014 4:02 PM To: apreq-...@httpd.apache.org; mod_perl list Cc: Mark Hedges Subject: RE: APREQ_ERROR_MISMATCH error, I think No one seems home on the apreq-dev list s

RE: APREQ_ERROR_MISMATCH error, I think

2014-06-23 Thread Mark Hedges
No one seems home on the apreq-dev list so I'm ccing mod_perl in the hope someone can help. Sorry if that annoys anyone. I rebuilt everything using perl 5.20.0, Apache 2.2.27 will all the mods, mod_perl svn trunk. When I use Apache2::Request, I get a server error, it fails with the me

error in Apache::TestSSLCA, cannot build libapreq

2014-06-23 Thread Mark Hedges
tpd/mod_rewrite.so [ debug] libexec/httpd/mod_rewrite.so successfully resolved to existing file /ntfhome/local/libexec/httpd/mod_rewrite.so [ debug] Found: rewrite_module => mod_rewrite.c [ debug] LoadModule rewrite_module mod_rewrite.c [ debug] /etc/httpd/mime.types is already absolute [ d

Re: Error when compiling, please help.

2013-11-05 Thread Steve Hay
On 5 November 2013 12:23, Michiel Beijen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Hi Steve, > > > 11/04/2013 17:54 - Steve Hay wrote: > >> mod_perl does not yet support httpd-2.4.x. It currently only supports >> up to 2.2.x, but work is underway to add 2.4.x support, hopefull

Re: Error when compiling, please help.

2013-11-05 Thread Michiel Beijen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Steve, 11/04/2013 17:54 - Steve Hay wrote: > mod_perl does not yet support httpd-2.4.x. It currently only supports > up to 2.2.x, but work is underway to add 2.4.x support, hopefully in > the next release. I'm curious; first Fedora and now als

Re: Error when compiling, please help.

2013-11-04 Thread Jorge F. Hernandez
On 11/4/2013 12:51 PM, Steve Hay wrote: On 4 November 2013 17:43, Jorge Hernandez wrote: Hey guys, I'm trying to compile mod_perl 2.0.8 for Apache 2.4.6 x64, but when I run "perl Makefile.PL" I get this: ERROR from evaluation of ...\mod_perl-2.0.8\Apache-Reload/Make

Apache HTTPd v2.4.x (was: Re: Error when compiling, please help.)

2013-11-04 Thread Randolf Richardson
[sNip] > mod_perl does not yet support httpd-2.4.x. It currently only supports > up to 2.2.x, but work is underway to add 2.4.x support, hopefully in > the next release. Thanks for the update. I am looking forward to not having to run two different versions of Apache HTTPd on the same bo

Re: Error when compiling, please help.

2013-11-04 Thread Steve Hay
On 4 November 2013 17:43, Jorge Hernandez wrote: > Hey guys, > > I'm trying to compile mod_perl 2.0.8 for Apache 2.4.6 x64, but when I > run "perl Makefile.PL" I get this: > > ERROR from evaluation of ...\mod_perl-2.0.8\Apache-Reload/Makefile.PL: > Use of unini

Error when compiling, please help.

2013-11-04 Thread Jorge Hernandez
Hey guys, I'm trying to compile mod_perl 2.0.8 for Apache 2.4.6 x64, but when I run "perl Makefile.PL" I get this: ERROR from evaluation of ...\mod_perl-2.0.8\Apache-Reload/Makefile.PL: Use of uninitialized value $v in substitution (s///) at Apache-Test/lib/Apache/TestRun.pm line

RE: mod_perl install error (build perl with -Dusethreads)

2013-06-20 Thread Rommel Sharma
Verified using: /install/perl/v5.18/bin/perl -V:useithreads -V:usemultiplicity Result should be like: useithreads='define'; usemultiplicity='define'; I also upgraded mod_perl to 2.0.8 to get over another error message that is discussed here: http://comments.gmane.org/gma

mod_perl install error (build perl with -Dusethreads)

2013-06-19 Thread Rommel Sharma
Hi All, I have Apache/2.2.22 and Perl/v5.18.0 and setting up mod_perl/2.0.7. While installing mod_perl I am getting the following error: Ø file /install/perl/v5.18/perl gives /install/perl/v5.18/perl: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically

Re: Apache::DBI "connection lost contact" error

2013-06-13 Thread Xinhuan Zheng
Yes. It's the same way using it. There is database handle created in startup.pl. The startup.pl file is configured in block. The "connection lost contact" error only happens when either in "apachectl stop" or when a child process exits. - xinhuan From: Pe

Re: Apache::DBI "connection lost contact" error

2013-06-13 Thread Perrin Harkins
: Fred Moyer > Cc: Xinhuan Zheng , "modperl@perl.apache.org" < > modperl@perl.apache.org> > > Subject: Re: Apache::DBI "connection lost contact" error > > Thanks Fred! > > > On Wed, Jun 12, 2013 at 3:29 AM, Fred Moyer wrote: > >> Apac

Re: Apache::DBI "connection lost contact" error

2013-06-12 Thread Xinhuan Zheng
y, June 12, 2013 5:53 AM To: Fred Moyer mailto:f...@redhotpenguin.com>> Cc: Xinhuan Zheng mailto:xzh...@christianbook.com>>, "modperl@perl.apache.org<mailto:modperl@perl.apache.org>" mailto:modperl@perl.apache.org>> Subject: Re: Apache::DBI "connection lost co

Re: Apache::DBI "connection lost contact" error

2013-06-12 Thread Perrin Harkins
atch and see about getting a new release > out > > to CPAN. > > > > - Perrin > > > > > > On Thu, Jun 6, 2013 at 5:02 PM, Xinhuan Zheng > > wrote: > >> > >> Hi Perrin, > >> > >> I did a testing with debugging.

Re: Apache::DBI "connection lost contact" error

2013-06-12 Thread Fred Moyer
On Thu, Jun 6, 2013 at 5:02 PM, Xinhuan Zheng > wrote: >> >> Hi Perrin, >> >> I did a testing with debugging. I don't see the "connection lost contact" >> error anymore. The patch looks good to me. >> >> Thanks, >> - xinhua

Re: Apache::DBI "connection lost contact" error

2013-06-06 Thread Perrin Harkins
That's great! I'll commit the patch and see about getting a new release out to CPAN. - Perrin On Thu, Jun 6, 2013 at 5:02 PM, Xinhuan Zheng wrote: > Hi Perrin, > > I did a testing with debugging. I don't see the "connection lost > contact" erro

Re: Apache::DBI "connection lost contact" error

2013-06-06 Thread Xinhuan Zheng
Hi Perrin, I did a testing with debugging. I don't see the "connection lost contact" error anymore. The patch looks good to me. Thanks, - xinhuan From: Perrin Harkins mailto:phark...@gmail.com>> Date: Thursday, June 6, 2013 3:02 PM To: Xinhuan Zheng mailto:xzh...@c

Re: Apache::DBI "connection lost contact" error

2013-06-06 Thread Perrin Harkins
On Thu, Jun 6, 2013 at 12:22 PM, Xinhuan Zheng wrote: > The database handle that is created in startup.pl needs to be really disconnected (not overloaded disconnect) so that won't leave an idle server > process running on the database side. Once it's really disconnected, the server process can be

Re: Apache::DBI "connection lost contact" error

2013-06-06 Thread Xinhuan Zheng
om>> Cc: Jim Schueler mailto:jschue...@eloquency.com>>, "modperl@perl.apache.org<mailto:modperl@perl.apache.org>" mailto:modperl@perl.apache.org>> Subject: Re: Apache::DBI "connection lost contact" error On Tue, Jun 4, 2013 at 2:32 PM, Xinhuan Zheng ma

Re: Apache::DBI "connection lost contact" error

2013-06-05 Thread Perrin Harkins
On Tue, Jun 4, 2013 at 2:32 PM, Xinhuan Zheng wrote: > I have seen in other web servers when apachectl starts, there is no "connect lost contact" error but it did happen when apachectl stops. If your server does not receive constant requests, you may see this error on shutdown b

Re: Apache::DBI "connection lost contact" error

2013-06-04 Thread Xinhuan Zheng
Hi Perrin, I have seen in other web servers when apachectl starts, there is no "connect lost contact" error but it did happen when apachectl stops. If child process uses ping the inherited database handle and it is ping-able, then the child process may use it. That'll be a probl

Re: Apache::DBI "connection lost contact" error

2013-06-04 Thread Perrin Harkins
On Tue, Jun 4, 2013 at 9:59 AM, Xinhuan Zheng wrote: > Will the new connection that's created be cached after then and the connection that's not ping-able will be discarded? Yes. > Will this cached the new connection last until the child process exit? Yes, unless it times out on the Oracle side

Re: Apache::DBI "connection lost contact" error

2013-06-04 Thread Xinhuan Zheng
Hi Perrin, > It looks to me like there's no danger here, just an annoying error message. > Your connection from the parent process is being passed across the fork, but > then when each child process tries to check it with ping() it fails and a new > connection is opened t

Re: Apache::DBI "connection lost contact" error

2013-06-04 Thread Perrin Harkins
On Mon, Jun 3, 2013 at 4:36 PM, Dave Morgan wrote: > As an administrator I still rely and depend on Apache::DBI, even if it is unsupported. Can we kill this rumor please? Apache::DBI is supported. - Perrin

Re: Apache::DBI "connection lost contact" error

2013-06-03 Thread Fred Moyer
On Mon, Jun 3, 2013 at 2:36 PM, Dave Morgan wrote: > On 06/03/2013 03:14 PM, Perrin Harkins wrote: > > DO NOT USE Apache::DBI with DBI::Connector or any other database caching > technique. This requires > knowledge of the code!!! DBIx::Class monkey patches Apache::DBI so that the caching behavior

Re: Apache::DBI "connection lost contact" error

2013-06-03 Thread Dave Morgan
On 06/03/2013 03:14 PM, Perrin Harkins wrote: On Monday, June 3, 2013, Xinhuan Zheng wrote: > What is the check to see if the server is restarting? Is that new child processes spawning? I always found the best way to run/test Apache::DBI was to run a mod-perl enabled http server without Apac

Apache::DBI "connection lost contact" error

2013-06-03 Thread Perrin Harkins
e 128: if (Apache2::ServerUtil::restart_count() == 1) { > If there is a bug in how it checks to see if the server is restarting, does it affect putting it into production use? It looks to me like there's no danger here, just an annoying error message. Your connection from the parent process is be

Re: Apache::DBI "connection lost contact" error

2013-06-03 Thread Xinhuan Zheng
Hi Perrin, > Does Apache::DBI work right with Apache2+mod_perl2? Yes, but there may be a bug in how it checks to see if the server is restarting. What is the check to see if the server is restarting? Is that new child processes spawning? If there is a bug in how it checks to see if the server

Re: Apache::DBI "connection lost contact" error

2013-06-01 Thread Perrin Harkins
same Database Handle? It looks like that first handle is being copied across the fork from the parent process. They don't really use it, because it fails the ping test and they just open new handles. It should not cause any real problems, just the error in your log. > Does Apache::DBI work

Re: Apache::DBI "connection lost contact" error

2013-05-31 Thread Xinhuan Zheng
I set this DEBUG in Apache::DBI module. Here is the debugging error it produces at 'apachectl start': 2520 Apache::DBI skipping connection during server startup, read the docu !! 2520 Apache::DBI skipping connection during server startup, read the docu !! 2

Re: Apache::DBI "connection lost contact" error

2013-05-31 Thread Perrin Harkins
Well, you are on the modperl list, so that means you. :) Xinhuan, the error is harmless, but if you're concerned about it I would try turning on debugging to make sure the connection is not being cached. Do this: $Apache::DBI::DEBUG = 2; And then watch for a message like this in you

Re: Apache::DBI "connection lost contact" error

2013-05-31 Thread Jim Schueler
subscribe. -Jim On Fri, 31 May 2013, Xinhuan Zheng wrote: I believe I am using "my" declaration rather than "local". I also tried explicitly disconnect but still have same issue. Since it only happens in parent/child processes, I don't know a good way to debug parent/ch

Re: Apache::DBI "connection lost contact" error

2013-05-31 Thread Xinhuan Zheng
I believe I am using "my" declaration rather than "local". I also tried explicitly disconnect but still have same issue. Since it only happens in parent/child processes, I don't know a good way to debug parent/child, nor reproducing the same error using a simple program.

Re: Apache::DBI "connection lost contact" error

2013-05-31 Thread Jim Schueler
2013 at 7:46 PM, Xinhuan Zheng wrote: The db handle is declared local and once it's out of scope, the destroy call will disconnect. But it appears even though variable is out of scope, we still get that error. Don't know why. - xinhuan On 5/30

Re: Apache::DBI "connection lost contact" error

2013-05-31 Thread Perrin Harkins
Try an explicit disconnect() call. - Perrin On Thu, May 30, 2013 at 7:46 PM, Xinhuan Zheng wrote: > The db handle is declared local and once it's out of scope, the destroy > call will disconnect. But it appears even though variable is out of scope, > we still get that error.

Re: Apache::DBI "connection lost contact" error

2013-05-30 Thread Xinhuan Zheng
The db handle is declared local and once it's out of scope, the destroy call will disconnect. But it appears even though variable is out of scope, we still get that error. Don't know why. - xinhuan On 5/30/13 8:31 AM, "Jim Schueler" wrote: >Did this solve your problem?

Re: Apache::DBI "connection lost contact" error

2013-05-30 Thread Jim Schueler
$DB_DRIVER, $DB_USER, $DB_PASSWORD ); use DBI; I need to call DBI->connect to load some data during server startup stage. There is problem with this setup. Whenever apachectl startup/shutdown, we got connection error like this: DBD::Oracle::db DESTROY failed: ORA-03135: connection lost contact

Re: Apache::DBI "connection lost contact" error

2013-05-29 Thread Perrin Harkins
t; > use DBI; > > > I need to call DBI->connect to load some data during server startup > stage. There is problem with this setup. Whenever apachectl > startup/shutdown, we got connection error like this: > > DBD::Oracle::db DESTROY failed: ORA-03135: connection lost contac

Re: Apache::DBI "connection lost contact" error

2013-05-29 Thread Jim Schueler
A few questions: Precisely when do you get this error? When startup.pl exits or before? Can you send a copy of your startup.pl file? You get exactly the same error on startup and shutdown? If PerlRequire startup.pl is commented out, do you still get errors? Do you get errors when

Apache::DBI "connection lost contact" error

2013-05-29 Thread Xinhuan Zheng
to call DBI->connect to load some data during server startup stage. There is problem with this setup. Whenever apachectl startup/shutdown, we got connection error like this: DBD::Oracle::db DESTROY failed: ORA-03135: connection lost contact Process ID: 0 Session ID: 3252 Serial number: 1

Re: Net::SAML2 Compilation Error

2013-05-28 Thread Torsten Förtsch
On 28/05/13 09:06, Nageswara rao Gurram wrote: > I am using PerlModule Apache2::porting for debugging purpose. Oh my goodness! I have never had a look at this module before. This thing tries to be really clever. It installs an &UNIVERSAL::AUTOLOAD and overwrites CORE::GLOBAL::require. The module

Re: Net::SAML2 Compilation Error

2013-05-27 Thread Torsten Förtsch
On 27/05/13 14:37, Nageswara rao Gurram wrote: > My mod_perl simply can't load XML::Generator. As soon as I put "use > XML::Generator;" in a perl startup file and include in httpd.conf, > Apache won't start, complaining that it can't locate > XML/Generator/overload.pm in @INC. > > But the package

Re: Net::SAML2 Compilation Error

2013-05-27 Thread Nageswara rao Gurram
:39 PM, Nageswara rao Gurram wrote: > Hi, >I Installed new Module Net::SAML2 and all its dependencies. But > when I try to use it, I am getting Compilation error. > I put 'use Net::SAML2' in my other module which causes the error, and > also I verified it INC path too, it

Net::SAML2 Compilation Error

2013-05-27 Thread Nageswara rao Gurram
Hi, I Installed new Module Net::SAML2 and all its dependencies. But when I try to use it, I am getting Compilation error. I put 'use Net::SAML2' in my other module which causes the error, and also I verified it INC path too, it exists. More Info on error: [Mon May 27 11:36:34 20

  1   2   3   4   5   6   7   8   9   10   >