IPC::SysV make test fails with 'test program seems to have generated a core'

1999-12-16 Thread Brian S. Craigie
Hi, on Solaris 7/Sparc, I'm trying to get Apache-DBILogin-1.5 to work and apparently it needs IPC-SysV for some reason. IPC-SysV-1.03 make'd ok, but make test fails on t/sem as below. Is this test failure anything to worry about anybody? IPC-SysV-1.03 [ 178 ] make test PERL_DL_NONLAZY=1

Re: Hanging processes SOLVED!

1999-12-16 Thread Tony Demark
That got it. I cannot thank you enough. The sites are smokin' now. Recap for interested parties: * Solaris 2.7 * mod_perl 1.21 Observed bugs: * occassional httpd processes stop responding * they stay in 'run' state (via 'top') * only print 'brk(...)' on

possible patch for Apache::AuthCookie

1999-12-16 Thread Robert Locke
Hi all, Currently, Apache::AuthCookie uses: $r-err_header_out("Set-Cookie" = ... to set its cookie. However, if you're authentication or authorization routines also sets a cookie, then it will get overwritten by the above code. Below is a proposed patch to AuthCookie.pm that I believe

Managing session state over multiple servers

1999-12-16 Thread Simon Rosenthal
Hi: We're planning on migrating to an Apache::Session + mysql approach for managing session state, for a large-ish site hosted on multiple servers. While there have been many useful discussions on this list concerning the technologies involved, I haven't seen many war stories from the field,

Re: Managing session state over multiple servers

1999-12-16 Thread James G Smith
Simon Rosenthal [EMAIL PROTECTED] wrote: b) Does anyone have redundant database servers ? If so ... are there any implementation gotchas ? and if you have a single server, how does session management work when it goes down ? (I'm pretty happy with the hardware - Suns - which we have, but a

Re: Problems with dynamically-loaded perl modules under Solaris2.5.1

1999-12-16 Thread Eugene Miretskiy
Recently I experienced similar problems on Solaris. I had to rebuild perl as shared libperl.so Perl library for mod_perl to work -- see perl intall manpages. Dan Rench wrote: On Mon, 13 Dec 1999, Doug MacEachern wrote: are you still stuck on this? Yes. To reiterate: Solaris 2.5.1

Apache::URI choking

1999-12-16 Thread Joe Ryan
I am getting the following error when trying to use Apache::URI --- [Thu Dec 16 11:52:28 1999] [error] Apache::WebSQL: `Can't locate loadable object for module Apache::URI in @INC (@INC contains: .

mod_perl + DSO + solaris problems

1999-12-16 Thread Schlottke, Mirko \(ARD-aktuell\)
Hi! I've got some problems here in compiling mod_perl with DSO support on a solaris server. I always get a "relocation error: ... :symbol main: referenced symbol not found" Anybody could help me with this ? -- Mirko

Managing session state over multiple servers

1999-12-16 Thread Robert Locke
Hi Simon, This is not an answer to any of your questions, but your mail reminded me of a "gotcha" relating to Apache::Session and Apache::DBI that is probably totally obvious to the gurus on this list. When Apache::Session::DBI connects to a database, it calls: $self-{dbh} = DBI-connect(

Re: 'var' instead of var ... (getting crazy)

1999-12-16 Thread Dmitry Beransky
Hi Andrea, Have you looked at http://perl.apache.org/guide/porting.html#Sometimes_it_Works_Sometimes_it_? This may not answer your question directly, but at least may give you some ideas on how to approach the problem... Cheers Dmitry At 10:05 AM 12/16/99 , Andrea Brugiolo wrote:

RE: How Embperl sub routine retun value?

1999-12-16 Thread Albert Liu
Read about how Perl passes parameters :-) You shift the value of your parameter into $bb, now you modifiy $bb, but $bb is a variable of it's own, it has nothing to do with the parameter you pass. Reread my example and write your sub like this: [$ sub TTEST $] [- $aa = 3; -] p$aa is

Re: [Re: more then one PerlTransHandler]

1999-12-16 Thread Evgenii Bazarov
I use Apache config file with PerlTransHandler entry. Yes I set DECLINED, but actually it doesn't matter in this case, because the LAST handler out of all installed PerlTransHandlers in the file actually gets invoked by Apache in my test. If it be the FIRST, I would suspect that I messed up

Re: VelociGen for Perl, Competetive Analysis?

1999-12-16 Thread *
My apologies to Alex... I wasn't expecting Parand Darugar to forward this to the modperl list in the first place. I do still feel the same way that I did when I first wrote the letter, though... Focus on vender support instead of compairing it to mod_perl, I think it is a better marketing

Re: Limiting CPU (was Re: embperl pages and braindead sucking robots)

1999-12-16 Thread Michael Plump
On 14 Dec 1999, Randal L. Schwartz wrote: Sounds to me like they are precisely at odds with anyone doing the kind of blocking that I want to do. That seems like a weird policy, though. nmap, for example, helps people do dastardly things, but that doesn't mean nmap is a bad program; it's how

DocumentRoot hardcoded?

1999-12-16 Thread Evgenii Bazarov
Hi everybody! I set DocumentRoot /home/httpd in httpd.conf However I am getting $r-document_root() as '/home/httpd/html' in my first Translation handler. I am wondering is there another place where it might be soft/hard coded? I use prebuilt version of Apache coming with Linux

RE: mod_perl 1.21 - CGI.pm 2.56 error in phase other than content

1999-12-16 Thread sam
PerlPostReadRequestHandler 'sub { Apache-request(shift) }' doug, thanks for the response. I had tried the bandaid with no luck. Probably should have said that in the post :-) I will try to get a simple example out today that shows the problem in full. I have worked around it by creating

Re: Session

1999-12-16 Thread Francesc Guasch
raptor wrote: hi, Is there Session module that has capability more like ASP::Session rather than Apache::Session.(I mean hanlidng the cookies too, Joshua is it easy to extract Session functionality from ASP as a standalone module :")). OR what mostly the MASON people use to handle

Re: [Re: again - more then one PerlTransHandler]

1999-12-16 Thread Evgenii Bazarov
Waa!!! So far nobody who answered even doubted that it should be possible to have more then one PerlTransHandler. The "Eagle" book also says that it should be possible. People suggested that either my mod_perl built with wrong flags or I messed up return codes OK/DECLINED (which I didn't!). Is

Re: Managing session state over multiple servers

1999-12-16 Thread G.W. Haywood
Hi there, On Fri, 17 Dec 1999, Robert Locke wrote: If you use Apache::DBI, make sure that you call "connect" with the same arguments as above in your other scripts or you will find yourself with more than one connection/process to the database, which may not be your intention. See the

RE: How Embperl sub routine retun value?

1999-12-16 Thread G.W. Haywood
Hi there, On Mon, 13 Dec 1999, Albert Liu wrote: It works, but I never thought i can use this way to pass parameter. Indeed i never read this in "Programming Perl" book. Perhaps it is at some where it the book Second edition, pages 111 to 121 inclusive. 73 Ged.

Re: Limiting CPU (was Re: embperl pages and braindead sucking robots)

1999-12-16 Thread Randal L. Schwartz
"Michael" == Michael Plump [EMAIL PROTECTED] writes: Michael Teleport Pro, by default, is setup to be a nice little web Michael robot. Just because one user configures the program to be Michael evil doesn't mean you should stop other people who are trying Michael to play nice. And since you

Re: IPC::SysV make test fails with 'test program seems to have generated a core'

1999-12-16 Thread Cliff Rayman
What is Apache-DBILogin-1.5 using IPC for? if it is semaphores - it is not going to work. looks like there is a bad arg length. I don't use that package so I am not sure what is in line 135 of Semaphore.pm but you might be able to modify it to work with Solaris. cliff rayman genwax.com "Brian

Re: Managing session state over multiple servers

1999-12-16 Thread Robert Locke
All hail the Guide! :-) However, I would like to say that Apache::Session::DBIStore does the following: $self-{dbh} = DBI-connect( $datasource, $username, $password, { RaiseError = 1, AutoCommit = 1 } ); so, if, somewhere else,

Re: Managing session state over multiple servers

1999-12-16 Thread Tom Mornini
On Fri, 17 Dec 1999, Robert Locke wrote: If you use Apache::DBI, make sure that you call "connect" with the same arguments as above in your other scripts or you will find yourself with more than one connection/process to the database, which may not be your intention. I spotted this by

Re: mod_perl + DSO + solaris problems

1999-12-16 Thread Cliff Rayman
check out the mail archive. there is alot of discussion on compiling solaris with DSO support. http://www.geocrawler.com/search/?config=182words=solaris+DSO cliff rayman genwax.com "Schlottke, Mirko (ARD-aktuell)" wrote: Hi! I've got some problems here in compiling mod_perl with DSO

Another install question: CGI.pm not found

1999-12-16 Thread Bill Moseley
What obvious thing am I missing? During make test this gets written to the error log: Can't locate CGI.pm in @INC at /mod_perl-1.21/t/net/perl/cgi.pl line 7. Ok, so I print out @INC in cgi.pl. 78) %head t/net/perl/cgi.pl #!/usr/local/bin/perl BEGIN { print STDERR join("\n", @INC), "\n"; }

Re: possible patch for Apache::AuthCookie

1999-12-16 Thread Ken Williams
[EMAIL PROTECTED] (Robert Locke) wrote: Below is a proposed patch to AuthCookie.pm that I believe solves this problem. Basically, I replaced each occurrence of the above with: $r-err_headers_out-add("Set-Cookie" = ... I think you've got the patch backwards. PS. Who's the current maintainer

Re: Limiting CPU (was Re: embperl pages and braindead sucking robots)

1999-12-16 Thread Eric L. Brine
Randal Yes, it's possible to configure it so that it works correctly, Randal but if I recall, I also saw it fetch /cgi/whatever, even though Randal that was in /robots.txt. I *must* block anything that doesn't Randal respect /robots.txt. Once they fix that, I might let it loose. Teleport

Re: [Re: again - more then one PerlTransHandler]

1999-12-16 Thread Eric Cholet
On Thu, 16 Dec 1999, you wrote: Waa!!! So far nobody who answered even doubted that it should be possible to have more then one PerlTransHandler. The "Eagle" book also says that it should be possible. People suggested that either my mod_perl built with wrong flags or I messed up return

Re: Another install question: CGI.pm not found

1999-12-16 Thread Bill Moseley
Allow me to better describe what's happening. Here's the summary: The site I'm working on built a new version of perl. Old 5.005, and the new is 5.005_03. I can build mod_perl fine using the old 5.005, but not the new 5.005_03. I'm not building any of this as root, but that shouldn't be a

Re: PerlModule/Require didn't work ??

1999-12-16 Thread Bill Marrs
This is the same problem I've been struggling with. What has fixed it for me is building Apache and mod_perl from the tar archives and linking Apache statically (no .so's). I haven't investigated much further, but even after I built Perl, Apache, and mod_perl by hand it still happened. Only