Re: Failing to reconnect after Oracle shutdown abort (Apache::DBI)

1999-11-02 Thread Greg Stark
Tim Bunce [EMAIL PROTECTED] writes: Has anyone experienced a situation where a process (httpd for example) can't reconnect to Oracle after a "shutdown abort"? Tim. As far as I can tell we never get a clean reconnection after any sort of connection problem. I don't even think it takes a

[Perl Q]: Calendar function

1999-11-02 Thread Martin A. Langhoff
hi list, [sorry for the OT] I'm about to develop a monthly calendar, something akin to netscape's scheduler. To start, I'm looking for a reliable function to calculate each day of any given month/year. Or pointers to a usable formula to calculate it. I don't really mind doing it

Memory problems

1999-11-02 Thread Clinton Gormley
Hi I had huge problems yesterday. Our web site made it in to the Sunday Times and has had to serve 1/2 million request in the last 2 days. Had I set it up to have proxy servers and a separate mod_perl server? No. DOH! So what happened to my 1Gig baby? It died. A sad and unhappy death. I am

Re: Memory problems

1999-11-02 Thread Stas Bekman
I had huge problems yesterday. Our web site made it in to the Sunday Times and has had to serve 1/2 million request in the last 2 days. Oh, I thought there was a /. effect, now it's a sunday effect :) Had I set it up to have proxy servers and a separate mod_perl server? No. DOH! So what

OT: Re: mod-perl logo

1999-11-02 Thread Keith G. Murphy
Chris Thompson wrote: On Mon, Nov 01, 1999 at 04:42:50PM -0400, Neil Kandalgaonkar wrote: Joshua Chamas [EMAIL PROTECTED] wrote: That said, they do allow non-profits and others to use the camel, e.g. the Perl Mongers. It's not evil, they're just trying to protect a trademark which they

Re: setting cookies?

1999-11-02 Thread Andrei A. Voropaev
On Mon, Nov 01, 1999 at 05:03:58PM -0500, Robin Berjon wrote: I've never tried this but doesn't sending two 401s in a row for the same document have the auth popup appear again ? I feel like this topic gets slightly confusing. Browser sends request, gets 401 back, asks user for username and

Re: [Perl Q]: Calendar function

1999-11-02 Thread Naren Dasu
Hi, Check out the man pages for strftime and and the perldoc pages for localtime for more detailed info. For example ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); $currentDate = POSIX::strftime("%Y%m%d", localtime(time)); Hope this helps naren At

Checking for valid dates

1999-11-02 Thread Tubbs, Derric L
Is there a reasonably easy method to make sure that an entered date is valid, I.E. is not 30 Jan 99? I am using Time::Local to convert a date entered through an HTML form into the epoch offset (or whatever you call it) and would like to make sure that valid dates are entered. Thanks Derric L.

Re: Checking for valid dates

1999-11-02 Thread Jeffrey Baker
"Tubbs, Derric L" wrote: Is there a reasonably easy method to make sure that an entered date is valid, I.E. is not 30 Jan 99? I am using Time::Local to convert a date entered through an HTML form into the epoch offset (or whatever you call it) and would like to make sure that valid dates

Re: Memory problems

1999-11-02 Thread Greg Stark
Stas Bekman [EMAIL PROTECTED] writes: I had huge problems yesterday. Our web site made it in to the Sunday Times and has had to serve 1/2 million request in the last 2 days. Oh, I thought there was a /. effect, now it's a sunday effect :) The original concept should be credited to

Re: setting cookies?

1999-11-02 Thread Greg Stark
I think if you send a 401 in response to a request that contained auth data the user will typically see a "Authentication failed" box, which may look bad compared to just getting the password dialog. Actually I couldn't get this to work a while back, but I didn't try very hard. "Andrei A.

Re: Checking for valid dates -- off topic!

