Mason Exceptions.pm startup error

Hello all,

I just recently built up a new machine (using fedora) and installed
apache 1.3.29 with modperl1 1.29. However, when I start apache I’m
getting the following:

Odd number of elements in hash assignment at
/usr/lib/perl5/site_perl/5.8.1/HTML/Mason/Exceptions.pm line 154.
[Fri Jan 30 16:12:13 2004] [error] unknown field
passed to constructor for class HTML::Mason::ExceptionCompilation
failed in require at /opt/rt3/bin/webmux.pl line 57.
BEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line 63.
Compilation failed in require at (eval 5) line 1.

Syntax error on line 961 of /usr/local/apache/conf/httpd.conf:
unknown field
passed to constructor for class HTML::Mason::ExceptionCompilation
failed in require at /opt/rt3/bin/webmux.pl line 57.
BEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line 63.
Compilation failed in require at (eval 5) line 1.

/usr/local/apache/bin/apachectl start: httpd could not be started

I’m not a perl jockey, though I’ve used RT for about a year and a half
(just changed jobs and now setting it up in my position). I searched
the archives and saw one other person who had this problem but never got
a response to their query.

Any suggestions on how to correct this?

Thanks,

Jim Goss
Director of Network Operations
Privacy, Inc.

Odd number of elements in hash assignment at
/usr/lib/perl5/site_perl/5.8.1/HTML/Mason/Exceptions.pm line 154.
[Fri Jan 30 16:12:13 2004] [error] unknown field
passed to constructor for class HTML::Mason::ExceptionCompilation
failed in require at /opt/rt3/bin/webmux.pl line 57.
BEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line 63.
Compilation failed in require at (eval 5) line 1.

Any suggestions on how to correct this?

Make sure you have the latest version of the Perl module Exception::Class,
although I’ve never seen this particular error that I can recall.

Also, what version of Mason do you have? If it’s much older than the
latest (1.25) you could try upgrading.

-dave

/=======================
House Absolute Consulting


=======================
/

Well, I checked CPAN and my Exception::Class was already up to date. Also already had tried upgrading Mason to 1.25. Thanks for the suggestions…From: Dave Rolsky [mailto:autarch@urth.org]
Sent: Fri 1/30/2004 6:55 PM
To: Jim Goss
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Mason Exceptions.pm startup error

Odd number of elements in hash assignment at
/usr/lib/perl5/site_perl/5.8.1/HTML/Mason/Exceptions.pm line 154.
[Fri Jan 30 16:12:13 2004] [error] unknown field
passed to constructor for class HTML::Mason::ExceptionCompilation
failed in require at /opt/rt3/bin/webmux.pl line 57.
BEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line 63.
Compilation failed in require at (eval 5) line 1.

Any suggestions on how to correct this?

Make sure you have the latest version of the Perl module Exception::Class,
although I’ve never seen this particular error that I can recall.

Also, what version of Mason do you have? If it’s much older than the
latest (1.25) you could try upgrading.

-dave

/=======================
House Absolute Consulting


=======================
/

Replying to myself primarily for the mail archives (for future people
who may have this same problem).

I was able to resolve the below problem by completely rebuilding
mod_perl & apache (despite the fact that apache reported that mod_perl
was built and there’d been no errors in the original build). Most
likely I goofed something up the first time around and didn’t realize
it.

Thanks,

Jim Goss
Director of Network Operations
Privacy, Inc.

-----Original Message-----
From: Jim Goss
Sent: Friday, January 30, 2004 4:28 PM
To: ‘rt-users@lists.bestpractical.com’
Subject: Mason Exceptions.pm startup error

Hello all,

I just recently built up a new machine (using fedora) and installed
apache
1.3.29 with modperl1 1.29. However, when I start apache I’m getting
the
following:

Odd number of elements in hash assignment at
/usr/lib/perl5/site_perl/5.8.1/HTML/Mason/Exceptions.pm line 154.
[Fri Jan 30 16:12:13 2004] [error] unknown field
passed to constructor for class HTML::Mason::ExceptionCompilation
failed
in require at /opt/rt3/bin/webmux.pl line 57.
BEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line 63.
Compilation failed in require at (eval 5) line 1.

Syntax error on line 961 of /usr/local/apache/conf/httpd.conf:
unknown field
passed to constructor for class HTML::Mason::ExceptionCompilation
failed
in require at /opt/rt3/bin/webmux.pl line 57.
BEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line 63.
Compilation failed in require at (eval 5) line 1.

/usr/local/apache/bin/apachectl start: httpd could not be started

I’m not a perl jockey, though I’ve used RT for about a year and a half
(just changed jobs and now setting it up in my position). I searched
the