No response after login

Dear ,
I installed a new version of rt 4.0.5 on
Ubuntu with MySQL database. After login with root I receive no response ,
just redirects me to /NoAuth/Login.html …i have review the
configuration as below

site config

Set( $rtname, ‘rtsystem’);
Set($Organization, “rtsystem.ipmagix.com”);
Set($Timezone, ‘Africa/Cairo’);
#Set($WebBaseURL, “http://rtsystem.ipmagix.com/”);
#Set($WebPath,“/”);
Set($WebDomain,‘10.10.1.110’);
Set($SendmailPath, “/usr/lib/sendmail”);
Set($LogToSyslog,
‘’);
Set($LogToFile,
‘debug’);
Set($LogDir, ‘/opt/rt4/var/log’);
Set($LogToFileNamed , “rt.log”);

VirtualHost config

<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName rtsystem

DocumentRoot /opt/rt4/share/html
AddDefaultCharset UTF-8
ErrorLog /opt/rt4/var/log/apache2.error
TransferLog

/opt/rt4/var/log/apache2.access
SetHandler
/opt/rt4/sbin/rt-server.fcgi
AddHandler fastcgi-script
fcgi
ScriptAlias /
/opt/rt4/sbin/rt-server.fcgi/
<Location /NoAuth/images>
SetHandler
default


Order allow,deny
Allow from all

AddDefaultCharset UTF-8

SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server


use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload(“/opt/rt4/sbin/rt-server”);

apache2.access log

[28/Mar/2012:15:50:58 +0200] “GET / HTTP/1.1” 200
1696
[28/Mar/2012:15:50:59 +0200] “GET /NoAuth/images/bpslogo.png
HTTP/1.1” 200 3929
[28/Mar/2012:15:50:59 +0200] “GET /NoAuth/css/print.css
HTTP/1.1” 200 989
[28/Mar/2012:15:50:59 +0200] “GET
/NoAuth/js/squished-6812ec8beec9403a8b720b6be4f3d8c9.js HTTP/1.1” 200
62655
[28/Mar/2012:15:50:59 +0200] “GET /NoAuth/css/aileron-squished-14db9fc647cded1a2cab3bdfc63aad2f.css
HTTP/1.1” 200 15297
[28/Mar/2012:15:51:00 +0200] “GET
/NoAuth/css/web2/images/background-gradient.png HTTP/1.1” 200 394
[28/Mar/2012:15:51:05 +0200] “POST /NoAuth/Login.html
HTTP/1.1” 200 26
[28/Mar/2012:15:51:14 +0200] “OPTIONS * HTTP/1.0”
200 -
[28/Mar/2012:15:51:20 +0200] “OPTIONS * HTTP/1.0”
200 -

rt.log

[Wed Mar 28 13:50:39 2012] [debug]: RT’s GnuPG libraries
couldn’t successfully read your configured GnuPG home directory (/opt/rt4/var/data/gpg).
PGP support has been disabled (/opt/rt4/sbin/…/lib/RT/Config.pm:595)
[Wed Mar 28 13:50:39 2012] [debug]: The RTAddressRegexp
option is not set in the config. Not setting this option results in additional
SQL queries to check whether each address belongs to RT or not. It is
especially important to set this option if RT recieves emails on addresses that
are not in the database or config. (/opt/rt4/sbin/…/lib/RT/Config.pm:454)
[Wed Mar 28 13:51:05 2012] [info]: Successful login for root
from 10.10.1.106 (/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:670)

So please if you have any idea please feed me back
BR
Ahemd Shaban

Make sure the noauth folder is owned by the web user. And I think after the change you need to delete mason cache.

Someone correct me if I’m wrong. I think my initial installation I had this issue and it was the fix.On Mar 28, 2012, at 6:45 PM, ahmad shaban eng_ahmadshaban@yahoo.com wrote:

Dear ,
I installed a new version of rt 4.0.5 on Ubuntu with MySQL database. After login with root I receive no response , just redirects me to /NoAuth/Login.html …i have review the configuration as below

