Re: Config errors when building mod-perl-2.0.12

2022-08-21 Thread Mehul Sanghvi
Ed, Thanks for the reply. > On Aug 21, 2022, at 15:23, Edward J. Sabol wrote: > > On Aug 20, 2022, at 8:54 AM, Mehul Sanghvi wrote: >> Since there seems to be activity on the mailing list, I’m re-posting the >> below query, in case it was missed earlier. > > I looked at this when you pos

Re: Config errors when building mod-perl-2.0.12

2022-08-21 Thread Edward J. Sabol
On Aug 20, 2022, at 8:54 AM, Mehul Sanghvi wrote: > Since there seems to be activity on the mailing list, I’m re-posting the > below query, in case it was missed earlier. I looked at this when you posted it previously, but I couldn't find the cause and neglected to subsequently follow up. (To b

Re: Config errors when building mod-perl-2.0.12

2022-08-20 Thread Mehul Sanghvi
Hi, Since there seems to be activity on the mailing list, I’m re-posting the below query, in case it was missed earlier. cheers, mehul -- Mehul Sanghvi mehul.sang...@gmail.com LFC | Form is temporary. Class is permanent | YNWA > On Jul 15, 2022, at 00:14, Mehul Sanghvi wrote: > > H

Config errors when building mod-perl-2.0.12

2022-07-14 Thread Mehul Sanghvi
Hi, I'm trying to build apache-2.4.54 and latest mod_perl and package them together in a single package. But I run into a problem when building mod_perl. Here is a link to the paste: http://ix.io/44bb/bash How can I get the Makefile.pl to look in /workspace/fakeroot/opt/apache for the 'inc

Re: Syntax errors in case of threaded MPM and lots of concurrent requests.

2019-08-20 Thread Thorsten Schöning
Guten Tag John Dunlap, am Montag, 19. August 2019 um 17:11 schrieben Sie: > I'm surprised that you're able to use the threaded MPM at all. As you already said, things seem to heavily depend on the used packages. Besides the problem introduced at some point I have written about in this thread, thr

Re: Syntax errors in case of threaded MPM and lots of concurrent requests.

2019-08-19 Thread John Dunlap
I'm surprised that you're able to use the threaded MPM at all. The only MPM we're able to make work with our application is prefork. As far as I'm aware, Perl itself and its core libraries are thread safe but because Perl spent the last 3 decades without official threading support, most of the modu

Re: Syntax errors in case of threaded MPM and lots of concurrent requests.

2019-08-19 Thread Clément OUDOT
Le mer. 31 juil. 2019 à 19:33, Thorsten Schöning a écrit : > > Hi all, > > I'm struggling for 2+ years[1][2] with a problem using mod_perl on > Linux which I was finally able to reproduce on Windows as well. Hello Thorsten, we face the same issues with mod_perl in LemonLDAP::NG (https://lemonlda

Syntax errors in case of threaded MPM and lots of concurrent requests.

2019-07-31 Thread Thorsten Schöning
Hi all, I'm struggling for 2+ years[1][2] with a problem using mod_perl on Linux which I was finally able to reproduce on Windows as well. If the problem occurs, mod_perl is unable to compile my app with all kinds of weird syntax errors, most likely in the core-libs already. The following i

How to debug mod_perl compilation errors during start and reload of Apache httpd 2.4?

2017-09-22 Thread Thorsten Schöning
Hi all, I would like to pay some attention on the following problem, which keeps hurting me once a while. Thanks! https://superuser.com/questions/1216484/how-to-debug-mod-perl-compilation-errors-during-start-and-reload-of-apache-httpd I'm running Ubuntu 16.04 LTS with httpd 2.4 and mod_per

Errors running "make test" on trunk mod_perl-2.0

2015-02-27 Thread Jie Gao
Source from https://svn.apache.org/repos/asf/perl/modperl/trunk/ . Make test fails: # > t/TEST -v t/perl/ithreads3.t [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/local/bin/perl /usr/local/src/mod_perl-2.0/t/TEST -v 't/perl/ithreads3.t' /usr/local/httpd-2.4.12/bin/httpd

Re: Errors in the wrong place and wrong format

2014-11-27 Thread John Dunlap
for my virtual > > host) and warn errors in /var/log/apache2/error.log > > > > What on Earth could be the reason for that? > > I can't tell you the reason, but there is a workaround if that bothers you > : > > http://perl.apache.org/docs/2.0/api/Apache2/Log.html#

Re: Errors in the wrong place and wrong format

2014-11-26 Thread Vincent Veyron
On Tue, 25 Nov 2014 11:11:13 +1300 Worik Stanton wrote: > I get "die" erors in one log file (the one specified for my virtual > host) and warn errors in /var/log/apache2/error.log > > What on Earth could be the reason for that? I can't tell you the reason, but th

