Re: perl's system() w/ apache under win2k

2003-01-02 Thread Stas Bekman
Terra Info wrote: [...] > application. If you would like to take output from that application then > you should write to STDOUT all text you want the perl application to see > as a return value from your system() call or `` (backticks) call. you probably meant qx(), as system doesn't return the su

Re: sed error in perl Makefile.pl

2003-01-02 Thread J Q Private
It ended up being the bad character tacked returned by my . It sometimes looks like 'nyc.rr.com\000' or the like. Bad DHCP setup on my part. Here's the a couple lines out of the offending sed. -e s%@conf_serveradmin@[EMAIL PROTECTED]%d00%g -e s%@conf_servername@%float1.nyc.rr.com%d00%g Thanks f

Re: Question on possible effects of mod_perl on mod_cgi

2003-01-02 Thread Terra Info
Ugh! I checked the users list archives but I never checked the dev archives. I liked p5p back in the day because it was all one in the same. Chaos, but oddly efficient. Thanks for the pointer. As for the docs, I freely admit I missed it. I was not looking for PerlRun stuff when I went through th

Re: perl's system() w/ apache under win2k

2003-01-02 Thread Terra Info
Here is that doc addition: Why can't my scripts execute external programs with GUI frontends from within Apache/mod_perl when I could under Win9.x? The issue is not an Apache/mod_perl issue per se. Any service that allows execution of external binaries that try to initialize and display GUI com

Re: Question on possible effects of mod_perl on mod_cgi

2003-01-02 Thread Stas Bekman
OK, now it's clear, thanks for the explanation. FWIW, there were discussions of possible pipes read/write deadlocks in the current mod_cgi implementation in Apache 2.0, so you may experience just that. Check the httpd-dev list archives. [...] * Given that, I noticed PerlRun was no longer pro

Re: Question on possible effects of mod_perl on mod_cgi

2003-01-02 Thread Terra Info
Stas Bekman wrote: I still don't understand you. When do you see the problem? When you run the script under mod_cgi or mod_perl? I don't understand why do you keep referring to mod_cgi. And we are talking about Apache/mod_perl 2.0 here, right? No. I am talking about mod_cgi when I say mod_cgi.

Re: perl's system() w/ apache under win2k

2003-01-02 Thread Stas Bekman
Terra Info wrote: I will write up a more publically palatable version of the below and post it for someone more intimately associated with the docs and development to merge into the tree. Great, thank you! Keep in mind that this is an issue not just for MP but also any CGI script or frankly

Re: Question on possible effects of mod_perl on mod_cgi

2003-01-02 Thread Stas Bekman
Terra Info wrote: The threads issue is my bag. I know better but was busy and distracted, hence I just did a reply to all and trimmed out the excess. No prob. the comment was addressed to all subscribers. Anyhow, I think you may have misunderstood my question. Although I have a specific issu

Re: perl's system() w/ apache under win2k

2003-01-02 Thread Terra Info
I will write up a more publically palatable version of the below and post it for someone more intimately associated with the docs and development to merge into the tree. Keep in mind that this is an issue not just for MP but also any CGI script or frankly any service that allows execution of ex

Re: Question on possible effects of mod_perl on mod_cgi

2003-01-02 Thread Terra Info
The threads issue is my bag. I know better but was busy and distracted, hence I just did a reply to all and trimmed out the excess. Anyhow, I think you may have misunderstood my question. Although I have a specific issue at hand, my question was more generic. My questions are more related to th

Re: sed error in perl Makefile.pl

2003-01-02 Thread Stas Bekman
[...] When I run perl Makefile.PL APACHE_SRC=../apache_1.3.xx/src \ DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 \ APACHE_PREFIX=/home/user/httpd/apache I see this (note the sed error) (cd ../apache_1.3.27 && CC="gcc" CFLAGS=" -D_REENTRANT -DTHREADS_HAVE_PIDS -fno- str

Re: perl's system() w/ apache under win2k

2003-01-02 Thread Stas Bekman
Terra Info wrote: Two things: 1) this is not the list for this question. 2) a probable answer anyhow-> If that's a real pitfall and it's doomed to be a recurrent question, can we please document this under win32/? Also, Randy, it seems that there is whole lot of win32 issues which apply to all

Re: Question on possible effects of mod_perl on mod_cgi

