We followed the instructions on
README - RT 5.0.3 Documentation - Best Practical to install RT4 on
ubuntu
We ran step 6a “Make install” to install RT in /rt folder
I am looking at the wiki’s to setup apache and most of the documentation
that I have come accross mentions to include apache3-modperl2.conf. RT did
not install this in the /etc folder. What could we be missing?
thanks so much in advance for helping us to resolve the setup.
open apache2 configuration file.
vi /etc/apache2/sites-available/default
At the end of this file :
Include /etc/request-tracker4/apache2-modperl2.conf
RedirectMatch ^/$ /rt
We followed the instructions on
README - RT 5.0.5 Documentation - Best Practical to install RT4 on
ubuntu
We ran step 6a “Make install” to install RT in /rt folder
I am looking at the wiki’s to setup apache and most of the documentation
that I have come accross mentions to include apache3-modperl2.conf. RT did
not install this in the /etc folder. What could we be missing?
thanks so much in advance for helping us to resolve the setup.
You’re confusing the method of installing from source with installing
the Debian/Ubuntu packge; the file in /etc you refer to comes from
the latter. What you want if you’re already installed from source is
http://www.bestpractical.com/rt/docs/latest/web_deployment.html
(could that perhaps be linked from README?)
Dominic Hargreaves, Systems Development and Support Section
IT Services, University of Oxford
signature.asc (198 Bytes)
Actually now this is my host file. When I restart apache, I get the
following error:
PerlResponseHandler’, perhaps misspelled or defined by a module not
included in the server configuration…
Probably it is something with Apache.
make testdeps
make fixdeps
both return all dependencies found.
How should I fix this?
AddDefaultCharset UTF-8
DocumentRoot "/opt/rt4/share/html"
<Location />
Order allow,deny
Allow from all
SetHandler modperl
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server
</Location>
<Perl>
use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload(“/opt/rt4/sbin/rt-server”);
On Thu, Nov 8, 2012 at 12:15 PM, Dominic Hargreaves < dominic.hargreaves@it.ox.ac.uk> wrote:
On Thu, Nov 08, 2012 at 11:33:04AM -0500, testwreq wreq wrote:
We followed the instructions on
README - RT 5.0.5 Documentation - Best Practical to install RT4
on
ubuntu
We ran step 6a “Make install” to install RT in /rt folder
I am looking at the wiki’s to setup apache and most of the documentation
that I have come accross mentions to include apache3-modperl2.conf. RT
did
not install this in the /etc folder. What could we be missing?
thanks so much in advance for helping us to resolve the setup.
You’re confusing the method of installing from source with installing
the Debian/Ubuntu packge; the file in /etc you refer to comes from
the latter. What you want if you’re already installed from source is
Web deployment - RT 5.0.5 Documentation - Best Practical
(could that perhaps be linked from README?)
–
Dominic Hargreaves, Systems Development and Support Section
IT Services, University of Oxford
We’re hiring! Careers — Best Practical Solutions
Web deployment - RT 5.0.5 Documentation - Best Practical
(could that perhaps be linked from README?)
It should be, yes. The README isn’t POD, which makes generating
anything other than plain text an ad-hoc game, but finding “docs/X”
references and linking them would be nice. It’d also be nice to link to
the bin/rt-mailgate docs where that is mentioned, as well as any text
that matches /UPGRADING-\d.\d/, and of course all the normal http URLs
and email addresses mentioned.
Actually now this is my host file. When I restart apache, I get the
following error:
PerlResponseHandler’, perhaps misspelled or defined by a module not
included in the server configuration…
Do you have your mod_perl handler included in Apache? If you look in
/etc/apache2/mods-enabled, you should see a “perl.load” which should be a
symlink to a file of the same name in …/mods-available.
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin
Thank you. This helped. Issued the following commands to fix it:
issued the following commands to install and enable the module in Apache:
apt-get install libapache2-mod-perl2
a2enmod perl
Restarted apache2. The web interface works fine. However, apache restart
gave the following error:
[Thu Nov 08 13:56:57 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
…done.
What could be wrong in this file? this is rt file and enabled in
sites-enabled directory.
# Optional apache logs for RT
# ErrorLog /opt/rt4/var/log/apache2.error
# TransferLog /opt/rt4/var/log/apache2.access
# LogLevel debug
AddDefaultCharset UTF-8
DocumentRoot "/rt/share/html"
Order allow,deny
Allow from all
SetHandler modperl
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /rt/sbin/rt-server
use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload("/rt/sbin/rt-server");
On Thu, Nov 8, 2012 at 1:27 PM, Paul Tomblin wrote:
On Thu, Nov 8, 2012 at 12:37 PM, testwreq wreq testwreq@gmail.com wrote:
Actually now this is my host file. When I restart apache, I get the
following error:
PerlResponseHandler’, perhaps misspelled or defined by a module not
included in the server configuration…
Do you have your mod_perl handler included in Apache? If you look in
/etc/apache2/mods-enabled, you should see a “perl.load” which should be a
symlink to a file of the same name in …/mods-available.
–
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin
We’re hiring! Careers — Best Practical Solutions