Can't start apache after 2.0.9 installation

Hi all,

I’m having trouble starting apache after adding the following perl handler
for RT:

Alias /rt/ /opt/rt2/WebRT/html/
PerlRequire /opt/rt2/bin/webmux.pl
<Location /rt>
	SetHandler perl-script
	PerlHandler RT::Mason
</Location>

Summary of my system:

  • Red Hat 7.1
  • Perl 5.6.1
  • mod_perl 1.26
  • apache 1.3.22

I rebuilt mod_perl and apache as follows:

perl Makefile.PL APACHE_PREFIX=/usr/local/apache
APACHE_SRC=…/apache-1.3.22/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
PERL_TABLE_API=1

I added the PERL_TABLE_API after seeing a previous post on this list, and it
did suppress an error with Apache::Table.

The apache log file shows these errors:

[Sun Dec 2 10:46:41 2001] [error] Can’t call method “get” on an undefined
value
at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line
365.
Compilation failed in require at /opt/rt2/bin/webmux.pl line 20. BEGIN
failed–
compilation aborted at /opt/rt2/bin/webmux.pl line 20. Compilation failed in
require at (eval 18) line 1.

Syntax error on line 286 of /usr/local/apache/conf/httpd.conf: Can’t call
method
"get" on an undefined value at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 365.
Compilation failed in require at /opt/rt2/bin/webmux.pl line 20. BEGIN
failed–
compilation aborted at /opt/rt2/bin/webmux.pl line 20. Compilation failed in
require at (eval 18) line 1.

Any ideas on how to resolve this?

Thanks,

Don Silvia

Here’s the output:

make testdeps

/usr/bin/perl ./tools/testdeps -warn mysql
Checking for DBI 1.18 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.47 …found
Checking for HTML::Entities…found
Checking for MLDBM…found
Checking for Net::Domain…found
Checking for Net::SMTP…found
Checking for Params::Validate 0.02 …found
Checking for HTML::Mason 0.896 …found
Checking for CGI::Cookie 1.20 …found
Checking for Apache::Cookie…found
Checking for Apache::Session 1.53 …found
Checking for Date::Parse…found
Checking for Date::Format…found
Checking for MIME::Entity 5.108 …found
Checking for Mail::Mailer 1.20 …found
Checking for Getopt::Long 2.24 …found
Checking for Tie::IxHash…found
Checking for Text::Wrapper…found
Checking for Text::Template…found
Checking for File::Spec 0.8 …found
Checking for Errno…found
Checking for FreezeThaw…found
Checking for File::Temp…found
Checking for Log::Dispatch 1.6 …found
Checking for DBD::mysql 2.0416 …found

Actually, I have HTML::Mason v. 1.04 installed. The first time I ran ‘make
testdeps’ it found quite a few things that weren’t installed or up to date.
So I ran ‘make fixdeps’ and it seemed to take care of everything.

Thanks,

Don SilviaFrom: Sheeri Kritzer [mailto:awfief@usg.tufts.edu]
Sent: Monday, December 03, 2001 2:08 PM
To: Don Silvia
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] Can’t start apache after 2.0.9 installation

I would make sure you have the latest HTML::Mason perl module installed.
what does ‘make testdeps’ say?

Sheeri Kritzer
Systems Administrator
University Systems Group
Tufts University
617-627-3925
sheeri.kritzer@tufts.edu

Hi all,

I’m having trouble starting apache after adding the following perl handler
for RT:

Alias /rt/ /opt/rt2/WebRT/html/
PerlRequire /opt/rt2/bin/webmux.pl
<Location /rt>
SetHandler perl-script
PerlHandler RT::Mason

Summary of my system:

  • Red Hat 7.1
  • Perl 5.6.1
  • mod_perl 1.26
  • apache 1.3.22

I rebuilt mod_perl and apache as follows:

perl Makefile.PL APACHE_PREFIX=/usr/local/apache
APACHE_SRC=…/apache-1.3.22/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
PERL_TABLE_API=1

I added the PERL_TABLE_API after seeing a previous post on this list, and
it
did suppress an error with Apache::Table.

The apache log file shows these errors:

[Sun Dec 2 10:46:41 2001] [error] Can’t call method “get” on an undefined
value
at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line
365.
Compilation failed in require at /opt/rt2/bin/webmux.pl line 20. BEGIN
failed–
compilation aborted at /opt/rt2/bin/webmux.pl line 20. Compilation failed
in
require at (eval 18) line 1.

Syntax error on line 286 of /usr/local/apache/conf/httpd.conf: Can’t call
method
"get" on an undefined value at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 365.
Compilation failed in require at /opt/rt2/bin/webmux.pl line 20. BEGIN
failed–
compilation aborted at /opt/rt2/bin/webmux.pl line 20. Compilation failed
in
require at (eval 18) line 1.

Any ideas on how to resolve this?

Thanks,

Don Silvia


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users