Re: Errors in the wrong place and wrong format

2014-11-24 Thread Worik Stanton
On 21/11/14 04:19, Perrin Harkins wrote: > I think that only redirects errors logged with Apche2::Log, not all of > STDERR. There might be a workaround for capturing STDERR. I'd try searching > the mailing list archives. > > - Perrin I get "die" erors in one log

Re: Errors in the wrong place and wrong format

2014-11-20 Thread Perrin Harkins
I think that only redirects errors logged with Apche2::Log, not all of STDERR. There might be a workaround for capturing STDERR. I'd try searching the mailing list archives. - Perrin On Mon, Nov 17, 2014 at 6:28 PM, worik wrote: > My virtual host has errors redirected to: > > Wo

Errors in the wrong place and wrong format

2014-11-17 Thread worik
My virtual host has errors redirected to: Worik.errors.log (ErrorLog ${APACHE_LOG_DIR}/Worik.error.log) It is in this virtueal host that I have set-up mod-perl. Why then are errors sent to error.log? And why do errors emanating from mod_perl not have time stamps? -- Why is the legal status

Errors running make test (after compiling)

2014-10-16 Thread Dani Molina
Hi, I got errors running make test. As read on the web page, I repeated only the failing tests, and I got this, but I don't know what is happenning and/or how to fix. I see that the failing tests are 2, 3 and 5 from t/api/err_headers_out.t The complete output is: |$ ||*make

errors building mod_perl 64 bit on Solaris 10 sparc with solarisstudio compiler

