Does perl have Failover with Open Source Web Platforms?

2003-03-13 Thread Richard Heintze
My client is partial to perl so I installed mod_perl
on Apache HTTPD on his windows servers.

Now, however, he wants to price a linux cluster with
raid to replace his windows servers.

He needs declarative role based authorization and
authentication for his web site -- and maybe fault
tolerance too depending on the price of the hardware
for a linux server.

JBoss is cheap and open source with these features. 

My client, however, is partial to perl. How can we get
perl with failover on a linux cluster?

Also, what are your favorite hardware vendors for
linux clusters?

Thanks,
   Siegfried

__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com


Wanted: Experience with EmbPerl on Win2000/Apache HTTPD?

2003-03-05 Thread Richard Heintze
Since I had such a tough time installing mod_perl on
Win2000, I thought I would solicit for experiences
getting Hello, World running with EmbPerl on Apache
HTTPD on Windows2000.

What URL did you download embperl from? 
Did you get any errors during installation?
What is the URL you used for installation
instructions?
What is the URL you used for the instructions for
getting HelloWorld to appear?

  Thanks,
  Siegfried

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


The procedure entry point for modperl_global_request could ot be located in the dynamic link library mod_perl.so.

2003-03-04 Thread Richard Heintze
I downloaded
http://theoryx5.uwinnipeg.ca/pub/other/Perl-5.8-win32-bin.exe
and ran the perl config.pl program. Since I received
so many errors (see end of this email message) I
decided to use my existing perl at c:\Perl\bin which
is a version of 5.8 that is already in my path.

When I start apache, I now get the error: The
procedure entry point for modperl_global_request could
ot be located in the dynamic link library mod_perl.so.
OK.

I've tried everything short of building mod_perl
myself (including the perl mpinstall, the single line
ppm command and the repository command for ppm3).

I'm trying to install Apache2 with mod_perl on perl5.8
on windows and I'm getting nowhere because I cannot
seem to get a good copy of mod_perl. What am I doing
wrong?

  Thanks,
 Siegfried

Here are some of the errors from typing perl
config.pl.

I already had a good installation of Perl5.8 at
c:\Perl\bin so I decided not to move \Program
files\Apache Group\Perl to c:\Perl. When I received a
lot of errors, I tried using the managed filename
format (C:/PROGRA~1/APACHE~1/) but that did not help.
-

 at =head in paragraph 1205.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/ASP.pm:
unexpected =item
directive in paragraph 1206.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/ASP.pm:
unterminated list
 at =head in paragraph 1228.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/ASP.pm:
unexpected =item
directive in paragraph 1229.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/ASP.pm:
unterminated list
 at =head in paragraph 1233.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/ASP.pm:
unexpected =item
directive in paragraph 1289.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/ASP.pm:
unterminated list
 at =head in paragraph 1304.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/ASP.pm:
unexpected =item
directive in paragraph 1306.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/ASP.pm:
unterminated list
 at =head in paragraph 1318.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/ASP.pm:
unexpected =item
directive in paragraph 1384.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/ASP.pm:
unterminated list
 at =head in paragraph 1977.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/AuthDBI.pm:
unexpected =i
tem directive in paragraph 146.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/AuthDBI.pm:
unterminated
list at =head in paragraph 184.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/AuthDBI.pm:
unexpected =i
tem directive in paragraph 206.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/AuthDBI.pm:
unterminated
list at =head in paragraph 209.  ignoring.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/BuildConfig.
pm.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/CmdParms.pm.

installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/Command.pm.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/compat.pm.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/Connection.p
m.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/Const.pm.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/DBI.pm:
unexpected =item
directive in paragraph 76.  ignoring.
installhtml:
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/DBI.pm:
unterminated list
 at =head in paragraph 79.  ignoring.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/Directive.pm
.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/Filter.pm.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/FilterRec.pm
.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/HookRun.pm.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/Log.pm.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/Mason.pm.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/Module.pm.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/ParseSource.
pm.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/PerlSection.
pm.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/Process.pm.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/Reload.pm.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/RequestIO.pm
.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/RequestRec.p
m.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/RequestUtil.
pm.
installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/Response.pm.

installhtml: no title for
C:/PROGRA~1/APACHE~1/Perl/site/lib/Apache/Server.pm.
installhtml: no title for

