Re: [rt-users] Installing RT 3.8.12 on Centos 5.5
Asanka: I tried this RT4-type vhost config like you suggested VirtualHost rt.metacalculus.net:80 ServerName rt.metacalculus.net ServerAdmin ad...@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_gunasek...@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 beart...@gmail.com To: rt-users@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 ad...@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 sa...@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 beart...@gmail.com -- Joseph 'Bear' Thames MetaCalculus, LLC and Meta Science Foundation (505) 977-9024 - Cell Phone beart...@gmail.com
Re: [rt-users] Installing RT 3.8.12 on Centos 5.5
On 07/25/2012 10:27 AM, Joseph Thames wrote: Asanka: I tried this RT4-type vhost config like you suggested Asanka's suggestion was well intentioned, but you can't use an RT 4 config with an RT 3 install. Don't bother trying to make it work. 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. I think you missed my suggested fix to your config in my original response: Directory /opt/rt3/share/html should be Location / But again, there are very few good reasons to use 3.8 when setting up a new install. Why do you want to use a version that's only getting security fixes and is slower than the current version? If you insist for whatever reason on sticking with 3.8, at least use the latest version in the series.
[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 ad...@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 sa...@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 beart...@gmail.com
Re: [rt-users] Installing RT 3.8.12 on Centos 5.5
On 07/24/2012 10:45 AM, Joseph Thames wrote: I'm a Perl-skilled developer, new to RT, installing RT 3.8.12 on a You should install 3.8.13 not 3.8.12, since 3.8.13 fixes deployment bugs. That said, if you're starting a new install, why are you still on the 3.8 series and not 4.0.6? VirtualHost rt.metacalculus.net:80 ServerName rt.metacalculus.net ServerAdmin ad...@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 Directory /opt/rt3/share/html should be Location /
Re: [rt-users] Installing RT 3.8.12 on Centos 5.5
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 beart...@gmail.com To: rt-users@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 ad...@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 sa...@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 beart...@gmail.com