2013-09-10 Thread Kartik Vashishta
-c modperl_perl.c && mv modperl_perl.o modperl_perl.lo "modperl_perl.c", line 272: undefined symbol: PL_rehash_seed "modperl_perl.c", line 273: undefined symbol: PL_rehash_seed_set cc: acomp failed for modperl_perl.c *** Error code 2 make: Fatal error: Command failed for target `modperl_perl.lo' Cu

Re: Errors building mod_perl on 64 bit perl Solaris

2013-05-31 Thread Kartik Vashishta
Summary: Building 64 bit perl, mod_perl 64 bit apache and connecting to 64 bit MySql database on Solaris Sparc We could successfully build 64 bit apache with the configuration options so kindly shared by John D. Groenveld, also, in order to build mod_perl on 64 bit perl we had to recompile perl 64

Re: Errors building mod_perl on 64 bit perl Solaris

2013-05-30 Thread John D Groenveld
In message , Kartik Vashishta writes: >perl was built with the same compiler as mod_perl >./Configure -ders -Dcc=cc -Ud_sigsetjmp -Uinstallusrbinperl -Ulocincpth= >-Uloclibpth= -Duse64bitint -Duse64bitall -Ud_strerror_r -Ud_signbit >-Duselargefiles -Dprefix=/usr/perl6/5.18.0 config_args='-Dprefi

Re: Errors building mod_perl on 64 bit perl Solaris

2013-05-30 Thread Kartik Vashishta
perl was built with the same compiler as mod_perl ./Configure -ders -Dcc=cc -Ud_sigsetjmp -Uinstallusrbinperl -Ulocincpth= -Uloclibpth= -Duse64bitint -Duse64bitall -Ud_strerror_r -Ud_signbit -Duselargefiles -Dprefix=/usr/perl6/5.18.0 apache was built from sources.probably used gccnot sure

Re: Errors building mod_perl on 64 bit perl Solaris

2013-05-29 Thread John D Groenveld
In message , Kartik Vashishta writes: >and on 2.0.8, I am getting the following error: > >symbol PL_check: relocations based on the ABS44 coding model can not be >used in building a shared object mod_perl 2.0.8 builds for me with 64-bit perl 5.18.0 and apache httpd 2.2.24 under Solaris 10 with So

Errors building mod_perl on 64 bit perl Solaris

2013-05-29 Thread Kartik Vashishta
Hi, I am getting the following errors on 2.0.7: Manifying ../blib/man3/Apache2::Reload.3 modperl_perl.c: In function âmodperl_hash_seed_setâ: modperl_perl.c:272:9: error: âPL_rehash_seedâ undeclared (first use in this function) modperl_perl.c:272:9: note: each undeclared identifier is reported

bad hostname errors

2013-03-21 Thread Ryan Perry
Once in awhile I start getting errors from LWP telling me that google.com(or whatever API I'm connecting to) is a bad hostname. It will continue until I restart httpd and it works again for about a week. I just wanted to reach out to see if anyone had any insight or help me track this

RE: Not possible to track connection reset errors post-2.0.6?

2012-10-31 Thread Steve Hay
browsers. [Steve Hay] > > And this is the relevant commit: > http://mail-archives.apache.org/mod_mbox/perl-modperl- > cvs/201105.mbox/%3c20110518093000.d37462388...@eris.apache.org%3E > > I maintain an application where we logged these rflush and print > errors ourselves [...] >

Not possible to track connection reset errors post-2.0.6?

2012-10-16 Thread Ævar Arnfjörð Bjarmason
x/perl-modperl-cvs/201105.mbox/%3c20110518093000.d37462388...@eris.apache.org%3E I maintain an application where we logged these rflush and print errors ourselves by: 1. Re-blessing the Apache $r object into a clas sof our own: 2. That class would define rflush/print as: sub print {

RE: Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
> > print STDERR > > I don't use "print STDERR" much. So, I am not sure if you have to set > $|=1 for > the handle. What happens if you replace "print STDERR" by "warn"? The > postconfig phase comes after openlogs. So, STDERR should point to the > main > server errorlog. For now, to avoid any such

RE: Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
>>>> I see a hit in the access logs. >>>> >>>> I get an Internal Server Error. >>>> >>>> And still, the error log is completely silent. This is my problem. >>>> >>>> Without server errors I get a bit lost. >&g

Re: Quiet Internal Server Errors

2012-04-04 Thread Torsten Förtsch
On Wednesday, 04 April 2012 11:42:55 Josh Narins wrote: > print STDERR I don't use "print STDERR" much. So, I am not sure if you have to set $|=1 for the handle. What happens if you replace "print STDERR" by "warn"? The postconfig phase comes after openlogs. So, STDERR should point to the main

Re: Quiet Internal Server Errors

2012-04-04 Thread André Warnier
Josh Narins wrote: I see a hit in the access logs. I get an Internal Server Error. And still, the error log is completely silent. This is my problem. Without server errors I get a bit lost. This seems to be a config with VirtualHosts. Are you sure that you're looking in the correct error

RE: Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
Cc: Josh Narins > Subject: Re: Quiet Internal Server Errors > > On Wednesday, 04 April 2012 10:42:47 Josh Narins wrote: > > PerlModule Phase::PostConfig > > PerlPostConfigHandler Phase::PostConfig::handler > > > > and putting in the very simple: > > > >

RE: Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
> > I see a hit in the access logs. > > > > I get an Internal Server Error. > > > > And still, the error log is completely silent. This is my problem. > Without server errors I get a bit lost. > > > > This seems to be a config with VirtualHosts. >

Re: Quiet Internal Server Errors

2012-04-04 Thread Torsten Förtsch
On Wednesday, 04 April 2012 10:42:47 Josh Narins wrote: > PerlModule Phase::PostConfig > PerlPostConfigHandler Phase::PostConfig::handler > > and putting in the very simple: > > use Apache2::Const -compile => 'OK'; > > sub post_config { > print STDERR "configuration is complete\n"; > ret

Re: Quiet Internal Server Errors

2012-04-04 Thread André Warnier
Josh Narins wrote: ... I see a hit in the access logs. I get an Internal Server Error. And still, the error log is completely silent. This is my problem. Without server errors I get a bit lost. This seems to be a config with VirtualHosts. Are you sure that you're looking in the co

Quiet Internal Server Errors

2012-04-04 Thread Josh Narins
I'm porting a large mod_perl1 application to mod_perl2. The server is now starting. If I mistype some server configuration, it gives me errors, so I know the configuration is being read. I tried adding this: PerlModule Phase::PostConfig PerlPostConfigHandler Phase::PostConfig::handler

Re: experiencing Out of memory errors

2011-01-27 Thread William A. Rowe Jr.
On 1/27/2011 7:16 PM, Michael Peters wrote: > On 01/27/2011 07:41 PM, Michael Ludwig wrote: >> Michael Peters schrieb am 27.01.2011 um 19:14 (-0500): >> >>> But, even after all that I have applications where we consistently >>> run 3-4G just for mod_perl/Apache. >> >> But surely not in one process

Re: experiencing Out of memory errors

2011-01-27 Thread Michael Peters
On 01/27/2011 07:41 PM, Michael Ludwig wrote: Michael Peters schrieb am 27.01.2011 um 19:14 (-0500): But, even after all that I have applications where we consistently run 3-4G just for mod_perl/Apache. But surely not in one process as the OP said he'd like to do? No you're right, but I'm g

Re: experiencing Out of memory errors

2011-01-27 Thread Michael Ludwig
Michael Peters schrieb am 27.01.2011 um 19:14 (-0500): > But, even after all that I have applications where we consistently > run 3-4G just for mod_perl/Apache. But surely not in one process as the OP said he'd like to do? -- Michael Ludwig

Re: experiencing Out of memory errors

2011-01-27 Thread Michael Peters
On 01/27/2011 07:05 PM, Dave Hodgkinson wrote: Can I just say: WTF? 2G in an Apache? Surely there's a better way of architecting this? One thing to remember is that he's running Windows which doesn't have Copy-On-Write memory, so depending on what he's doing it might not take up as much mem

Re: experiencing Out of memory errors

2011-01-27 Thread Dave Hodgkinson
On 26 Jan 2011, at 15:17, John Deighan wrote: > What we would like is to run this application in a 64 bit environment, thus > allowing us to use more than the 2 GB memory that the Apache process ('httpd') > is limited to (the "Out of memory" errors always occur as th

Re: experiencing Out of memory errors

2011-01-27 Thread Michiel Beijen
Hi John, On Thu, January 27, 2011 15:10, John Deighan wrote: > One question, though: I'm thinking there's not much point to using a > 64-bit version of mod_perl > unless I'm using it with a 64-bit version of Apache. Where can I get a > 64-bit version of Apache that > will with with the mod_perl be

Re: experiencing Out of memory errors

2011-01-27 Thread John Deighan
I'd forgotten about Strawberry Perl (came across it about a year ago, but never got around to trying it). One question, though: I'm thinking there's not much point to using a 64-bit version of mod_perl unless I'm using it with a 64-bit version of Apache. Where can I get a 64-bit version of Apache

Re: experiencing Out of memory errors

2011-01-27 Thread Zeno Davatz
Hi Am 27.01.2011 um 12:57 schrieb Michiel Beijen : > Hi John, > > On Wed, 2011-01-26 at 10:17 -0500, John Deighan wrote: >> However, we're also not sure if either of these are needed to escape the >> 2 GB memory limitation. E.g., can 64 bit Perl be used with a 32 bit >> Apache and/or mod_perl?

Re: experiencing Out of memory errors

2011-01-27 Thread Michiel Beijen
Hi John, On Wed, 2011-01-26 at 10:17 -0500, John Deighan wrote: > However, we're also not sure if either of these are needed to escape the > 2 GB memory limitation. E.g., can 64 bit Perl be used with a 32 bit > Apache and/or mod_perl? You should use the same architecture for Perl and Apache. > A

experiencing Out of memory errors

2011-01-26 Thread John Deighan
We have an Apache/mod_perl application running under Windows Server 2003 that periodically experiences "Out of memory" errors (they appear in the Apache error logs) which forces Apache to restart. Our application does, in fact, use a lot of memory, and we believe that this is not due t

Re: mod_perl works BUT rtld errors with some modules.

2009-12-17 Thread greg . george
Thanks guys, seems that AIX does some trickery when there is setuid stuff. I tried running on port 8080 as a normal users and it works fine. I will solve the situation and then post back so others can find the solution. Thanks heaps guys for the pointers. Fred Moyer wrote on 18/12/2009 08:38:34

Re: mod_perl works BUT rtld errors with some modules.

2009-12-17 Thread Fred Moyer
On Thu, Dec 17, 2009 at 1:29 PM, Michael Peters wrote: > On 12/17/2009 04:25 PM, greg.geo...@orica.com wrote: >> >> BTW apache is starting as root and I have confirmed that startup.pl is >> being run as root by apache/mod_perl >> I am going to look in more detail at what DynaLoader.pm does in case

Re: mod_perl works BUT rtld errors with some modules.

2009-12-17 Thread Michael Peters
On 12/17/2009 04:25 PM, greg.geo...@orica.com wrote: BTW apache is starting as root and I have confirmed that startup.pl is being run as root by apache/mod_perl I am going to look in more detail at what DynaLoader.pm does in case this gives any clues. Not sure if this helps or not, but on some

Re: mod_perl works BUT rtld errors with some modules.

2009-12-17 Thread greg . george
Hi Perrin, Yes I compiled it just after compiling perl. Perl, apache, mod_perl and a number of modules I need were all compiled with the same compiler on the same machine. I have recompiled and installed ARS (just in case I am losing my mind) but still have the same problem. Note that I can ru

Re: mod_perl works BUT rtld errors with some modules.

2009-12-17 Thread Perrin Harkins
On Wed, Dec 16, 2009 at 10:41 PM, wrote: > [error] Can't load > '/opt/apache/perl/lib/site_perl/5.10.1/aix/auto/ARS/ARS.so' for module ARS: > rtld: 0712-001 Symbol xdr_sizeof was referenced >       from module > /opt/apache/perl/lib/site_perl/5.10.1/aix/auto/ARS/ARS.so(), but a runtime > definiti

mod_perl works BUT rtld errors with some modules.

2009-12-16 Thread greg . george
Hi List, I have Apache/2.2.11 mod_perl/2.0.4 Perl/v5.10.1 all built with gcc on AIX 5.3 Mod_perl works for simple scripts. Adding 'use ARS.pm' to startup.pl causes the following error: [error] Can't load '/opt/apache/perl/lib/site_perl/5.10.1/aix/auto/ARS/ARS.so' for module ARS: rtld: 0712-001

Re: Would like mod_perl 1.29 to include more information on fatal errors

2009-09-04 Thread Perrin Harkins
On Fri, Sep 4, 2009 at 12:00 PM, James Olsen wrote: > The trouble is, our code isn't getting invoked at all. Mod_perl (or > something lower-level like that) is dying complaining that our code > can't be found on the hits where this happens. Did you try $SIG{__DIE__}? It's a global setting for tha

Re: Would like mod_perl 1.29 to include more information on fatal errors

2009-09-04 Thread James Olsen
Hello Perrin, Thank you for your response. PH> You could: PH> - Make s $SIG{__DIE__} handler PH> - Wrap your application in an eval {} PH> The data you want is available from either the standard apache log PH> formats or perl code in Apache::Status, so there's no need to worry PH> about writing

Re: Would like mod_perl 1.29 to include more information on fatal errors

2009-09-03 Thread Perrin Harkins
On Thu, Sep 3, 2009 at 11:32 AM, James Olsen wrote: > I would like to know if someone has a patch that will dump out more > information about the hit, such as the requested URI, any parameters > that are passed, what perl modules are in memory, the process ID, or > anything at all that might help.

Would like mod_perl 1.29 to include more information on fatal errors

2009-09-03 Thread James Olsen
Hello, We are running Apache/1.3.37 with mod_perl/1.29. We use the regular mod_perl API to install custom access, authentication, authorization, fixup, content, and logging handlers. Once in a great while we run into random "Undefined subroutine XX::Clients::YY::ContentHandler::handler called.

Re: mod_perl2.0.4: Apache2::compat errors

2009-07-31 Thread Perrin Harkins
On Fri, Jul 31, 2009 at 1:23 PM, George Karabotsos wrote: > I have created this minimal script: > > #!/usr/bin/env perl > use Apache2::compat; > > and here's what I get: > >> perl -c Tester.pl You can't do that. The mod_perl classes only work when run inside mod_perl. What are you trying to do?

mod_perl2.0.4: Apache2::compat errors

2009-07-31 Thread George Karabotsos
Hi guys, I have created this minimal script: #!/usr/bin/env perl use Apache2::compat; and here's what I get: > perl -c Tester.pl Undefined subroutine &Apache2::ServerUtil::restart_count called at /usr/lib/perl5/site_perl/5.10.0/i486-linux-thread-multi/Apache2/compat.pm line 76. Compilation fail

t/hooks/authen_basic and t/hooks/authz errors

2009-01-23 Thread Christian M. Probst
Hi, folks. I have the following errors when running "make test". I have seen a similar error discussed in the list in Nov 2008, but as it was mentioned that it could be an error related to Apache 2.2.10 and I am running Apache 2.2.6 in Solaris 10, I think there is something else happ

Re: [mp2] make test errors

2008-11-15 Thread Fred Moyer
On Fri, Nov 14, 2008 at 9:48 PM, <[EMAIL PROTECTED]> wrote: > -8<-- Start Bug Report 8<-- > 1. Problem Description: > > Per suggestion made in this forum, I gave up on static build and am building > dynamic. > Now I get 2 e

[mp2] make test errors

2008-11-14 Thread craig
-8<-- Start Bug Report 8<-- 1. Problem Description: Per suggestion made in this forum, I gave up on static build and am building dynamic. Now I get 2 errors in make test, plus undef errors during 'sudo make install' t/hooks/auth

mod perl 2.0.4-dev using perl510.dll on Win32 XP returns "Can't find string terminator" errors on working CGI files

2008-08-26 Thread Joe Smoker
Hey guys, This is most likely related to my first post using Perl 5.8 and matching mod perl, however, since this is a new version of Perl 5.10 and the DEV version of mod perl 2.0.4-dev, I thought I should post this as well...  I'm starting to think that it's not a CRLF problem, but something e

Re: mod perl vesion 2 on Win32 returns "runaway multi-line RR string" errors on working CGI files

2008-08-25 Thread Foo JH
I use modPerl (not the CGI though), but I don't see this error even when slapping things on notepad. Perhaps the problem is something else? Perrin Harkins wrote: On Sun, Aug 24, 2008 at 4:54 PM, Joe Smoker <[EMAIL PROTECTED]> wrote: Seems like mod perl does not like the CRLF chars in the

Re: mod perl vesion 2 on Win32 returns "runaway multi-line RR string" errors on working CGI files

2008-08-25 Thread Perrin Harkins
On Sun, Aug 24, 2008 at 4:54 PM, Joe Smoker <[EMAIL PROTECTED]> wrote: > Seems like mod perl does not like the CRLF chars in the notepad file... but > I also tried removing the CR chars with the same result... It does sound like a problem with your line-ending characters. Since I don't use Win32

mod perl vesion 2 on Win32 returns "runaway multi-line RR string" errors on working CGI files

2008-08-24 Thread Joe Smoker
Hey guys, I've installed Win32 mod perl version 2.0 and Apache server 2.2.9 on my XP Pro box according to the directions (I hope)...  However, when I try to run any sample script, I get the following error in the error.log file: [Sat Aug 23 16:05:41 2008] [error] syntax error at (eval 6) line

Re: [mp2] compilation errors with mod_perl-2.0.4 on OpenBSD

2008-05-08 Thread Philip M. Gollucci
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simon Bertrang wrote: |> +typedef void * apr_thread_rwlock_t; and +if ($path =~ m/(Thread|Global)(Mutex|RWLock)/) { ~From gozer Committed and verified as working. http://svn.apache.org/viewvc?rev=654655&view=rev WOOT! - -- - -

Re: [mp2] compilation errors with mod_perl-2.0.4 on OpenBSD

2008-05-03 Thread Fred Moyer
? Also, as you can that typedef is wrong :) My thread foo isn't that great, but it kind of looks like those typedefs are deliberately wrong to prevent errors when those variables are referenced elsewhere. src/modules/perl/modperl_apache_compat.h 22 #if !APR_HAS_THREADS 23 typedef unsigned

Re: [mp2] compilation errors with mod_perl-2.0.4 on OpenBSD

2008-05-03 Thread Philip M. Gollucci
Simon Bertrang wrote: src/modules/perl/modperl_apache_compat.h typedef unsigned long apr_os_thread_t; typedef void * apr_thread_mutex_t; +typedef void * apr_thread_rwlock_t; #endif Would not it better to just include the appropriate thread file headers from APR? Also, as you can that typedef

Re: [mp2] compilation errors with mod_perl-2.0.4 on OpenBSD

2008-05-02 Thread Simon Bertrang
On Fri, May 02, 2008 at 06:38:09PM +0400, Sergey Skvortsov wrote: > Simon Bertrang wrote: Has someone of you an idea where i need to look to get it solved? >>> Pgollucci found a similar issue with FreeBSD, Gozer posted a patch that >>> may fix it. Suggest trying out the patch: >>> >>> h

Re: [mp2] compilation errors with mod_perl-2.0.4 on OpenBSD

2008-05-01 Thread Philip M. Gollucci
Simon Bertrang wrote: On Thu, May 01, 2008 at 09:42:52AM -0700, Fred Moyer wrote: Simon Bertrang wrote: Hi, i'm trying to update mp2 but it fails to finish compilation. Specifically, it fails at Base64: ... cp Base64.pm ../../../blib/lib/APR/Base64.pm /usr/bin/perl /usr/libdata/perl5/ExtUtils/x

Re: [mp2] compilation errors with mod_perl-2.0.4 on OpenBSD

2008-05-01 Thread Simon Bertrang
On Thu, May 01, 2008 at 09:42:52AM -0700, Fred Moyer wrote: > Simon Bertrang wrote: >> Hi, >> i'm trying to update mp2 but it fails to finish compilation. >> Specifically, it fails at Base64: >> ... >> cp Base64.pm ../../../blib/lib/APR/Base64.pm >> /usr/bin/perl /usr/libdata/perl5/ExtUtils/xsubpp

Re: [mp2] compilation errors with mod_perl-2.0.4 on OpenBSD

2008-05-01 Thread Fred Moyer
Simon Bertrang wrote: Hi, i'm trying to update mp2 but it fails to finish compilation. Specifically, it fails at Base64: ... cp Base64.pm ../../../blib/lib/APR/Base64.pm /usr/bin/perl /usr/libdata/perl5/ExtUtils/xsubpp -typemap /usr/libdata/perl5/ExtUtils/typemap -typemap /usr/ports/www/ap2-mo

[mp2] compilation errors with mod_perl-2.0.4 on OpenBSD

2008-05-01 Thread Simon Bertrang
Hi, i'm trying to update mp2 but it fails to finish compilation. Specifically, it fails at Base64: ... cp Base64.pm ../../../blib/lib/APR/Base64.pm /usr/bin/perl /usr/libdata/perl5/ExtUtils/xsubpp -typemap /usr/libdata/perl5/ExtUtils/typemap -typemap /usr/ports/www/ap2-mod_perl/w-ap2-mod_perl-2.

Re: strange permission errors

2008-03-17 Thread Mag Gam
Phillip: The permissions are fine. I have default permissions for the Unix Socket. It matched other postgresql installs, and other systems that work. Plus its the default setting (srwxrwxrwx)..I still can't figure out why I am having this problem... Any help would be helpful On Tue, Mar 11, 200

Re: strange permission errors

2008-03-11 Thread Philippe M. Chiasson
Mag Gam wrote: I get," The account is not currently available." That account has a disabled shell $> su apache -s `which sh` -c '/bin/ls /tmp/.s.PGSQL.5432' Look at the permissions on both /tmp and /tmp/.s.PGSQL.5432 $> ls -ld /tmp $> ls -l /tmp/.s.PGSQL.5432 -- Philippe M. Chiasson G

Re: strange permission errors

2008-03-11 Thread Mag Gam
I get," The account is not currently available." But this happens on good and bad configuration. The system it works on gives me this error too.. Any other suggestion? The only difference I see is, in production I am using mod_perl 1.99 On Tue, Mar 11, 2008 at 1:55 AM, Philippe M. Chiasson <[EMA

Re: strange permission errors

2008-03-10 Thread Philippe M. Chiasson
Mag Gam wrote: Hi Gurus: Moving my application from development to production server. For some reason, I can't seem to execute my application when using mod_perl in production. I keep getting this permission error: [Mon Mar 10 13:47:33 2008] [error] Can't call method "prepare" on an undefined

strange permission errors

2008-03-10 Thread Mag Gam
Hi Gurus: Moving my application from development to production server. For some reason, I can't seem to execute my application when using mod_perl in production. I keep getting this permission error: [Mon Mar 10 13:47:33 2008] [error] Can't call method "prepare" on an undefined value at /var/www/:

Re: [a little OT] mod_proxy 502 errors in dual apache setup

2008-03-05 Thread Perrin Harkins
On Wed, Mar 5, 2008 at 10:37 AM, <[EMAIL PROTECTED]> wrote: > 502's show up when you have more connections from the front end to the > back end that it can service. Just to expand on that a little, you should start by checking for simple things like whether your machine was going into swap or ge

Re: [a little OT] mod_proxy 502 errors in dual apache setup

2008-03-05 Thread adam . prime
502's show up when you have more connections from the front end to the back end that it can service. The proxy server has a timeout [1], and if it doesn't get a response within that time frame you get a 502. You can create a custom error document on your front end for 502's to make them a

[a little OT] mod_proxy 502 errors in dual apache setup

2008-03-05 Thread John ORourke
Hi folks, Slightly OT but hopefully someone on here has had similar experience. I've got a site with fairly heavy traffic and a light/heavy apache setup. Occasionally the back-end servers seem to get swamped and suddenly every request from the front end starts getting a 502 proxy timeout un

Modperl: modperl-2.0_20080229115113 Make fail w/ missing runtime defs plus t/apr/finfo and vhost/config errors

2008-02-29 Thread O'DELL, TODD E (ATTOPS)
f more info is needed or what I might try! Test Summary ( again details under the bug report ) Test Summary Report --- t/apr-ext/brigade.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP outp

Re: Cookie errors

2007-12-19 Thread Kurt Hansen
HI, Quick response on one of your errors. Not sure if it will effect others. I'm trying to figure out why I'm getting a pile of cookie errors in my logs with libapreq2. Is it the library's fault, the browser's fault, or mine? Apologies for the wide post. This is what get

Cookie errors

2007-12-19 Thread Clinton Gormley
Hi all I'm trying to figure out why I'm getting a pile of cookie errors in my logs with libapreq2. Is it the library's fault, the browser's fault, or mine? Apologies for the wide post. This is what gets sent to my browser to set the cookie: Set-Cookie : SID=MxQd

Re: strange errors on ModPerl::Registry

2007-09-30 Thread Philippe M. Chiasson
lists user wrote: > I have two sections in httpd.conf,one for modperl handler,one for > registry scripts. > > > SetHandler modperl > PerlResponseHandler IP::Lookup > > > Alias /perl/ "/home/httpd/test/" > > SetHandler perl-script > PerlResponseHandler ModPerl::Registry > Option

strange errors on ModPerl::Registry

2007-09-28 Thread lists user
I have two sections in httpd.conf,one for modperl handler,one for registry scripts. SetHandler modperl PerlResponseHandler IP::Lookup Alias /perl/ "/home/httpd/test/" SetHandler perl-script PerlResponseHandler ModPerl::Registry Options +ExecCGI PerlOptions ParseHeaders T

Detect auth errors: user not found or password mismatch ?

2007-05-21 Thread Sergij Borodych
Hi ALL, I try detect auth errors with use basic auth I have 2 error type in httpd log [error] [client 192.168.0.2] user test1: authentication failure for "/": Password Mismatch [error] [client 192.168.0.2] user test2 not found: / How I can determine it under both mod_perl (1&

Re: Errors going to the main apache servers log and not my virtual host

2007-04-26 Thread Jonathan Vanasco
If i recall correctly, different types of errors go to different logs... so some stuff will go to the main apache server log, and others will go to the vhost i can't remember which errors go where though - i always tail both files during development.

RE: Errors going to the main apache servers log and not my virtual host

2007-04-26 Thread Adam Prime x443
I see this in mp2 when you print to STDERR instead of $r->warn or $r->log_error, or use one of the other Apache2::Log ways of logging errors. Not sure if this applies to your situation or not. -Original Message- From: Tyler Bird [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26

Errors going to the main apache servers log and not my virtual host

2007-04-26 Thread Tyler Bird
Errors going to the main apache servers log and not my virtual host. Has anyone encountered this problem above before? I am setting up my virtual hosts within a section. Please?? Tyler

Re: Errors after perl update

2007-04-02 Thread Jonathan Vanasco
On Apr 2, 2007, at 3:22 PM, David Romero wrote: hi list I have a mod_perl installation instalation send Bareword "Apache2::ServerUtil::server_root" not allowed while "strict subs" after update perl, when i try to reinstall mod_perl makefile send this Cannot install mod_perl/2.0.3 on to

Errors after perl update

2007-04-02 Thread David Romero
hi list I have a mod_perl installation instalation send Bareword "Apache2::ServerUtil::server_root" not allowed while "strict subs" after update perl, when i try to reinstall mod_perl makefile send this Cannot install mod_perl/2.0.3 on top of mod_perl/1.99_16 due to a major API change between m

RE: Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2

2007-03-15 Thread Crumley, Martin \(GE Infra, Energy\)
er options I'm using. Thanks, Martin -Original Message- From: imacat [mailto:[EMAIL PROTECTED] Sent: 15 March 2007 10:15 To: mod_perl Subject: Re: Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2 On Thu, 15 Mar 2007 10:55:47 +0100 "Crumley, Martin \(GE Infr

Re: Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2

2007-03-15 Thread imacat
On Thu, 15 Mar 2007 10:55:47 +0100 "Crumley, Martin \(GE Infra, Energy\)" <[EMAIL PROTECTED]> wrote: > I'm experiencing problems when I run the make command on > mod_perl-1.99_14. I'm including an extract of the output when running > the make. Why not using mod_perl 2.0.3? Version 1.99_xx

Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2

2007-03-15 Thread Crumley, Martin \(GE Infra, Energy\)
Hi all, I'm experiencing problems when I run the make command on mod_perl-1.99_14. I'm including an extract of the output when running the make. The OS is AIX 5.2 64-bit, the perl version is 5.8.5 and I'm compiling using xlC. Here are the error

Re: Making warnings trigger errors.

2007-01-23 Thread Phil Whelan
Or to do it lexically: use warnings FATAL => 'all'; I used this before to find out where a warning was coming from that I just could track down. Easy to find if it dies.

Re: Making warnings trigger errors.

2007-01-23 Thread Clinton Gormley
> Just change the signal handler. > > $SIG{__WARN__} = $SIG{__DIE__}; Or to do it lexically: use warnings FATAL => 'all';

Re: Making warnings trigger errors.

2007-01-23 Thread Michael Peters
Tyler Bird wrote: > Does anybody know if there is a module > > or some kind of directive in either perl or mod_perl > to make warnings produce the same affects as errors. Just change the signal handler. $SIG{__WARN__} = $SIG{__DIE__}; Not sure why you'd want that though. But

Making warnings trigger errors.

2007-01-23 Thread Tyler Bird
Does anybody know if there is a module or some kind of directive in either perl or mod_perl to make warnings produce the same affects as errors. Thanks Tyler

Apache 2.2.4 Fwd: Stream Filter Generating "Resource Unavailable" errors....

2007-01-22 Thread Marc Boorshtein
As an FyI I am also seeing this on Apache 2.2.4 Thanks Marc -- Forwarded message -- From: Marc Boorshtein <[EMAIL PROTECTED]> Date: Jan 22, 2007 2:06 PM Subject: Stream Filter Generating "Resource Unavailable" errors To: modperl@perl.apache.org Hello, I

Stream Filter Generating "Resource Unavailable" errors....

2007-01-22 Thread Marc Boorshtein
Hello, I've got an input stream filter built on Solaris 8 against IHS 6.1 that is for some reason generating the following errors: [Mon Jan 22 14:01:59 2007] [error] Apache2::Filter::read: (11) Resource temporarily unavailable at /cookiefilter/ihs61/perl-lib/COMP/POC/CookieFilter/Inbou

Re: Catching errors

2007-01-19 Thread Jonathan Mangin
- Original Message - From: "Robert Landrum" <[EMAIL PROTECTED]> To: "Jonathan Mangin" <[EMAIL PROTECTED]> Cc: Sent: Thursday, January 18, 2007 7:08 PM Subject: Re: Catching errors > Jonathan Mangin wrote: > > > > sub handler { > >

  1   2   3   4   >