Re: modperl and DBI or DBD with mysql

2006-02-10 Thread Derek Robson
I have fixed it!!! the problem was that the default install of openbsd has apache setup in a chroot jail kind of way. modperl could not "see" the database stuff. all i had to do was setup apache to not run in chroot mode and it all works. thanks to all those who offer help. At 06:1

Re: I'm getting max connection errors for Apache::DBI

2006-02-10 Thread Boysenberry Payne
The name is a blessing and a curse, certainly helps people to remember me. My parent get a big chuckle out of it still; they really got me good with that one. ;) Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Feb 10, 2006, at 2:20 PM, Mark Galbreath wrote: That's alright...

Re: apachectl freezes

2006-02-10 Thread Jonathan Vanasco
On Feb 10, 2006, at 3:46 PM, Jeff MacDonald wrote: Actually it's a 4.8 machine. The other machines that I've done this one were both 5.x machines [they worked] Sounds like it might be a versioning issue. I'd suggest upgrading the 4.8 machine :) Ditto, cept it may be worth mentioning tha

Re: apachectl freezes

2006-02-10 Thread Jeff MacDonald
Hi, Actually it's a 4.8 machine. The other machines that I've done this one were both 5.x machines [they worked] > httpd.conf > LoadModule perl_module libexec/apache2/mod_perl.so > LoadModule apreq_module libexec/apache2/mod_apreq2.so Just the first line. None of my other systems

Re: read query params

2006-02-10 Thread Jonathan Vanasco
On Feb 10, 2006, at 3:19 PM, Mark Galbreath wrote: I have one whineI bought "Practical mod_perl" from amazon.com and was v e r y disappointed that it only covered version 1 (only a brief reference to MP2). I understand that MP2 is so different that I've wasted $30 (well, at least Stas

Re: apachectl freezes

2006-02-10 Thread Jonathan Vanasco
assuming you're on freebsd 6.0 i'd check to see that you have files/pointers as such: httpd.conf LoadModule perl_module libexec/apache2/mod_perl.so LoadModule apreq_module libexec/apache2/mod_apreq2.so Files: /usr/local/libexec/apache2/mod_perl.so /usr/local/libe

Re: read query params

2006-02-10 Thread Frank Wiles
On Fri, 10 Feb 2006 15:19:30 -0500 "Mark Galbreath" <[EMAIL PROTECTED]> wrote: > I have one whineI bought "Practical mod_perl" from amazon.com and > was v e r y disappointed that it only covered version 1 (only a brief > reference to MP2). I understand that MP2 is so different that I've > was

Re: apachectl freezes

2006-02-10 Thread Ian Joyce
On 2/10/06, Jeff MacDonald <[EMAIL PROTECTED]> wrote: > Hi, > > I've installed mod_perl 2.0.2 and apache 2.0.55 on FreeBSD using the > ports system. > > When I add the LoadModule line to my httpd.conf and run > > apachectl configtest > > It just hangs. Sing configtest IS a diagnostic, I'm a bit los

apachectl freezes

2006-02-10 Thread Jeff MacDonald
Hi, I've installed mod_perl 2.0.2 and apache 2.0.55 on FreeBSD using the ports system. When I add the LoadModule line to my httpd.conf and run apachectl configtest It just hangs. Sing configtest IS a diagnostic, I'm a bit lost on what else to try as something to diagnose this. Can anyone point

Re: I'm getting max connection errors for Apache::DBI

2006-02-10 Thread Mark Galbreath
That's alright...it's Friday and no one was sending any jokes, anyway.  And I was getting a chuckle out of your name.   mark>>> Boysenberry Payne <[EMAIL PROTECTED]> 10-Feb-06 13:30:46 PM >>> Sorry about the extra posts I was having email difficulties that day...Everything is working fine now tho

Re: read query params

2006-02-10 Thread Mark Galbreath
I have one whineI bought "Practical mod_perl" from amazon.com and was v e r y disappointed that it only covered version 1 (only a brief reference to MP2).  I understand that MP2 is so different that I've wasted $30 (well, at least Stas and Eric will get about 10 cents out of it).   mark>>> Bo

Re: read query params

2006-02-10 Thread Boysenberry Payne
P.S. With the modification that you made for mod_perl2 you will loose a lot of perl programmer and I doubt that you will get new ones.   I think you might be mistaken here. I love MP2 even though I've had my fair share or issues to work out with it. The new Apache hooks are fabulous. I was abl

Re: I'm getting max connection errors for Apache::DBI

2006-02-10 Thread Boysenberry Payne
Sorry about the extra posts I was having email difficulties that day... Everything is working fine now though. The AutoCommit = 0 fixed it all... Thanks again for all of the help, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Feb 8, 2006, at 11:55 AM, Boysenberry Payne

Re: read query params

2006-02-10 Thread Tom Schindl
Hi MJ, have you tried the libapreq mailing list? M J wrote: > > */>Tom Schindl <[EMAIL PROTECTED]>/* wrote: ehm, then you can use > CGI.pm, that's plain perl. > > I don't think that CGI.pm is a solution when you need performance. > There is an article > (http://perl.apache.org/docs/1.0/guide/pe

Re: read query params

2006-02-10 Thread Tom Schindl
ehm, then you can use CGI.pm, that's plain perl. Tom M J wrote: > > I’m very disappointed regarding the mod_perl 2 documentation and changes > that have been made. > I’m searching for several hours already how can I read the query params > using only mod_perl2 API. > I had problem installing lib

Re: Best way to determine memory leaks?

2006-02-10 Thread Daniel McBrearty
http://www.apacheweek.com/features/mod_perl10This describes a way to write a script using GTop to print out the memory usage of teh process.Set your dev machine to use only one process, restart, then go through your scripts one by one to see who grows when you run them. I got it down to the script

Best way to determine memory leaks?

2006-02-10 Thread Jens Gassmann
Hi, our new development-server run into out of memory and use more then 2GB Ram. How could i determine the process who is responsible for this memory leak? Server version: Apache/2.0.55 Server built: Jan 24 2006 15:02:24 Server's Module Magic Number: 20020903:11 Architecture: 64-bit Se