Can't start httpd


#1

Hi,

I have installed httpd-2.0.54, mod_perl-2.0.0, mysql-4.1.12 and rt-3.4.2
successfully(I think).
but I can’t start httpd.
The error is:

[Fri Jun 03 13:41:20 2005] [error] Can’t locate object method "server"
via package “Apache” at
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/ApacheHandler.pm line
336.\nCompilation failed in require at
/usr/local/rt3/lib/RT/Interface/Web/Handler.pm line 149.\nCompilation
failed in require at (eval 2) line 1.\n
[Fri Jun 03 13:41:20 2005] [error] Can’t load Perl file: /usr/local/rt3/bin/webmux.pl for server rt3.tyo02.dti:0, exiting…

I editted in httpd.conf file as:

<VirtualHost *:80>
DocumentRoot /usr/local/rt3/share/html
ServerName my. server.name
PerlModule Apache::DBI
PerlRequire /usr/local/rt3/bin/webmux.pl

SetHandler perl-script
PerlHandler RT::Mason

Do you have any suggestion?

Shin
Shin Imai shin.imai@etimestech.jp


#2

I have installed httpd-2.0.54, mod_perl-2.0.0, mysql-4.1.12 and rt-3.4.2
successfully(I think).
but I can’t start httpd.

Hi Shin,

Glad to see another brave soul trying to run RT under MP2. You’ll need
to hack some of the Mason libs as well as some of the RT libs to get it
working. Just follow the error messages and fix all calls from Apache::
to Apache2:: It took less time than I thought and I haven’t seen any
problems for the last couple of weeks.

Good luck,
William

Knowmad Services Inc.


#3

Hi, William.

Thanks for your advice.

But I am a dreadfully biginner fo linux. I don’t understand clearly. Would
you please tell me what I have to do to work this?

ShinOn Fri, 3 Jun 2005 09:34:29 -0400 William McKee william@knowmad.com wrote:

On Fri, Jun 03, 2005 at 05:51:53PM +0900, Shin Imai wrote:

I have installed httpd-2.0.54, mod_perl-2.0.0, mysql-4.1.12 and rt-3.4.2
successfully(I think).
but I can’t start httpd.

Hi Shin,

Glad to see another brave soul trying to run RT under MP2. You’ll need
to hack some of the Mason libs as well as some of the RT libs to get it
working. Just follow the error messages and fix all calls from Apache::
to Apache2:: It took less time than I thought and I haven’t seen any
problems for the last couple of weeks.

Good luck,
William


Knowmad Services Inc.
http://www.knowmad.com

Shin Imai shin.imai@etimestech.jp


#4

But I am a dreadfully biginner fo linux. I don’t understand clearly. Would
you please tell me what I have to do to work this?

The path of least resistance is to use Apache 1.3 and mod_perl 1. If you
still want to proceed, start with this document[1] which explains what
needs to change to make Perl programs work under mp2.

Good luck,
William

[1] http://perl.apache.org/docs/2.0/rename.html

Knowmad Services Inc.