SV: Mason error?

Hi Sheeri

Have you found a solution for your problem?

I’m getting the same error, when I try to start Apache.

Ole Schelde
Aarhus School of Architecture

-----Oprindelig meddelelse-----Fra: Sheeri Kritzer [mailto:skritz01@emerald.tufts.edu]
Sendt: 26. juli 2001 20:13
Til: rt-users@fsck.com
Emne: [rt-users] Mason error?

Hey there,

trying to install RT2 (what else is new? :wink:

apache, mysql, mod_perl all installed and happy. Apache ran happily
before I placed the following in httpd.conf:

<VirtualHost 130.64.1.156>
DocumentRoot /opt/rt/WebRT/html
ServerName acid.usg.tufts.edu
PerlModule Apache::DBI
PerlRequire /opt/rt/bin/webmux.pl

SetHandler perl-script
PerlHandler RT::Mason

now when I try to start apache, I get:

perl_tie_hash: Can’t locate object method “TIEHASH” via package
“Apache::Table” (perhaps you forgot to load “Apache::Table”?) at
/usr/local/perl/lib/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line
365.
[Thu Jul 26 14:12:07 2001] [error] Can’t locate object method “get” via
package “Apache::Table” (perhaps you forgot to load “Apache::Table”?) at
/usr/local/perl/lib/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line
365.
Compilation failed in require at /opt/rt/bin/webmux.pl line 18.
BEGIN failed–compilation aborted at /opt/rt/bin/webmux.pl line 18.
Compilation failed in require at (eval 4) line 1.

Syntax error on line 956 of /usr/local/apache/conf/httpd.conf:
Can’t locate object method “get” via package “Apache::Table” (perhaps
you
forgot to load “Apache::Table”?) at
/usr/local/perl/lib/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line
365.
Compilation failed in require at /opt/rt/bin/webmux.pl line 18.
BEGIN failed–compilation aborted at /opt/rt/bin/webmux.pl line 18.
Compilation failed in require at (eval 4) line 1.

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

any suggestions? I tried reinstalling the module containing
Apache::Table, but no dice.

Sheeri Kritzer
Systems Administrator
University Systems Group
Tufts University
617-627-3925
skritz01@emerald.tufts.edu

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

From the Apache::Table pods:

Apache::Table provides a tied interface to the Apache Table structure.
mod_perl has to be compiled with at least one of the following options:

DYNAMIC=1
PERL_TABLE_API=1
EVERYTHING=1

HTH
Rich

Ole Schelde wrote:

Rich,

Thank you so much, that was the problem. I compiled mod_perl as root with

perl Makefile.PL DYNAMIC=1 PERL_TABLE_API=1 EVERYTHING=1

and copied the new httpd onto /usr/local/apache/bin/httpd, and voila! it
worked.

Thanks,

-SheeriOn Fri, 27 Jul 2001, Richard Gration wrote:

From the Apache::Table pods:

Apache::Table provides a tied interface to the Apache Table structure.
mod_perl has to be compiled with at least one of the following options:

DYNAMIC=1
PERL_TABLE_API=1
EVERYTHING=1

HTH
Rich

Ole Schelde wrote:

Hi Sheeri

Have you found a solution for your problem?

I’m getting the same error, when I try to start Apache.

Ole Schelde
Aarhus School of Architecture

-----Oprindelig meddelelse-----
Fra: Sheeri Kritzer [mailto:skritz01@emerald.tufts.edu]
Sendt: 26. juli 2001 20:13
Til: rt-users@fsck.com
Emne: [rt-users] Mason error?

Hey there,

trying to install RT2 (what else is new? :wink:

apache, mysql, mod_perl all installed and happy. Apache ran happily
before I placed the following in httpd.conf:

<VirtualHost 130.64.1.156>
DocumentRoot /opt/rt/WebRT/html
ServerName acid.usg.tufts.edu
PerlModule Apache::DBI
PerlRequire /opt/rt/bin/webmux.pl

SetHandler perl-script
PerlHandler RT::Mason

now when I try to start apache, I get:

perl_tie_hash: Can’t locate object method “TIEHASH” via package
“Apache::Table” (perhaps you forgot to load “Apache::Table”?) at
/usr/local/perl/lib/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line
365.
[Thu Jul 26 14:12:07 2001] [error] Can’t locate object method “get” via
package “Apache::Table” (perhaps you forgot to load “Apache::Table”?) at
/usr/local/perl/lib/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line
365.
Compilation failed in require at /opt/rt/bin/webmux.pl line 18.
BEGIN failed–compilation aborted at /opt/rt/bin/webmux.pl line 18.
Compilation failed in require at (eval 4) line 1.

Syntax error on line 956 of /usr/local/apache/conf/httpd.conf:
Can’t locate object method “get” via package “Apache::Table” (perhaps
you
forgot to load “Apache::Table”?) at
/usr/local/perl/lib/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line
365.
Compilation failed in require at /opt/rt/bin/webmux.pl line 18.
BEGIN failed–compilation aborted at /opt/rt/bin/webmux.pl line 18.
Compilation failed in require at (eval 4) line 1.

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

any suggestions? I tried reinstalling the module containing
Apache::Table, but no dice.

Sheeri Kritzer
Systems Administrator
University Systems Group
Tufts University
617-627-3925
skritz01@emerald.tufts.edu


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


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


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

Sheeri Kritzer
Systems Administrator
University Systems Group
Tufts University
617-627-3925
skritz01@emerald.tufts.edu