Any one running RT3.4 ON FreeBSD5.4 with Apache2 andModperl2

Following up on my problem. Let me add some more findings.

It looks like my system is trying to load a backward compatible module which may not be there or the definitions of its location have not been given. Can anyone help me to locate Apache2.pm or specify its location in the @INC directives? Do I have to manually install this file? How ? My attempts are yielding just a blank response.
Kind regards,

Sternford Gapu
Tel.One

  Harare Main Exchange Building, Cnr S. Machel/S. Nujoma, 
  P. O Box CY792, Causeway, Harare 
 
    Office: +263 (0) 4 791 701 Extn 5516
 
    Mobile: +263 (0) 11 879 137
 
    Mail: sternford.gapu@telone.co.zw----- Original Message ----- 

From: Stern
To: rt-users@lists.bestpractical.com
Sent: Tuesday, April 18, 2006 3:28 PM
Subject: Re: [rt-users] Any one running RT3.4 ON FreeBSD5.4 with Apache2 andModperl2

If any one out there is running RT3.4.4 on a freeBSD 5.4 machine using Apache2 & Modperl2 or anyone knowledgeable on these, please help a poor lot who are failing to start up RT under these circumstances. Its an initial setup which is failing really.

I get this error on trying to open RT page:::::::::::

[Tue Apr 18 15:10:10 2006] [error] [client xx.xx.xx.xx] Can’t locate object method “content_type” via package “Apache2::RequestRec” at /opt/rt3/bin/webmux.pl line 108.\n

My httpd.conf settings for RT are::::::::::::

Servername cc.telone.co.zw DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8 # PerlModule Apache2 Apache::compat PerlModule Apache::DBI PerlRequire /opt/rt3/bin/webmux.pl
      <Location /rt3>

RedirectMatch permanent (.*)/$ http://cc.telone.co.zw/rt3$1/index.html

          SetHandler perl-script
          PerlHandler RT::Mason
      </Location>
  ErrorLog logs/coc.telone.co.zw-errors

CustomLog logs/dummy-host.example.com-access_log common

Your help will be very much appreciated
Kind regards,

Sternford Gapu
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html

Did you use the FreeBSD port to do your installation? If not then that
is something to try… The current version of RT in the ports is 3.4.5.
I do run RT3.4.4 under FreeBSD5.4, but use FastCGI instead of mod_perl -
it runs well for me.

A.On Wed, 2006-04-19 at 10:24 +0200, Stern wrote:

Following up on my problem. Let me add some more findings.

It looks like my system is trying to load a backward compatible module
which may not be there or the definitions of its location have not
been given. Can anyone help me to locate Apache2.pm or specify its
location in the @INC directives? Do I have to manually install this
file? How ? My attempts are yielding just a blank response.
Kind regards,

Sternford Gapu

    ----- Original Message ----- 
    From: Stern 
    To: rt-users@lists.bestpractical.com 
    Sent: Tuesday, April 18, 2006 3:28 PM
    Subject: Re: [rt-users] Any one running RT3.4 ON FreeBSD5.4
    with Apache2 andModperl2
    
    
    If any one out there is running RT3.4.4 on a freeBSD 5.4
    machine using Apache2 & Modperl2 or anyone knowledgeable on
    these, please help a poor lot who are failing to start up RT
    under these circumstances. Its an initial setup which is
    failing really.
     
    I get this error on trying to open RT page:::::::::::
     
    [Tue Apr 18 15:10:10 2006] [error] [client xx.xx.xx.xx] Can't
    locate object method "content_type" via package
    "Apache2::RequestRec" at /opt/rt3/bin/webmux.pl line 108.\n
     
    My httpd.conf settings for RT are::::::::::::
     
     <VirtualHost xx.xx.xx.xx> 
            Servername cc.telone.co.zw
            DocumentRoot /opt/rt3/share/html
            AddDefaultCharset UTF-8
    #       PerlModule Apache2 Apache::compat
            PerlModule Apache::DBI
            PerlRequire /opt/rt3/bin/webmux.pl
     
            <Location /rt3>
    #           RedirectMatch permanent (.*)/$
    http://cc.telone.co.zw/rt3$1/index.html
                SetHandler perl-script
                PerlHandler RT::Mason
            </Location>
        ErrorLog logs/coc.telone.co.zw-errors
    #   CustomLog logs/dummy-host.example.com-access_log common
     </VirtualHost>
     
    Your help will be very much appreciated
    Kind regards, 
    Sternford Gapu

Try update HTML::Mason module to the latest available and also check
that it’s mod_perl 2.0 (not a 1.99_XX).

Following up on my problem. Let me add some more findings.

It looks like my system is trying to load a backward compatible module which may not be there or the definitions of its location have not been given. Can anyone help me to locate Apache2.pm or specify its location in the @INC directives? Do I have to manually install this file? How ? My attempts are yielding just a blank response.

Kind regards,

Sternford Gapu
[snipt]

----- Original Message -----
From: Stern
To: rt-users@lists.bestpractical.com
Sent: Tuesday, April 18, 2006 3:28 PM
Subject: Re: [rt-users] Any one running RT3.4 ON FreeBSD5.4 with Apache2 andModperl2

If any one out there is running RT3.4.4 on a freeBSD 5.4 machine using Apache2 & Modperl2 or anyone knowledgeable on these, please help a poor lot who are failing to start up RT under these circumstances. Its an initial setup which is failing really.

I get this error on trying to open RT page:::::::::::

[Tue Apr 18 15:10:10 2006] [error] [client xx.xx.xx.xx] Can’t locate object method “content_type” via package “Apache2::RequestRec” at /opt/rt3/bin/webmux.pl line 108.\n

My httpd.conf settings for RT are::::::::::::

Servername cc.telone.co.zw DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8 # PerlModule Apache2 Apache::compat PerlModule Apache::DBI PerlRequire /opt/rt3/bin/webmux.pl
       <Location    /rt3>

RedirectMatch permanent (.*)/$ http://cc.telone.co.zw/rt3$1/index.html

           SetHandler    perl-script
           PerlHandler RT::Mason
       </Location>
ErrorLog    logs/coc.telone.co.zw-errors

CustomLog logs/dummy-host.example.com-access_log common

Your help will be very much appreciated

Kind regards,

Sternford Gapu

Best regards, Ruslan.