1999-11-02 Thread Neil Kandalgaonkar
At 10:33 -0800 1999-11-02, Tubbs, Derric L wrote: Is there a reasonably easy method to make sure that an entered date is valid, I.E. is not 30 Jan 99? I am using Time::Local to convert a date entered through an HTML form into the epoch offset (or whatever you call it) and would like to make sure

Re: setting cookies?

1999-11-02 Thread Wyman Eric Miles
Success! The problem is, the tokencode sent by the user expires the instant its validity is determined. That the browser caches this and returns it over and over is not only a nuisance, it can cause the SecurID server to disable the token. Problem was, the client kept coughing up an invalid

RE: Checking for valid dates -- off topic!

1999-11-02 Thread Tubbs, Derric L
Sorry about that, you're absolutely right. I got several responses and they solved my problem. Thanks. And now back to the topic ... -- From: Neil Kandalgaonkar[SMTP:[EMAIL PROTECTED]] Sent: Tuesday, November 02, 1999 12:40 PM To: Tubbs, Derric L; '[EMAIL

validating dates

1999-11-02 Thread Tubbs, Derric L
Sorry that I had put this on the modperl list. I got several responses both on the list and privately and they solved my problem. Thanks Derric L. Tubbs CITIS Administrator Boeing - Fort Walton Beach, Florida [EMAIL PROTECTED] (850)302-4494

OT: database redundancy in web env

1999-11-02 Thread Renzo Toma
Hi guys, I know its totally off-topic and prolly better suited for the DBI list. But I believe this list is read by more experienced people. Anyways my apologies. I am looking for working setups for database redundancy in a web environment; 24/7 stuff!! Using a farm of machines running

mod_perl programming logic error

1999-11-02 Thread Michael Douglass
(Note: I'm no longer on the mailing list; so if you wish to respond to me, please be certain to include my email address in the response. Also, [EMAIL PROTECTED] no longer works FYI. Thanks.) Granted we're running an older copy of mod_perl; but when we noticed that we were getting hammered by

make test errors

1999-11-02 Thread Scott R. Every
trying to install mod_perl and everything appears to compile fine, but a make test gives the following errors: make[1]: Leaving directory `/data/test/ssl_apache/mod_perl-1.21/Util' ../apache_1.3.9/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t httpd listening on port 8529 will write

Apache::ASP

1999-11-02 Thread Andrew Mayo
We are trying to store references in session variables but for some reason this does not work. The reference cannot be regained. For example, in simple Perl I can create an array containing two anonymous hashes, then place a reference to this array in $d, then dereference $d to recover the

mod_perl and DBI

1999-11-02 Thread Dan Srebnick
I'm making a first attempt to run a working Perl CGI run under mod_perl. It uses perl dbi successfully under CGI. When invoking the script under mod_perl, I get the following error: [Tue Nov 2 11:49:43 1999] [error] Can't load '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI/DBI.so' for

Re: Checking for valid dates

1999-11-02 Thread Michael J. Miller
I did this using a JavaScript function that runs before the form is submitted to validate the date locally (in the client, using JavaScript Date objects) before submission. Has the side benefit of giving the user real time feed back as well without a send back to the server Brgds, Mike.

RE: Memory problems

1999-11-02 Thread clinton
Thanks Greg I strongly suggest you move the images to a separate hostname altogether. The proxy is a good idea but there are other useful effects of having a separate server altogether that I plan to write about in a separate message sometime. This does mean rewriting all your img tags

referenced symbol not found error

1999-11-02 Thread Arkadiy Goykhberg
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hello, I'm trying to compile mod_perl-1.21 as DSO module for apache version 1.3.9 on Solaris 2.6 using gcc version 2.8.1 and perl version 5.00562. Right now I'am using out the box vanilla configuration of apache.

Re: mod_perl 2.21 segmentation fault

1999-11-02 Thread Jeffrey Baker
glibc 2.0.7 ^^^ Maybe you should consider upgrading to a non-experimental libc. Aside from that, I have no clue. I know dozens of people who use this same setup, and they all work out fine. Did you compile everything together yourself? What happense when you remove mod_perl or

RE: Embperl and StarOffice problem

1999-11-02 Thread Gerald Richter
I am currently using the StarOffice HTML editor to edit my Embperl programs. The problem I have is that it generates HTML that separates lines exceeding 80 characters with a newline. This 'readability' feature has the effect of separating my perl comments into two lines, which creates

Re: embperl - EMBPERL_MAIL_ERRORS_TO - trigger

1999-11-02 Thread Gerald Richter
I would like to be able to trigger an "error" so that the log section associated with that embperl session gets mailed to me when that session closes. This is for errors in my logic or processing problems which are not fatal enough to cause embperl to fail on its own. You can trigger

Re: Apache::ASP

1999-11-02 Thread Adi
Andrew Mayo wrote: We are trying to store references in session variables but for some reason this does not work. The reference cannot be regained. For example, in simple Perl I can create an array containing two anonymous hashes, then place a reference to this array in $d, then

Re: Apache::ASP

1999-11-02 Thread Joshua Chamas
Adi wrote: Andrew Mayo wrote: We are trying to store references in session variables but for some reason this does not work. The reference cannot be regained. For example, in simple Perl I can create an array containing two anonymous hashes, then place a reference to this array in

mod_perl list(s) administrativa (was: OT: database redundancy in web env)

1999-11-02 Thread Ask Bjoern Hansen
On Wed, 3 Nov 1999, Renzo Toma wrote: I love to hear from Ask, imdb guys (Rob you alive?!) or anyone else offcourse how they maintain ~100% uptime. And again sorry for the off-topic. Please please please take it somewhere else, maybe the DBI list as you suggested yourself. I would be happy

Re: mod_perl and DBI

1999-11-02 Thread Stas Bekman
I'm making a first attempt to run a working Perl CGI run under mod_perl. It uses perl dbi successfully under CGI. When invoking the script under mod_perl, I get the following error: [Tue Nov 2 11:49:43 1999] [error] Can't load '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI/DBI.so'

Re: Failing to reconnect after Oracle shutdown abort (Apache::D BI)

1999-11-02 Thread Greg Stark
"Young, Geoffrey S." [EMAIL PROTECTED] writes: Incidentally, I have also noticed that on my Linux installation Oracle will not shutdown (or shutdown abort) while any of the httpd processes have persistent connections. That is, httpd must come down first for Oracle to shutdown cleanly.

RE: Failing to reconnect after Oracle shutdown abort (Apache::DBI)

1999-11-02 Thread Young, Geoffrey S.
I can second that... I've had the listener time out and the httpd process never picks up a new connection. I have also seen where a perl script encounters an OCI error (usually my fault ;) after the connection and the httpd child can never connect again. Incidentally, I have also noticed that

Re: Failing to reconnect after Oracle shutdown abort (Apache::DBI)

1999-11-02 Thread Tim Bunce
On Mon, Nov 01, 1999 at 09:01:48PM +, Tim Bunce wrote: Has anyone experienced a situation where a process (httpd for example) can't reconnect to Oracle after a "shutdown abort"? Thanks for your replies. The problem reported to me which prompted this email has actually proven to be a user

Re: Failing to reconnect after Oracle shutdown abort (Apache::DBI)

1999-11-02 Thread Jeffrey W. Baker
Greg Stark wrote: Tim Bunce [EMAIL PROTECTED] writes: Has anyone experienced a situation where a process (httpd for example) can't reconnect to Oracle after a "shutdown abort"? Tim. As far as I can tell we never get a clean reconnection after any sort of connection problem. I

Re: Failing to reconnect after Oracle shutdown abort (Apache::DBI)

1999-11-02 Thread Jeffrey Baker
Greg Stark wrote: *** From dbi-users - To unsubscribe, see the end of this message. *** *** DBI Home Page - http://www.symbolstone.org/technology/perl/DBI/ *** Tim Bunce [EMAIL PROTECTED] writes: On Mon, Nov 01, 1999 at 09:01:48PM +, Tim Bunce wrote: Has anyone