site config

Set( $rtname, ‘rtsystem’);
Set($Organization, “rtsystem.ipmagix.com”);
Set($Timezone, ‘Africa/Cairo’);
#Set($WebBaseURL, “http://rtsystem.ipmagix.com/”);
#Set($WebPath,“/”);
Set($WebDomain,‘10.10.1.110’);
Set($SendmailPath, “/usr/lib/sendmail”);
Set($LogToSyslog, ‘’);
Set($LogToFile, ‘debug’);
Set($LogDir, ‘/opt/rt4/var/log’);
Set($LogToFileNamed , “rt.log”);

VirtualHost config

<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName rtsystem

DocumentRoot /opt/rt4/share/html
AddDefaultCharset UTF-8
ErrorLog /opt/rt4/var/log/apache2.error
TransferLog /opt/rt4/var/log/apache2.access
  SetHandler /opt/rt4/sbin/rt-server.fcgi
  AddHandler fastcgi-script fcgi
  ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/
<Location /NoAuth/images>
    SetHandler default
</Location>
<Location />

Order allow,deny
Allow from all

AddDefaultCharset UTF-8

SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server


use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload(“/opt/rt4/sbin/rt-server”);

apache2.access log

[28/Mar/2012:15:50:58 +0200] “GET / HTTP/1.1” 200 1696
[28/Mar/2012:15:50:59 +0200] “GET /NoAuth/images/bpslogo.png HTTP/1.1” 200 3929
[28/Mar/2012:15:50:59 +0200] “GET /NoAuth/css/print.css HTTP/1.1” 200 989
[28/Mar/2012:15:50:59 +0200] “GET /NoAuth/js/squished-6812ec8beec9403a8b720b6be4f3d8c9.js HTTP/1.1” 200 62655
[28/Mar/2012:15:50:59 +0200] “GET /NoAuth/css/aileron-squished-14db9fc647cded1a2cab3bdfc63aad2f.css HTTP/1.1” 200 15297
[28/Mar/2012:15:51:00 +0200] “GET /NoAuth/css/web2/images/background-gradient.png HTTP/1.1” 200 394
[28/Mar/2012:15:51:05 +0200] “POST /NoAuth/Login.html HTTP/1.1” 200 26
[28/Mar/2012:15:51:14 +0200] “OPTIONS * HTTP/1.0” 200 -
[28/Mar/2012:15:51:20 +0200] “OPTIONS * HTTP/1.0” 200 -

rt.log

[Wed Mar 28 13:50:39 2012] [debug]: RT’s GnuPG libraries couldn’t successfully read your configured GnuPG home directory (/opt/rt4/var/data/gpg). PGP support has been disabled (/opt/rt4/sbin/…/lib/RT/Config.pm:595)
[Wed Mar 28 13:50:39 2012] [debug]: The RTAddressRegexp option is not set in the config. Not setting this option results in additional SQL queries to check whether each address belongs to RT or not. It is especially important to set this option if RT recieves emails on addresses that are not in the database or config. (/opt/rt4/sbin/…/lib/RT/Config.pm:454)
[Wed Mar 28 13:51:05 2012] [info]: Successful login for root from 10.10.1.106 (/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:670)

So please if you have any idea please feed me back
BR
Ahemd Shaban

<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName rtsystem

DocumentRoot /opt/rt4/share/html
AddDefaultCharset UTF-8
ErrorLog /opt/rt4/var/log/apache2.error
TransferLog /opt/rt4/var/log/apache2.access
  SetHandler /opt/rt4/sbin/rt-server.fcgi
  AddHandler fastcgi-script fcgi
  ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/
<Location /NoAuth/images>
    SetHandler default
</Location>
<Location />

Order allow,deny
Allow from all

AddDefaultCharset UTF-8

SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server


use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload(“/opt/rt4/sbin/rt-server”);

Uh, you appear to have mixed a mod_perl config with a fastcgi config.
You need to pick one.

