[rt-users] REPOST: Odd number of elements in hash assignment at ...

Randy Millis rmillisl at gdcanada.com
Thu Aug 21 12:33:44 EDT 2003


I'm not sure this ended up on the list (least I never saw it) as a result of
the power outange that affected my east coast mail gateway:

Getting the following error trying to configure Apache with RT On start):

-cut-
Odd number of elements in hash assignment at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm line 154.
[Thu Aug 14 15:52:43 2003] [error] unknown field mod_perl must be compiled
with PERL_METHOD_HANDLERS=1 (or EVERYTHING=1) to use  passed to constructor
for class HTML::Mason::ExceptionCompilation failed in require at
/opt/rt3/bin/webmux.pl line 45.
BEGIN failed--compilation aborted at /opt/rt3/bin/webmux.pl line 51.
Compilation failed in require at (eval 5) line 1.

Syntax error on line 989 of /usr/local/apache/conf/httpd.conf:
unknown field mod_perl must be compiled with PERL_METHOD_HANDLERS=1 (or
EVERYTHING=1) to use  passed to constructor for class
HTML::Mason::ExceptionCompilation failed in require at
/opt/rt3/bin/webmux.pl line 45.
BEGIN failed--compilation aborted at /opt/rt3/bin/webmux.pl line 51.
Compilation failed in require at (eval 5) line 1.

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

DETAILS

- OS/Host: SunOS 5.9 Generic_112233-05 sun4u sparc SUNW,Sun-Blade-100
- mod_perl-1.28
- MySQL Server version          4.0.13
- Perl, v5.8.0 built for sun4-solaris
-  Apache Server version: Apache/1.3.27 (Unix), Server built:   Aug 14 2003
01:37:13
-  /usr/local/apache/bin/httpd -l
Compiled-in modules:
  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_access.c
  mod_auth.c
  mod_setenvif.c
  mod_perl.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec

<VirtualHost [xx.xx.xx.xx] >
    ServerName [real fqdn]
    DocumentRoot /opt/rt3/share/html
    AddDefaultCharset UTF-8
    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl
<Location>
        SetHandler perl-script
        PerlHandler RT::Mason
</Location>
</VirtualHost>








More information about the rt-users mailing list