SetConsoleMode failed, LastError=|6| at C:/Perl/site/lib/Term/ReadKey.pm line 268, STDIN line 6.

2003-03-04 Thread Richard Heintze
I just downloaded the all-in-one and, as per Randy's
instructions, abandoned my current installations of
Apache2 and perl5.8 by uninstalling them.

I just typed in the perl configure.pl command and I
receive:

SetConsoleMode failed, LastError=|6| at
C:/Perl/site/lib/Term/ReadKey.pm line 26
8, STDIN line 6.
cpan

Should I be concerned? Actually, here are all the
error messages at the end of this email message.
Apparently most of them are warning messages.

Also, what is httpd-win.conf for? Which one is being
used, httpd.conf or httpd-win.conf?
   Thanks,
Siegfried

31.
installhtml: C:/Perl/site/lib/Tk/Pod/Search_db.pm:
cannot resolve Lperlindex i
n paragraph 52.
installhtml: C:/Perl/site/lib/Tk/Pod/Text.pm: cannot
resolve Ltkpod|tkpod in p
aragraph 71.
installhtml: C:/Perl/site/lib/Tk/Pod/Text.pm: cannot
resolve Lperlindex|perlind
ex in paragraph 71.
installhtml: no title for
C:/Perl/site/lib/Tk/Text/Tag.pm.
installhtml: C:/Perl/site/lib/Tk/DropSite.pod:
unexpected =item directive in par
agraph 10.  ignoring.
installhtml: C:/Perl/site/lib/Tk/Entry.pod:
unterminated list at =head in paragr
aph 147.  ignoring.
installhtml: C:/Perl/site/lib/Tk/Listbox.pod:
unterminated list at =head in para
graph 196.  ignoring.
installhtml: C:/Perl/site/lib/Tk/Pod_usage.pod: cannot
resolve Ltkpod in parag
raph 30.
installhtml: C:/Perl/site/lib/Tk/Pod_usage.pod: cannot
resolve Lpod2man in par
agraph 30.
installhtml: C:/Perl/site/lib/Tk/Pod_usage.pod: cannot
resolve Lpod2text in pa
ragraph 30.
installhtml: C:/Perl/site/lib/Tk/Pod_usage.pod: cannot
resolve Lpod2html in pa
ragraph 30.
installhtml: no title for
C:/Perl/site/lib/Tk/Adjuster.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/After.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Animation.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Balloon.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Bitmap.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/BrowseEntry.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Button.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Canvas.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Checkbutton.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Clipboard.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/ColorEditor.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Compound.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Config.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Configure.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Derived.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Dialog.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/DialogBox.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Dirlist.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/DirTree.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/DragDrop.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/DropSite.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/English.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Entry.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/ErrorDialog.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Event.pm.
installhtml: no title for C:/Perl/site/lib/Tk/FBox.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/FileSelect.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/FloatEntry.pm.
installhtml: no title for C:/Perl/site/lib/Tk/Font.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Frame.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/HList.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/IconList.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Image.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/install.pm.
installhtml: no title for C:/Perl/site/lib/Tk/IO.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/ItemStyle.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Label.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/LabEntry.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/LabFrame.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/LabRadio.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Listbox.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/MainWindow.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/MakeDepend.pm.
installhtml: no title for C:/Perl/site/lib/Tk/Menu.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Menubar.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Menubutton.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Message.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/MMtry.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/MMutil.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/NBFrame.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/NoteBook.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Optionmenu.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Photo.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Pixmap.pm.
installhtml: C:/Perl/site/lib/Tk/Pod.pm: cannot
resolve Ltkpod|tkpod in paragr
aph 31.
installhtml: no title for
C:/Perl/site/lib/Tk/Pretty.pm.
installhtml: no title for
C:/Perl/site/lib/Tk/Radiobutton.pm.
installhtml: no title for

Re: Problems installing mod_perl2 on Apache2 on Win200

2003-03-03 Thread Richard Heintze
Apache HTTPD seems to be running fine.

Do I have the right version of apache and mod_perl?
I'm unpacking mod_perl2.tar. perl mpinstall does not
seem to be giving me any errors.

Apache installed itself in the directory program
files/apache group/apache2 so I think this means I'm
running apache2.

What should I do next? Maybe I should build mod_perl
myself. Which compiler do you recommend for building
mod_perl on NT4 or Windows 2000?

   Siegfried

