Can't Restart Apache2 on fresh install of Ubuntu 8.04 and RT 3.8.1

I have been running a fresh install of RT 3.8.1 on Ubuntu 8.04. I’ve made it
successfully to the configuring of Apache2. I added this to
/etc/apache2/sites-enabled/000-default
#======Begin Added by CN for RT Installation
Alias /rt "/opt/rt3/share/html"
AddDefaultCharset UTF-8

    # optional apache logs for RT
    # ErrorLog /opt/rt3/var/log/apache2.error
    # TransferLog /opt/rt3/var/log/apache2.access

    PerlRequire "/opt/rt3.8/bin/webmux.pl"

    <Location /NoAuth/images>
            SetHandler default
    </Location>
    <Location />
            SetHandler perl-script
            PerlResponseHandler RT::Mason
     </Location>
   #======End Added by CN for RT Installation

And this is the error I get:
Syntax error on line 51 of /etc/apache2/sites-enabled/000-default:
Invalid command ‘PerlRequire’, perhaps misspelled or defined by a module not
included in the server configuration

I changed that line to point to my install (in /opt/rt3.8/) but other than
that, it’s right from the readme file.

FWIW, perl -v produces:
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi

Thanks!
-Chris

Looks like mod_perl2 isn’t installed.

Curtis

Chris Nelson wrote:

How do I install that?On Fri, Sep 12, 2008 at 9:29 AM, Curtis Bruneau curtisb@vianet.ca wrote:

Looks like mod_perl2 isn’t installed.

Curtis

Chris Nelson wrote:

I have been running a fresh install of RT 3.8.1 on Ubuntu 8.04. I’ve made
it successfully to the configuring of Apache2. I added this to
/etc/apache2/sites-enabled/000-default
#======Begin Added by CN for RT Installation
Alias /rt “/opt/rt3/share/html”
AddDefaultCharset UTF-8

   # optional apache logs for RT
   # ErrorLog /opt/rt3/var/log/apache2.error
   # TransferLog /opt/rt3/var/log/apache2.access

   PerlRequire "/opt/rt3.8/bin/webmux.pl"

   <Location /NoAuth/images>
           SetHandler default
   </Location>
   <Location />
           SetHandler perl-script
           PerlResponseHandler RT::Mason
    </Location>
  #======End Added by CN for RT Installation

And this is the error I get:
Syntax error on line 51 of /etc/apache2/sites-enabled/000-default:
Invalid command ‘PerlRequire’, perhaps misspelled or defined by a module
not included in the server configuration

I changed that line to point to my install (in /opt/rt3.8/) but other than
that, it’s right from the readme file.

FWIW, perl -v produces:
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi

Thanks!
-Chris


The rt-users Archives

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

I ‘think’ it would be

sudo apt-get install libapache2-mod-perl2

[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Chris
NelsonSent: Friday, September 12, 2008 9:38 AM
To: Curtis Bruneau
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Can’t Restart Apache2 on fresh install of
Ubuntu8.04 and RT 3.8.1

How do I install that?

just managed to fix mine.
not sure i can be super helpful but post a copy of your RT_SiteConfig
and the entire of 0000-default and i’ll have a look when i’m next free.On Fri, 2008-09-12 at 14:38 +0100, Chris Nelson wrote:

How do I install that?

On Fri, Sep 12, 2008 at 9:29 AM, Curtis Bruneau curtisb@vianet.ca wrote:
Looks like mod_perl2 isn’t installed.

    Curtis
    
    Chris Nelson wrote:
            
            I have been running a fresh install of RT 3.8.1 on
            Ubuntu 8.04. I've made it successfully to the
            configuring of Apache2. I added this
            to /etc/apache2/sites-enabled/000-default
                  #======Begin Added by CN for RT Installation
                   Alias /rt "/opt/rt3/share/html"
                   AddDefaultCharset UTF-8
            
                   # optional apache logs for RT
                   # ErrorLog /opt/rt3/var/log/apache2.error
                   # TransferLog /opt/rt3/var/log/apache2.access
            
                   PerlRequire "/opt/rt3.8/bin/webmux.pl"
            
                   <Location /NoAuth/images>
                           SetHandler default
                   </Location>
                   <Location />
                           SetHandler perl-script
                           PerlResponseHandler RT::Mason
                    </Location>
                  #======End Added by CN for RT Installation
            
            And this is the error I get:
            Syntax error on line 51
            of /etc/apache2/sites-enabled/000-default:
            Invalid command 'PerlRequire', perhaps misspelled or
            defined by a module not included in the server
            configuration
            
            I changed that line to point to my install
            (in /opt/rt3.8/) but other than that, it's right from
            the readme file.
            
            FWIW, perl -v produces:
            This is perl, v5.8.8 built for
            i486-linux-gnu-thread-multi
            
            Thanks!
            -Chris
            
            ------------------------------------------------------------------------
            
            _______________________________________________
            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

This email has been scanned by the MessageLabs Email Security System.
For more information please visit Email Security


plain text document attachment (ATT5612791.txt), “ATT5612791.txt”


The rt-users Archives

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
Calvin Chiang
Network Admin
Utilyx
1st Floor, 55 North Wharf Road
Paddington
London, W2 1LA
Tel: 020 7087 8673
www.utilyx.com

“Utilyx” is the trading name of “Utilyx Limited” and “Utilyx Risk Management Limited” (URML). URML is authorised and regulated by the Financial Services Authority (FSA). This message contains information that may be privileged or confidential and is the property of Utilyx. It is intended only for the person to whom it is addressed. No confidentiality or privilege is waived or lost by any mistransmission. Any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of Utilyx. Unless otherwise stated, any pricing information given in this message is indicative only and does not constitute an offer to deal at any price quoted. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
This email has been scanned by the MessageLabs Email Security System.
For more information please visit Email Security