I have reconfigured the virtual host to use only mod_perl …I changed the owner of noauth folder , delete mason cache, restart the service, changed the own of mason cache to be owned be www…restart the service…I logged …but still the problem…From: Joe Harris drey111@gmail.com
To: ahmad shaban eng_ahmadshaban@yahoo.com
Cc: “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: Thursday, March 29, 2012 12:54 AM
Subject: Re: [rt-users] no response after login

Make sure the noauth folder is owned by the web user. And I think after the change you need to delete mason cache.

Someone correct me if I’m wrong. I think my initial installation I had this issue and it was the fix.

Dear ,
I installed a new version of rt 4.0.5 on
Ubuntu with MySQL database. After login with root I receive no response ,
just redirects me to /NoAuth/Login.html …i have review the
configuration as below

site config

Set( $rtname, ‘rtsystem’);
Set($Organization, “rtsystem.ipmagix.com”);
Set($Timezone, ‘Africa/Cairo’);
#Set($WebBaseURL, “http://rtsystem.ipmagix.com/”);
#Set($WebPath,“/”);
Set($WebDomain,‘10.10.1.110’);
Set($SendmailPath, “/usr/lib/sendmail”);
Set($LogToSyslog,
‘’);
Set($LogToFile,
‘debug’);
Set($LogDir, ‘/opt/rt4/var/log’);
Set($LogToFileNamed , “rt.log”);

VirtualHost config

<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName rtsystem

DocumentRoot /opt/rt4/share/html
AddDefaultCharset UTF-8
ErrorLog /opt/rt4/var/log/apache2.error
TransferLog
/opt/rt4/var/log/apache2.access
SetHandler
/opt/rt4/sbin/rt-server.fcgi
AddHandler fastcgi-script
fcgi
ScriptAlias /
/opt/rt4/sbin/rt-server.fcgi/
<Location /NoAuth/images>
SetHandler
default


Order allow,deny
Allow from all

AddDefaultCharset UTF-8

SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server


use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload(“/opt/rt4/sbin/rt-server”);

apache2.access log

[28/Mar/2012:15:50:58 +0200] “GET / HTTP/1.1” 200
1696
[28/Mar/2012:15:50:59 +0200] “GET /NoAuth/images/bpslogo.png
HTTP/1.1” 200 3929
[28/Mar/2012:15:50:59 +0200] “GET /NoAuth/css/print.css
HTTP/1.1” 200 989
[28/Mar/2012:15:50:59 +0200] “GET
/NoAuth/js/squished-6812ec8beec9403a8b720b6be4f3d8c9.js HTTP/1.1” 200
62655
[28/Mar/2012:15:50:59 +0200] “GET /NoAuth/css/aileron-squished-14db9fc647cded1a2cab3bdfc63aad2f.css
HTTP/1.1” 200 15297
[28/Mar/2012:15:51:00 +0200] “GET
/NoAuth/css/web2/images/background-gradient.png HTTP/1.1” 200 394
[28/Mar/2012:15:51:05 +0200] “POST /NoAuth/Login.html
HTTP/1.1” 200 26
[28/Mar/2012:15:51:14 +0200] “OPTIONS * HTTP/1.0”
200 -
[28/Mar/2012:15:51:20 +0200] “OPTIONS * HTTP/1.0”
200 -

rt.log

[Wed Mar 28 13:50:39 2012] [debug]: RT’s GnuPG libraries
couldn’t successfully read your configured GnuPG home directory (/opt/rt4/var/data/gpg).
PGP support has been disabled (/opt/rt4/sbin/…/lib/RT/Config.pm:595)
[Wed Mar 28 13:50:39 2012] [debug]: The RTAddressRegexp
option is not set in the config. Not setting this option results in additional
SQL queries to check whether each address belongs to RT or not. It is
especially important to set this option if RT recieves emails on addresses that
are not in the database or config. (/opt/rt4/sbin/…/lib/RT/Config.pm:454)
[Wed Mar 28 13:51:05 2012] [info]: Successful login for root
from 10.10.1.106 (/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:670)

So please if you have any idea please feed me back
BR
Ahemd Shaban