--- Randy Kobes [EMAIL PROTECTED] wrote:
 On Sun, 2 Mar 2003, Richard Heintze wrote:
 
  I have followed the instructions at
 

http://perl.apache.org/docs/1.0/os/win32/install.html
  
  I've put the following in my httpd.conf file:
  LoadFile c:/Perl/bin/perl58.dll
  LoadModule mod_perl modules/mod_perl.so
  PerlRequire C:/Apache2/conf/extra.pl
 
 Hi,
Does Apache run OK without mod_perl?
 
Did you intend to have extra.pl under
 C:/Apache2/conf/, when the rest of the stuff is
 under C:/Program Files/Apache Group/Apache2/?
 It's no problem if you do ...
 
  I have expanded mod_perl-2.tar and extracted
  mod_perl.so into modules\mod_perl.so.
 
 And also did the 'ppm install mod_perl' to install
 the Perl side?
  
  I have c:perl\bin in my path. And still I get the
  error below.
   Can someone help me?
Sieg
  
  C:\C:\Program Files\Apache
  Group\Apache2\bin\Apache.exe -w -f C:\Program
 Fil
  es\Apache Group\Apache2\conf\httpd.conf -d
  C:\Program Files\Apache Group\Apach
  e2\.
  Syntax error on line 135 of C:/Program
 Files/Apache
  Group/Apache2/conf/httpd.con
  f:
  Cannot load C:/Program Files/Apache
  Group/Apache2/modules/mod_perl.so into serve
  r: The specified module could not be found.
  Note the errors or messages above, and press the
 ESC
  key to exit.  0
  C:\
 
 Assuming you're using a recent mod_perl 2 ppm
 package,
 is your Apache version at least 2.0.43? Prior
 versions
 may not be compatible with this mod_perl, which was 
 compiled against 2.0.44.
 
 Other than that, if at all possible, an idea might
 be
 to install Apache into a directory that doesn't
 contain
 spaces (eg, C:\Apache2). Or if that's not possible,
 try
 using DOS short path names for the directories in
 httpd.conf.
 
 -- 
 best regards,
 randy kobes
 


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


Re: Problems installing mod_perl2 on Apache2 on Win200

2003-03-02 Thread Richard Heintze
I have followed the instructions at
http://perl.apache.org/docs/1.0/os/win32/install.html

I've put the following in my httpd.conf file:
LoadFile c:/Perl/bin/perl58.dll
LoadModule mod_perl modules/mod_perl.so
PerlRequire C:/Apache2/conf/extra.pl

I have expanded mod_perl-2.tar and extracted
mod_perl.so into modules\mod_perl.so.

I have c:perl\bin in my path. And still I get the
error below.
 Can someone help me?
  Sieg

C:\C:\Program Files\Apache
Group\Apache2\bin\Apache.exe -w -f C:\Program Fil
es\Apache Group\Apache2\conf\httpd.conf -d
C:\Program Files\Apache Group\Apach
e2\.
Syntax error on line 135 of C:/Program Files/Apache
Group/Apache2/conf/httpd.con
f:
Cannot load C:/Program Files/Apache
Group/Apache2/modules/mod_perl.so into serve
r: The specified module could not be found.
Note the errors or messages above, and press the ESC
key to exit.  0
C:\

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


Re: Problems installing mod_perl2 on Apache2 on Win200

2003-03-02 Thread Richard Heintze

Randy,
I can boot apache and I can view the index.html.en and
navigate to the documentation. No errors. It seems to
be working fine.

   Sieg



--- Randy Kobes [EMAIL PROTECTED] wrote:
 On Sun, 2 Mar 2003, Richard Heintze wrote:
 
  I have followed the instructions at
 

http://perl.apache.org/docs/1.0/os/win32/install.html
  
  I've put the following in my httpd.conf file:
  LoadFile c:/Perl/bin/perl58.dll
  LoadModule mod_perl modules/mod_perl.so
  PerlRequire C:/Apache2/conf/extra.pl
 
 Hi,
Does Apache run OK without mod_perl?
 
Did you intend to have extra.pl under
 C:/Apache2/conf/, when the rest of the stuff is
 under C:/Program Files/Apache Group/Apache2/?
 It's no problem if you do ...
 
  I have expanded mod_perl-2.tar and extracted
  mod_perl.so into modules\mod_perl.so.
 
 And also did the 'ppm install mod_perl' to install
 the Perl side?
  
  I have c:perl\bin in my path. And still I get the
  error below.
   Can someone help me?