2003-01-02 Thread Stas Bekman
[When starting a new thread, please remember to create a new mail, rather than doing a reply to one of the threads. If you don't do that, your mail software attaches reference ids to the original thread and your post gets folded into the thread you've replied to. people may delete the whole thr

Question on possible effects of mod_perl on mod_cgi

2003-01-02 Thread Terra Info
I am debugging a particularly nasty issue right now on a perl script that when written 2+ yrs ago worked fine. NB: It does not run under mod_perl and it has not been modified since then. I run it from the cmd line (with the identical query string and all referenced %ENV vars set identical as we

Ports to unusual arches

2003-01-02 Thread J Q Private
Let's see. A Debian package can't go from unstable to testing until it passes certain tests on all of the following arches... i386 m68k sparc alpha powerpc arm mips and mipsel hppa ia64 s390 (see http://www.debian.org/ports) I was thinking it might help me to get a box with one of these arches,

RE: [OT] Redirect POST to POST off-site?

2003-01-02 Thread Rob Bloodgood
(sorry about the blank reply a minute ago) > I am looking into the more advanced paypal instant notification > stuff for the next version of my sw, but version one is using a > simpler approach to get it out the door. Even that paypal sw > wouldn't solve my problem, which is to make sure that the

Re: perl's system() w/ apache under win2k

2003-01-02 Thread Terra Info
Two things: 1) this is not the list for this question. 2) a probable answer anyhow-> The issue is not file permissions (per se) or anything like that. It is the way WinNT and up is built. What you were doing in Win 98 worked because apps all ran in the same user space. Despite logging into a 98

perl's system() w/ apache under win2k

2003-01-02 Thread Philip Fibiger
Hello all, I've got a pretty simple perl script that used to run on a windows 98 machine running apache just fine. It would use system() to launch a windows app that has a graphical display to sync a ms-sql database to a mysql one. Anyway, it's been replaced by a new machine running win2k, and I'm

sed error in perl Makefile.pl

2003-01-02 Thread J Q Private
Hi mod_perlers from josh narins! I'm following the simple instructions for the 1.x series with APACI I'm on a debian "sarge" system running linux kernel 2.4.20 on a powerpc I've seen this same error with bleadperl (built today) and the installed perl5.6.1 (the debian package) Sadly, I also reme

Re: Database Pooling

2003-01-02 Thread dom
> Sounds like you should have some more code in your finally > blocks. :) Well I don't quite like having to do that everywhere, especially in code I did not write. In Perl I only need one of them using some AUTOLOAD trickery :-). -- Dominique QUATRAVAUX Ingénieur dével

Re: Apache::DBI

2003-01-02 Thread Randy Kobes
On Thu, 2 Jan 2003, Paul Simon wrote: > Hi all > > I have a feeling this may be [OT], "take it to the DBI > list..." But I'm hoping to eliminate as much as > possible any suspicion that Apache::DBI/mod_perl is > causing my headache. I'm trying to push this platform > at work ;) If anyone can shed

Re: Database Pooling

2003-01-02 Thread Kenny Smith
Sure. And beware of connections that are returned to the pool without being rollbacked, too - the app then deadlocks itself because it holds locks in the database and doesn't know it does. I get bitten by this under JDBC every so often, when an exception is thrown at the wrong time. Sounds like

RE: Apache::DBI

2003-01-02 Thread Beau E. Cox
Hi Paul - It is my understanding that Apache::DBI is not yet implemented for Apache2/mod_perl2. I had to comment out my references to it in the startup script and/or the configuration file. Take a look at: http://beaucox.com/mason/mason-with-apmp2-mini-HOWTO.htm for further info. Aloha => Beau

Apache::DBI

2003-01-02 Thread Paul Simon
Hi all I have a feeling this may be [OT], "take it to the DBI list..." But I'm hoping to eliminate as much as possible any suspicion that Apache::DBI/mod_perl is causing my headache. I'm trying to push this platform at work ;) If anyone can shed some light on this then I'd be very appreciative, of

Re: Database Pooling

2003-01-02 Thread dom
> > Well, it's going to be a pretty strange environment that doesn't have a > database connection in every process. Sure. And beware of connections that are returned to the pool without being rollbacked, too - the app then deadlocks itself because it holds locks in the database and doesn't know