Re: Error during the installation of Apache??

2007-10-23 Thread Torsten Foertsch
On Monday 22 October 2007, Vishnu Mohanan wrote: > When I checked in the system, there is no folder named "APXS". > The APXS folder is not creating in the "/usr/local/apache2/bin/" directory. > I am using Fedora 5 version. > Is APXS is necessary? Then how will we create that? apxs is a program dis

Finding memory leaks

2007-10-23 Thread Chetan Sarva
Hey all, We've got an aging web app running on Apache/1.3.34 (Ubuntu) and mod_perl/1.29 which we know has several memory leaks --- apache has been crashing of late and we'd like to stop that. For the time being we're using Apache::SizeLimit but would like to actually find and fix the root

Re: Migrating from mod_perl 1.x to mod_perl 2.x

2007-10-23 Thread Randy Kobes
On Tue, 23 Oct 2007, Daniel Corbe wrote: Hello, We're trying to upgrade a web application from Apache 1.3.x to Apache 2.2.x(and thus from mod_perl 1.x to mod_perl 2.x) and we're having trouble with the basics at the moment: [Tue Oct 23 17:42:12 2007] [error] [client 207.241.167.7] Can't locate

Re: Rose::DB and Apache::DBI

2007-10-23 Thread John Siracusa
On 10/23/07 6:42 PM, Arshavir Grigorian wrote: > Does Rose::DB bypass Apache::DBI if connect_on_init() hasn't been called? Rose::DB just calls DBI in a straightforward manner. It doesn't do anything fancy. (Also, it's surprisingly hard to "bypass" Apache::DBI; it's not something that will happen

Re: Rose::DB and Apache::DBI

2007-10-23 Thread John Siracusa
On 10/23/07 5:17 PM, Perrin Harkins wrote: > On 10/23/07, John Siracusa <[EMAIL PROTECTED]> wrote: >> I've had some bad experiences with passing database handles around in >> pnotes. > > It should be safe to do that. One thing to remember is that pnotes > takes an alias to what you pass in, not a

Re: Rose::DB and Apache::DBI

2007-10-23 Thread Arshavir Grigorian
On 10/23/07, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On 10/23/07, John Siracusa <[EMAIL PROTECTED]> wrote: > > I've had some bad experiences with passing database handles around in > > pnotes. > > It should be safe to do that. One thing to remember is that pnotes > takes an alias to what you p

activestate perl build 822 and modperl

2007-10-23 Thread Thomas
I have done some more test to nail down the problem with Activestate perl 5.8.8 build 822 and modperl. I have tested with the theoryx distribution of modperl and compiled everything from scratch (vc7). Both have the same problems. When starting Apache with a reasonable amount of perl modules th

Re: Rose::DB and Apache::DBI

2007-10-23 Thread Perrin Harkins
On 10/23/07, John Siracusa <[EMAIL PROTECTED]> wrote: > I've had some bad experiences with passing database handles around in > pnotes. It should be safe to do that. One thing to remember is that pnotes takes an alias to what you pass in, not a copy. If you feed it $foo and then change the value

Re: Rose::DB and Apache::DBI

2007-10-23 Thread Michael Peters
John Siracusa wrote: >> Also, in my main handler, I do >> >> $r->pnotes(dbh => MSS::DB->new->dbh ); > > I've had some bad experiences with passing database handles around in > pnotes. You might want to try temporarily replacing that with with a > global variable or something similarly tame just

Re: Rose::DB and Apache::DBI

2007-10-23 Thread John Siracusa
On 10/23/07, Arshavir Grigorian <[EMAIL PROTECTED]> wrote: > I just started using Rose::DB and have been experiencing certain > database connectivity issues. > > DBD::Pg::st execute failed: ERROR: prepared statement "dbdpg_1" already > exists A quick google turned up this page which offers a pos

Rose::DB and Apache::DBI

2007-10-23 Thread Arshavir Grigorian
Hi, I just started using Rose::DB and have been experiencing certain database connectivity issues. DBD::Pg::st execute failed: ERROR: prepared statement "dbdpg_1" already exists My set up is as follows: The box runs 2 Apache servers - one on port 80 and the other on port 8080. The former uses

Re: stringified enumeration

2007-10-23 Thread Michael Peters
Will Fould wrote: > I realise this may not be the most appropriate list for this question: > > I need to internally enumerate (delimit) href name/value pairs. > > Is there are "standardly acceptable" way to do this? > > http://www.example.com/?fruit::1=grape&fruit::2=apple&fruit::3=banana&color:

stringified enumeration

2007-10-23 Thread Will Fould
I realise this may not be the most appropriate list for this question: I need to internally enumerate (delimit) href name/value pairs. Is there are "standardly acceptable" way to do this? http://www.example.com/?fruit::1=grape&fruit::2=apple&fruit::3=banana&color::1=purple&color::2=red&color::3=

Re: Migrating from mod_perl 1.x to mod_perl 2.x

2007-10-23 Thread Daniel Corbe
Well I threw a "use Apache2::compat" into the top of my file there, it runs now. I'll look at the rest of the proting guide later. Thanks. -daniel On 10/23/07, Daniel Corbe <[EMAIL PROTECTED]> wrote: > > drwxr-xr-x 15 mysql wheel1024 Oct 23 16:22 mod_perl-2.0.3 > > On 10/23/07, [EMAI

Error during the installation of Apache??

2007-10-23 Thread Vishnu Mohanan
Hi Sir, My name is Vishnu working as a Bioinformatics programmer in India. I faced several problems in installation of mod_perl. I have installed Apache httpd-2.2.6 in my local system. I installed Apache in the system using the following commands ./configure --with-apxs=/usr/local/apache2/

Re: FYI

2007-10-23 Thread Fred Moyer
There was a recent sytems upgrade which probably caused this. Looking into it. > It's been broken at least a week. > > Quoting Bill Whillers <[EMAIL PROTECTED]>: > >> Maybe someones working? >> >> I'm just getting generic Internal Server Errors when searching on >> anything >> like "handler". >>

Re: Migrating from mod_perl 1.x to mod_perl 2.x

2007-10-23 Thread Daniel Corbe
drwxr-xr-x 15 mysql wheel1024 Oct 23 16:22 mod_perl-2.0.3 On 10/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > http://perl.apache.org/docs/2.0/user/porting/porting.html > > $r->method should be a part of Apache2::RequestRec though. what > version of mod_perl 2 are you using? >

Re: Migrating from mod_perl 1.x to mod_perl 2.x

2007-10-23 Thread adam . prime
http://perl.apache.org/docs/2.0/user/porting/porting.html $r->method should be a part of Apache2::RequestRec though. what version of mod_perl 2 are you using? Adam Quoting Daniel Corbe <[EMAIL PROTECTED]>: Hello, We're trying to upgrade a web application from Apache 1.3.x to Apache 2.2.x(

Migrating from mod_perl 1.x to mod_perl 2.x

2007-10-23 Thread Daniel Corbe
Hello, We're trying to upgrade a web application from Apache 1.3.x to Apache 2.2.x(and thus from mod_perl 1.x to mod_perl 2.x) and we're having trouble with the basics at the moment: [Tue Oct 23 17:42:12 2007] [error] [client 207.241.167.7] Can't locate object method "method" via package "Apache2:

FYI: Building modperl in a separate build directory

2007-10-23 Thread Torsten Foertsch
Hi, I have often the problem to switch between prefork and worker MPM. So I thought of using a separate build directory for each MPM while having a common source directory. This led to the attached script. It creates 3 directories, mymodperl, mymodperl-worker, mymodperl-prefork, checks http://

Apache2::Subprocess not fully working on Windows XP?

2007-10-23 Thread Marc Elser
Hi, I'm using Apache2.2 precompiled binary on my Windows XP Professional with ActivePerl 5.8.8 and mod_perl 2.0.3. Problem is I want to start a subprocess from within a mod_perl handler. I tried the example from the mod_perl site for the Apache2::SubProcess module by using $r->spawn_proc_prog($p