Sieg
  
  C:\C:\Program Files\Apache
  Group\Apache2\bin\Apache.exe -w -f C:\Program
 Fil
  es\Apache Group\Apache2\conf\httpd.conf -d
  C:\Program Files\Apache Group\Apach
  e2\.
  Syntax error on line 135 of C:/Program
 Files/Apache
  Group/Apache2/conf/httpd.con
  f:
  Cannot load C:/Program Files/Apache
  Group/Apache2/modules/mod_perl.so into serve
  r: The specified module could not be found.
  Note the errors or messages above, and press the
 ESC
  key to exit.  0
  C:\
 
 Assuming you're using a recent mod_perl 2 ppm
 package,
 is your Apache version at least 2.0.43? Prior
 versions
 may not be compatible with this mod_perl, which was 
 compiled against 2.0.44.
 
 Other than that, if at all possible, an idea might
 be
 to install Apache into a directory that doesn't
 contain
 spaces (eg, C:\Apache2). Or if that's not possible,
 try
 using DOS short path names for the directories in
 httpd.conf.
 
 -- 
 best regards,
 randy kobes
 


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


Re: Can't connect to ppm-ia.ActiveState.com:80

2003-03-01 Thread Richard Heintze
The mod_perl installation works fine on my home
machine. (I' have not actually tried it yet, but I
don't get errors about contacting
http://theoryx5.uwinopeg

The office machine can browse the internet but still
gives me errors when running perl mpinstall. 

The office machine connects to the internet via a
proxy server -- perhaps that is the problem. Is there
a way for mpinstall to accommodate a proxy server?

How can I manually fetch the files that mpinstall is
trying to get and install locally?
   Thanks,
 Siegfried



--- Randy Kobes [EMAIL PROTECTED] wrote:
 On Fri, 28 Feb 2003, Richard Heintze wrote:
 
  I've searched the archives for connect and could
  find no hints.
  
  As per the mod_perl installation instructions, I
 type
  the following command:
  C:\Program Files\Apache
  Group\APACHE2\mod_perl-1.99_08ppm install
 

http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58
 
 You don't want to do that - rather, try
  C:\ ppm install
 http://theoryx5.uwinnipeg.ca/ppms/mod_perl.ppd
 The address
 

http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58
 is what you can set the repository to within the ppm
 shell.
  
  And I get these errors (see below). I have
 installed
  Apache 2 and perl 5.8 and I'm trying to install
  mod_perl2.
  
  Error: No valid repositories: Error: 500 Can't
 connect to
  ppm.ActiveState.com:80 (Bad hostname
  'ppm.ActiveState.com') at
  D:/Perl/site/lib/PPM/Repository.pm line 84 Error:
 500
  Can't connect to
  ppm-ia.ActiveState.com:80 (Bad hostname
  'ppm-ia.ActiveState.com') at
  D:/Perl/site/lib/PPM/Repository.pm line 84
 
 There was recent discussion on the perl-win32-users
 mailing list
 (archives at http://www.activestate.com/) about
 this. Part of the
 problem I think is that ppm-ia.ActiveState.com isn't
 running yet.
 One recommendation was to use ppm2 for now.
 
 -- 
 best regards,
 randy kobes
 


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


Can't connect to ppm-ia.ActiveState.com:80

2003-02-28 Thread Richard Heintze
I've searched the archives for connect and could
find no hints.

As per the mod_perl installation instructions, I type
the following command:
C:\Program Files\Apache
Group\APACHE2\mod_perl-1.99_08ppm install
http://theory
x5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58

And I get these errors (see below). I have installed
Apache 2 and perl 5.8 and I'm trying to install
mod_perl2.

Error: No valid repositories: Error: 500 Can't connect
to
ppm.ActiveState.com:80 (Bad hostname
'ppm.ActiveState.com') at
D:/Perl/site/lib/PPM/Repository.pm line 84 Error: 500
Can't connect to
ppm-ia.ActiveState.com:80 (Bad hostname
'ppm-ia.ActiveState.com') at
D:/Perl/site/lib/PPM/Repository.pm line 84

Thanks,
Siegfried
C:\Program Files\Apache Group\APACHE2\mod_perl-1.99_08

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/