[rt-users] Installing RT 3.8.12 on Centos 5.5
Joseph Thames
beartham at gmail.com
Wed Jul 25 13:27:23 EDT 2012
Asanka:
I tried this RT4-type vhost config like you suggested
<VirtualHost rt.metacalculus.net:80>
ServerName rt.metacalculus.net
ServerAdmin admin at rt.metacalculus.net
DocumentRoot /opt/rt3/share/html
AddDefaultCharSet UTF-8
PerlRequire /opt/rt3/bin/webmux.pl
<Location />
Order Allow,Deny
Allow from all
SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt3/sbin/rt-server
</Location>
<Perl>
use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload("/opt/rt3/sbin/rt-server");
</Perl>
</VirtualHost>
But when I tried to restart httpd I got this load error:
Error while loading /opt/rt3/sbin/rt-server: Bad arg length for
Socket::unpack_sockaddr_in, length is 28, should be 16 at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/Socket.pm line 370.
(/opt/rt3/bin/../lib/RT.pm:384)
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Apparently an old bug (I've seen it reported on the web) that occurs
in this Plack::Handler::Apache2 preload but not when I use the
RT::Mason handler.
Thomas:
Since I can get a login window and bring up RT-at-a-glance LOCALLY, I
would prefer to stay with the Mason handler than jump to 4.0.6 and use
the Plack handler. The LOCAL/REMOTE browser difference seems like a
Mason wrapping-chain problem. Maybe I shoud try 3.8.13 before jumping.
Recommendations?
On 7/25/12, Asanka Gunasekera <asanka_gunasekera at yahoo.co.uk> wrote:
> Hi Below is a section of my RT since I had something similar
>
> DocumentRoot /usr/local/rt-ora/share/html
>
> <Location />
> Order allow,deny
> Allow from all
>
> SetHandler perl-script
> PerlResponseHandler Plack::Handler::Apache2
> PerlSetVar psgi_app /usr/local/rt-ora/sbin/rt-server
> </Location>
> <Perl>
> use Plack::Handler::Apache2;
>
> Plack::Handler::Apache2->preload("/usr/local/rt-ora/sbin/rt-server");
> </Perl>
>
> </VirtualHost>
>
>
> Hope it helps
>
> Regards
>
>
>
> ________________________________
> From: Joseph Thames <beartham at gmail.com>
> To: rt-users at lists.bestpractical.com
> Sent: Tuesday, 24 July 2012, 23:15
> Subject: [rt-users] Installing RT 3.8.12 on Centos 5.5
>
> Hello,
>
> I'm a Perl-skilled developer, new to RT, installing RT 3.8.12 on a
> CentOS 5.5 server. I was able to login to username=root
> password=password to bring up the RT-at-a-glance cite from a browser
> on the server.
>
> But when I try it from a browser on another client (Kubuntu 9.04) in
> my office with the same URL, I don't get a login window, but get he
> default (no website) response page from the server.
>
> I'm using the following vhost code in httpd.conf:
>
> <VirtualHost rt.metacalculus.net:80>
> ServerName rt.metacalculus.net
> ServerAdmin admin at rt.metacalculus.net
> DocumentRoot /opt/rt3/share/html
> AddDefaultCharSet UTF-8
>
> PerlRequire /opt/rt3/bin/webmux.pl
> <Directory /opt/rt3/share/html>
> Order Allow,Deny
> Allow from all
> SetHandler perl-script
> PerlResponseHandler RT::Mason
> </Directory>
> </VirtualHost>
>
> When I look at the index.html page in the document root, I get the
> "You are almost there " message:
>
> "You haven't yet configured your webserver to run RT. You appear to
> have installed RT's web interface correctly, but haven't yet
> configured your web server to "run" the RT server which powers the web
> interface. The next step is to edit your webserver's configuration
> file to instruct it to use RT's mod_perl, FastCGI or SpeedyCGI
> handler. If you need commercial support, please contact us at
> sales at bestpractical.com."
>
> It seems there must be a problem with the Mason wrapping chain.
>
> Does anybody have a clue as to what is wrong?
>
> Thanks in advance,
>
> beartham
>
> --
> Joseph 'Bear' Thames
> MetaCalculus, LLC and Meta Science Foundation
> (505) 977-9024 - Cell Phone
> beartham at gmail.com
--
Joseph 'Bear' Thames
MetaCalculus, LLC and Meta Science Foundation
(505) 977-9024 - Cell Phone
beartham at gmail.com
More information about the rt-users
mailing list