First install-no web login screen

Hello,

I get this message in the browser when trying to hit the machine name
with rt running:

Bad request!

Your browser (or proxy) sent a request that this server could not

understand.

If you think this is a server error, please contact the webmaster 

Error 400

System is RedHat 9.0, installed all Perl modules available on RHN, then
ran perl sbin/rt-test-dependencies --with-mysql --with-modperl2.

Any ideas on where to start?

Brian.

Using fastcgi, I can get a login screen, login, but there are no
graphics, and I can’t use any of the menu options. I think it is
something to do with directory aliases, but I can’t figure it out.

Can anyone help?

Brian

Using RedHat 9, fastcgi, mysql.

Virtual hosts section of /etc/httpd/conf/httpd.conf:
<VirtualHost *:80>
ServerName support.systemsaligned.com:80

    DocumentRoot /opt/rt3/share/html/
    AddDefaultCharset UTF-8

    Alias /error /var/www/error
    Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images

    <IfModule mod_fastcgi.c>
            AddHandler fastcgi-script fcgi
            FastCgiIpcDir /tmp/rt-fcgi
            FastCgiServer /opt/rt3/bin/mason_handler.fcgi

-idle-timeout 3600
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

Clicking “preferences” in the admin web page gives a url of
http://support.systemsaligned.com/opt/rt3/share/html/User/Prefs.html”,
and an error of:

System error
error: could not find component for initial path
‘/opt/rt3/share/html/User/Prefs.html/index.html’
context:

160: die “Cannot make alias without caller”
161: unless defined $Exception::Class::Caller;
162:
163: no strict ‘refs’;
164: *{“$Exception::Class::Caller::$alias”} = sub {
$subclass->throw(@_) };
165: }
166:
167: eval $code;
168:

code stack: /usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm:164
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:226
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:207
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:89
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:72
g /opt/rt3/bin/mason_handler.fcgi:53
g
raw error

Clicking on “raw error” gives:

could not find component for initial path
‘/opt/rt3/share/html/User/Prefs.html/index.html’

Trace begun at /usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm line
164
Exception::Class::ANON(‘could not find component for initial path
'/opt/rt3/share/html/User/Prefs.html/index.html'^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 226
eval {…}(‘could not find component for initial path
'/opt/rt3/share/html/User/Prefs.html/index.html'^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 186
HTML::Mason::Request::_initialize(‘HTML::Mason::Request::CGI=HASH(0x8cc8
81c)’) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm
line 166
HTML::Mason::Request::new(‘HTML::Mason::Request::CGI’, ‘error_mode’,
‘output’, ‘error_format’, ‘html’, ‘cgi_request’,
‘HTML::Mason::FakeApache=HASH(0x88e0010)’, ‘out_method’,
‘SCALAR(0x8e58260)’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 265
Class::Container::call_method(‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘request’, ‘new’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 343
Class::Container::create_delayed_object(‘HTML::Mason::Interp=HASH(0x8f46
f20)’, ‘request’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 213
HTML::Mason::Interp::make_request(‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 207
HTML::Mason::Interp::exec(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89
eval {…}(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89
HTML::Mason::CGIHandler::_handler(‘HTML::Mason::CGIHandler=HASH(0x8905f7
8)’, ‘HASH(0x9241a50)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 72
HTML::Mason::CGIHandler::handle_cgi_object(‘HTML::Mason::CGIHandler=HASH
(0x8905f78)’, ‘CGI::Fast=HASH(0x8cbea78)’) called at
/opt/rt3/bin/mason_handler.fcgi line 53
eval {…}(‘HTML::Mason::CGIHandler=HASH(0x8905f78)’,
‘CGI::Fast=HASH(0x8cbea78)’) called at /opt/rt3/bin/mason_handler.fcgi
line 53

Paste your virtual server settings from httpd.conf… and did you
restart apache by chance? Gotta ask

Michael-----Original Message-----
From: Brian Zammit [mailto:bzammit@systemsaligned.com]
Posted At: Sunday, September 14, 2003 7:04 AM
Posted To: RT
Conversation: [rt-users] First install-no web login screen
Subject: [rt-users] First install-no web login screen

Hello,

I get this message in the browser when trying to hit the machine name
with rt running:

Bad request!

Your browser (or proxy) sent a request that this server could not

understand.

If you think this is a server error, please contact the webmaster 

Error 400

System is RedHat 9.0, installed all Perl modules available on RHN, then
ran perl sbin/rt-test-dependencies --with-mysql --with-modperl2.

Any ideas on where to start?

Brian.

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Check your /var/log/messages, /var/log/httpd/error_logs and access_log
and see if you get any errors and such. Turn on rt logging in your
RT_CONFIG, RT_SiteConfig file and try your web pages again.

Michael-----Original Message-----
From: Brian Zammit [mailto:bzammit@systemsaligned.com]
Posted At: Sunday, September 14, 2003 3:08 PM
Posted To: RT
Conversation: [rt-users] RT RH9 fastcgi alias problem
Subject: [rt-users] RT RH9 fastcgi alias problem

Using fastcgi, I can get a login screen, login, but there are no
graphics, and I can’t use any of the menu options. I think it is
something to do with directory aliases, but I can’t figure it out.

Can anyone help?

Brian

Using RedHat 9, fastcgi, mysql.

Virtual hosts section of /etc/httpd/conf/httpd.conf:
<VirtualHost *:80>
ServerName support.systemsaligned.com:80

    DocumentRoot /opt/rt3/share/html/
    AddDefaultCharset UTF-8

    Alias /error /var/www/error
    Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images

    <IfModule mod_fastcgi.c>
            AddHandler fastcgi-script fcgi
            FastCgiIpcDir /tmp/rt-fcgi
            FastCgiServer /opt/rt3/bin/mason_handler.fcgi

-idle-timeout 3600
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

Clicking “preferences” in the admin web page gives a url of
http://support.systemsaligned.com/opt/rt3/share/html/User/Prefs.html”,
and an error of:

System error
error: could not find component for initial path
‘/opt/rt3/share/html/User/Prefs.html/index.html’
context:

160: die “Cannot make alias without caller”
161: unless defined $Exception::Class::Caller;
162:
163: no strict ‘refs’;
164: *{“$Exception::Class::Caller::$alias”} = sub {
$subclass->throw(@_) };
165: }
166:
167: eval $code;
168:

code stack: /usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm:164
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:226
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:207
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:89
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:72
g /opt/rt3/bin/mason_handler.fcgi:53
g
raw error

Clicking on “raw error” gives:

could not find component for initial path
‘/opt/rt3/share/html/User/Prefs.html/index.html’

Trace begun at /usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm line
164
Exception::Class::ANON(‘could not find component for initial path
'/opt/rt3/share/html/User/Prefs.html/index.html'^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 226
eval {…}(‘could not find component for initial path
'/opt/rt3/share/html/User/Prefs.html/index.html'^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 186
HTML::Mason::Request::_initialize(‘HTML::Mason::Request::CGI=HASH(0x8cc8
81c)’) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm
line 166
HTML::Mason::Request::new(‘HTML::Mason::Request::CGI’, ‘error_mode’,
‘output’, ‘error_format’, ‘html’, ‘cgi_request’,
‘HTML::Mason::FakeApache=HASH(0x88e0010)’, ‘out_method’,
‘SCALAR(0x8e58260)’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 265
Class::Container::call_method(‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘request’, ‘new’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 343
Class::Container::create_delayed_object(‘HTML::Mason::Interp=HASH(0x8f46
f20)’, ‘request’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 213
HTML::Mason::Interp::make_request(‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 207
HTML::Mason::Interp::exec(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89
eval {…}(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89
HTML::Mason::CGIHandler::_handler(‘HTML::Mason::CGIHandler=HASH(0x8905f7
8)’, ‘HASH(0x9241a50)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 72
HTML::Mason::CGIHandler::handle_cgi_object(‘HTML::Mason::CGIHandler=HASH
(0x8905f78)’, ‘CGI::Fast=HASH(0x8cbea78)’) called at
/opt/rt3/bin/mason_handler.fcgi line 53
eval {…}(‘HTML::Mason::CGIHandler=HASH(0x8905f78)’,
‘CGI::Fast=HASH(0x8cbea78)’) called at /opt/rt3/bin/mason_handler.fcgi
line 53

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

This is coming up in the apache error logs:

[Mon Sep 15 13:33:09 2003] [error] [client 192.168.0.100] FastCGI: server
“/opt/rt3/bin/mason_handler.fcgi” stderr: Your component path
(/opt/rt3/share/html/User/Prefs.html) matches a real file on disk
(/opt/rt3/share/html/User/Prefs.html). Have you read about the component
root in the Administrator’s Manual (HTML::Mason::Admin)? at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Resolver/File.pm line 93.

Any ideas?

Oh, I had to change the permissions on the /opt/rt3/var/log directory so
logs from rt could be written there (permissions were 755 root.root,
changed to root.root).

Brian

RT said:

Check your /var/log/messages, /var/log/httpd/error_logs and access_log
and see if you get any errors and such. Turn on rt logging in your
RT_CONFIG, RT_SiteConfig file and try your web pages again.

Michael

-----Original Message-----
From: Brian Zammit [mailto:bzammit@systemsaligned.com]
Posted At: Sunday, September 14, 2003 3:08 PM
Posted To: RT
Conversation: [rt-users] RT RH9 fastcgi alias problem
Subject: [rt-users] RT RH9 fastcgi alias problem

Using fastcgi, I can get a login screen, login, but there are no
graphics, and I can’t use any of the menu options. I think it is
something to do with directory aliases, but I can’t figure it out.

Can anyone help?

Brian

Using RedHat 9, fastcgi, mysql.


Virtual hosts section of /etc/httpd/conf/httpd.conf:
<VirtualHost *:80>
ServerName support.systemsaligned.com:80

    DocumentRoot /opt/rt3/share/html/
    AddDefaultCharset UTF-8

    Alias /error /var/www/error
    Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images

    <IfModule mod_fastcgi.c>
            AddHandler fastcgi-script fcgi
            FastCgiIpcDir /tmp/rt-fcgi
            FastCgiServer /opt/rt3/bin/mason_handler.fcgi

-idle-timeout 3600
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/


Clicking “preferences” in the admin web page gives a url of
http://support.systemsaligned.com/opt/rt3/share/html/User/Prefs.html”,
and an error of:

System error
error: could not find component for initial path
‘/opt/rt3/share/html/User/Prefs.html/index.html’
context:

160: die “Cannot make alias without caller”
161: unless defined $Exception::Class::Caller;
162:
163: no strict ‘refs’;
164: *{“$Exception::Class::Caller::$alias”} = sub {
$subclass->throw(@_) };
165: }
166:
167: eval $code;
168:

code stack: /usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm:164
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:226
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:207
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:89
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:72
g /opt/rt3/bin/mason_handler.fcgi:53
g
raw error


Clicking on “raw error” gives:

could not find component for initial path
‘/opt/rt3/share/html/User/Prefs.html/index.html’

Trace begun at /usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm line
164
Exception::Class::ANON(‘could not find component for initial path
'/opt/rt3/share/html/User/Prefs.html/index.html'^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 226
eval {…}(‘could not find component for initial path
'/opt/rt3/share/html/User/Prefs.html/index.html'^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 186
HTML::Mason::Request::_initialize(‘HTML::Mason::Request::CGI=HASH(0x8cc8
81c)’) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm
line 166
HTML::Mason::Request::new(‘HTML::Mason::Request::CGI’, ‘error_mode’,
‘output’, ‘error_format’, ‘html’, ‘cgi_request’,
‘HTML::Mason::FakeApache=HASH(0x88e0010)’, ‘out_method’,
‘SCALAR(0x8e58260)’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 265
Class::Container::call_method(‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘request’, ‘new’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 343
Class::Container::create_delayed_object(‘HTML::Mason::Interp=HASH(0x8f46
f20)’, ‘request’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 213
HTML::Mason::Interp::make_request(‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 207
HTML::Mason::Interp::exec(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89
eval {…}(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89
HTML::Mason::CGIHandler::_handler(‘HTML::Mason::CGIHandler=HASH(0x8905f7
8)’, ‘HASH(0x9241a50)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 72
HTML::Mason::CGIHandler::handle_cgi_object(‘HTML::Mason::CGIHandler=HASH
(0x8905f78)’, ‘CGI::Fast=HASH(0x8cbea78)’) called at
/opt/rt3/bin/mason_handler.fcgi line 53
eval {…}(‘HTML::Mason::CGIHandler=HASH(0x8905f78)’,
‘CGI::Fast=HASH(0x8cbea78)’) called at /opt/rt3/bin/mason_handler.fcgi
line 53


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Brian Zammit
Vice-President
Systems Aligned Inc.
Tel: 519-835-2543
E-mail: bzammit@systemaligned.com
Web: www.systemsaligned.com

I did restart apache, but still no go. I ended up replacing mod_cgi with
fast cgi, and I at least get the login screen now. No graphics, I can’t
do anything past logging in as the root user, and the following messages
in the logs (Is there a recommended, proven, way of installing RT on
RH9???):

This is coming up in the apache error logs:

[Mon Sep 15 13:33:09 2003] [error] [client 192.168.0.100] FastCGI:
server “/opt/rt3/bin/mason_handler.fcgi” stderr: Your component path
(/opt/rt3/share/html/User/Prefs.html) matches a real file on disk
(/opt/rt3/share/html/User/Prefs.html). Have you read about the
component root in the Administrator’s Manual (HTML::Mason::Admin)? at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Resolver/File.pm line 93.

Virtual hosts section of /etc/httpd/conf/httpd.conf: <VirtualHost
*:80>
ServerName support.systemsaligned.com:80

    DocumentRoot /opt/rt3/share/html/
    AddDefaultCharset UTF-8

    Alias /error /var/www/error
    Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images

    <IfModule mod_fastcgi.c>
            AddHandler fastcgi-script fcgi
            FastCgiIpcDir /tmp/rt-fcgi
            FastCgiServer /opt/rt3/bin/mason_handler.fcgi 

-idle-timeout 3600
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

-----Original Message-----
From: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com] On Behalf Of RT
Sent: September 15, 2003 8:41 AM
To: bzammit@systemsaligned.com
Cc: rt-users@lists.fsck.com
Subject: RE: [rt-users] First install-no web login screen

Paste your virtual server settings from httpd.conf… and did
you restart apache by chance? Gotta ask

Michael

-----Original Message-----
From: Brian Zammit [mailto:bzammit@systemsaligned.com]
Posted At: Sunday, September 14, 2003 7:04 AM
Posted To: RT
Conversation: [rt-users] First install-no web login screen
Subject: [rt-users] First install-no web login screen

Hello,

I get this message in the browser when trying to hit the
machine name with rt running:


Bad request!

Your browser (or proxy) sent a request that this server
could not understand.

If you think this is a server error, please contact the webmaster

Error 400

System is RedHat 9.0, installed all Perl modules available on
RHN, then ran perl sbin/rt-test-dependencies --with-mysql
–with-modperl2.

Clicking “preferences” in the admin web page gives a url of
http://support.systemsaligned.com/opt/rt3/share/html/User/Prefs.html
,
and an error of:

System error
error: could not find component for initial path
‘/opt/rt3/share/html/User/Prefs.html/index.html’
context:

160: die “Cannot make alias without caller”
161: unless defined $Exception::Class::Caller;
162:
163: no strict ‘refs’;
164: *{“$Exception::Class::Caller::$alias”} = sub {
$subclass->throw(@_) };
165: }
166:
167: eval $code;
168:

code stack: /usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm:164
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:226
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:207
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:89
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:72
g /opt/rt3/bin/mason_handler.fcgi:53
g
raw error


Clicking on “raw error” gives:

could not find component for initial path
‘/opt/rt3/share/html/User/Prefs.html/index.html’

Trace begun at /usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm line
164 Exception::Class::ANON(‘could not find component for initial
path
'/opt/rt3/share/html/User/Prefs.html/index.html'^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 226 eval
{…}(‘could not find component for initial path
'/opt/rt3/share/html/User/Prefs.html/index.html'^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 186
HTML::Mason::Request::_initialize(‘HTML::Mason::Request::CGI=HASH(0x8c
c8
81c)’) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm
line 166
HTML::Mason::Request::new(‘HTML::Mason::Request::CGI’, ‘error_mode’,
‘output’, ‘error_format’, ‘html’, ‘cgi_request’,
‘HTML::Mason::FakeApache=HASH(0x88e0010)’, ‘out_method’,
‘SCALAR(0x8e58260)’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 265
Class::Container::call_method(‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘request’, ‘new’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 343

Class::Container::create_delayed_object('HTML::Mason::Interp=HASH(0x8f46

f20)', ‘request’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 213

HTML::Mason::Interp::make_request(‘HTML::Mason::Interp=HASH(0x8f46f20)’,

‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 207
HTML::Mason::Interp::exec(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89
eval {…}(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89

HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH(0x8905f7

8)', ‘HASH(0x9241a50)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 72

HTML::Mason::CGIHandler::handle_cgi_object('HTML::Mason::CGIHandler=HASH

In your extracted rt folder go into the sbin folder and run

perl rt-test-dependencies --with-mysql --with-fastcgi

and see if there are any missing requirements.

MichaelFrom: Brian Zammit [mailto:bzammit@systemsaligned.com]
Posted At: Monday, September 15, 2003 9:58 PM
Posted To: RT
Conversation: [rt-users] First install-no web login screen
Subject: RE: [rt-users] First install-no web login screen

I did restart apache, but still no go. I ended up replacing mod_cgi with
fast cgi, and I at least get the login screen now. No graphics, I can’t
do anything past logging in as the root user, and the following messages
in the logs (Is there a recommended, proven, way of installing RT on
RH9???):

This is coming up in the apache error logs:

[Mon Sep 15 13:33:09 2003] [error] [client 192.168.0.100] FastCGI:
server “/opt/rt3/bin/mason_handler.fcgi” stderr: Your component path
(/opt/rt3/share/html/User/Prefs.html) matches a real file on disk
(/opt/rt3/share/html/User/Prefs.html). Have you read about the
component root in the Administrator’s Manual (HTML::Mason::Admin)? at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Resolver/File.pm line 93.

Virtual hosts section of /etc/httpd/conf/httpd.conf: <VirtualHost
*:80>
ServerName support.systemsaligned.com:80

    DocumentRoot /opt/rt3/share/html/
    AddDefaultCharset UTF-8

    Alias /error /var/www/error
    Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images

    <IfModule mod_fastcgi.c>
            AddHandler fastcgi-script fcgi
            FastCgiIpcDir /tmp/rt-fcgi
            FastCgiServer /opt/rt3/bin/mason_handler.fcgi 

-idle-timeout 3600
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

-----Original Message-----
From: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com] On Behalf Of RT
Sent: September 15, 2003 8:41 AM
To: bzammit@systemsaligned.com
Cc: rt-users@lists.fsck.com
Subject: RE: [rt-users] First install-no web login screen

Paste your virtual server settings from httpd.conf… and did
you restart apache by chance? Gotta ask

Michael

-----Original Message-----
From: Brian Zammit [mailto:bzammit@systemsaligned.com]
Posted At: Sunday, September 14, 2003 7:04 AM
Posted To: RT
Conversation: [rt-users] First install-no web login screen
Subject: [rt-users] First install-no web login screen

Hello,

I get this message in the browser when trying to hit the
machine name with rt running:


Bad request!

Your browser (or proxy) sent a request that this server
could not understand.

If you think this is a server error, please contact the webmaster

Error 400

System is RedHat 9.0, installed all Perl modules available on
RHN, then ran perl sbin/rt-test-dependencies --with-mysql
–with-modperl2.

Clicking “preferences” in the admin web page gives a url of
http://support.systemsaligned.com/opt/rt3/share/html/User/Prefs.html
,
and an error of:

System error
error: could not find component for initial path
‘/opt/rt3/share/html/User/Prefs.html/index.html’
context:

160: die “Cannot make alias without caller”
161: unless defined $Exception::Class::Caller;
162:
163: no strict ‘refs’;
164: *{“$Exception::Class::Caller::$alias”} = sub {
$subclass->throw(@_) };
165: }
166:
167: eval $code;
168:

code stack: /usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm:164
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:226
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:207
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:89
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:72
g /opt/rt3/bin/mason_handler.fcgi:53
g
raw error


Clicking on “raw error” gives:

could not find component for initial path
‘/opt/rt3/share/html/User/Prefs.html/index.html’

Trace begun at /usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm line
164 Exception::Class::ANON(‘could not find component for initial
path
'/opt/rt3/share/html/User/Prefs.html/index.html'^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 226 eval
{…}(‘could not find component for initial path
'/opt/rt3/share/html/User/Prefs.html/index.html'^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 186
HTML::Mason::Request::_initialize(‘HTML::Mason::Request::CGI=HASH(0x8c
c8
81c)’) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm
line 166
HTML::Mason::Request::new(‘HTML::Mason::Request::CGI’, ‘error_mode’,
‘output’, ‘error_format’, ‘html’, ‘cgi_request’,
‘HTML::Mason::FakeApache=HASH(0x88e0010)’, ‘out_method’,
‘SCALAR(0x8e58260)’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 265
Class::Container::call_method(‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘request’, ‘new’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 343

Class::Container::create_delayed_object('HTML::Mason::Interp=HASH(0x8f46

f20)', ‘request’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 213

HTML::Mason::Interp::make_request(‘HTML::Mason::Interp=HASH(0x8f46f20)’,

‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 207
HTML::Mason::Interp::exec(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89
eval {…}(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89

HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH(0x8905f7

8)', ‘HASH(0x9241a50)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 72

HTML::Mason::CGIHandler::handle_cgi_object('HTML::Mason::CGIHandler=HASH

(0x8905f78)', ‘CGI::Fast=HASH(0x8cbea78)’) called at
/opt/rt3/bin/mason_handler.fcgi line 53
eval {…}(‘HTML::Mason::CGIHandler=HASH(0x8905f78)’,
‘CGI::Fast=HASH(0x8cbea78)’) called at /opt/rt3/bin/mason_handler.fcgi
line 53

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

The only strange things that come up are the following. Is there rpm’s
to cover these missing packages? What is the recommended way of updating
Perl modules on a RedHat 9 system?

CORE dependencies:
Digest::MD5 2.27…MISSING
Digest::MD5 version 2.27 required–this is only version
2.20 at (eval 45) line 2.
DBI 1.37…MISSING
DBI version 1.37 required–this is only version 1.32 at
(eval 46) line 2.

Brian.

After updating the outdated perl packages (which required installing gcc
and myriad dependant packages, and setting “export LANG=C; export
LC_ALL=C” before it would work), the interface is still broken. Should I
now attempt to update mod_cgi from rawhide rpm sources and ditch
fastcgi?

Brian

-----Original Message-----
From: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com] On Behalf Of Brian Zammit
Sent: September 16, 2003 10:06 PM
To: ‘RT’
Cc: rt-users@lists.fsck.com
Subject: RE: [rt-users] First install-no web login screen

The only strange things that come up are the following. Is
there rpm’s to cover these missing packages? What is the
recommended way of updating Perl modules on a RedHat 9 system?

CORE dependencies:
Digest::MD5 2.27…MISSING
Digest::MD5 version 2.27 required–this is
only version 2.20 at (eval 45) line 2.
DBI 1.37…MISSING
DBI version 1.37 required–this is only
version 1.32 at (eval 46) line 2.

Brian.

-----Original Message-----
From: RT [mailto:RT@InterCept.Net]
Sent: September 16, 2003 9:27 AM
To: bzammit@systemsaligned.com
Cc: rt-users@lists.fsck.com
Subject: RE: [rt-users] First install-no web login screen

In your extracted rt folder go into the sbin folder and run

perl rt-test-dependencies --with-mysql --with-fastcgi

and see if there are any missing requirements.

Michael

-----Original Message-----
From: Brian Zammit [mailto:bzammit@systemsaligned.com]
Posted At: Monday, September 15, 2003 9:58 PM
Posted To: RT
Conversation: [rt-users] First install-no web login screen
Subject: RE: [rt-users] First install-no web login screen

I did restart apache, but still no go. I ended up replacing
mod_cgi with fast cgi, and I at least get the login screen
now. No graphics, I can’t do anything past logging in as the
root user, and the following messages in the logs (Is there a
recommended, proven, way of installing RT on
RH9???):

This is coming up in the apache error logs:

[Mon Sep 15 13:33:09 2003] [error] [client 192.168.0.100]
FastCGI: server “/opt/rt3/bin/mason_handler.fcgi” stderr: Your
component path
(/opt/rt3/share/html/User/Prefs.html) matches a real file on
disk (/opt/rt3/share/html/User/Prefs.html). Have you read
about the component root in the Administrator’s Manual
(HTML::Mason::Admin)? at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Resolver/File.pm line 93.

Virtual hosts section of /etc/httpd/conf/httpd.conf: <VirtualHost
*:80>
ServerName support.systemsaligned.com:80

    DocumentRoot /opt/rt3/share/html/
    AddDefaultCharset UTF-8

    Alias /error /var/www/error
    Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images

    <IfModule mod_fastcgi.c>
            AddHandler fastcgi-script fcgi
            FastCgiIpcDir /tmp/rt-fcgi
            FastCgiServer /opt/rt3/bin/mason_handler.fcgi 

-idle-timeout 3600
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

-----Original Message-----
From: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com] On Behalf Of RT
Sent: September 15, 2003 8:41 AM
To: bzammit@systemsaligned.com
Cc: rt-users@lists.fsck.com
Subject: RE: [rt-users] First install-no web login screen

Paste your virtual server settings from httpd.conf… and did you
restart apache by chance? Gotta ask

Michael

-----Original Message-----
From: Brian Zammit [mailto:bzammit@systemsaligned.com]
Posted At: Sunday, September 14, 2003 7:04 AM
Posted To: RT
Conversation: [rt-users] First install-no web login screen
Subject: [rt-users] First install-no web login screen

Hello,

I get this message in the browser when trying to hit the
machine name
with rt running:


Bad request!

Your browser (or proxy) sent a request that this server
could not
understand.

If you think this is a server error, please contact the webmaster

Error 400

System is RedHat 9.0, installed all Perl modules available on RHN,
then ran perl sbin/rt-test-dependencies --with-mysql --with-modperl2.

Clicking “preferences” in the admin web page gives a url of

http://support.systemsaligned.com/opt/rt3/share/html/User/Prefs.html

,
and an error of:

System error
error: could not find component for initial path
‘/opt/rt3/share/html/User/Prefs.html/index.html’
context:

160: die “Cannot make alias without caller”
161: unless defined $Exception::Class::Caller;
162:
163: no strict ‘refs’;
164: *{“$Exception::Class::Caller::$alias”} = sub {
$subclass->throw(@_) };
165: }
166:
167: eval $code;
168:

code stack:
/usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm:164
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:226
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:207
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:89
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:72
g /opt/rt3/bin/mason_handler.fcgi:53
g
raw error


Clicking on “raw error” gives:

could not find component for initial path
‘/opt/rt3/share/html/User/Prefs.html/index.html’

Trace begun at
/usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm line
164 Exception::Class::ANON(‘could not find component
for initial
path
'/opt/rt3/share/html/User/Prefs.html/index.html'^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 226 eval
{…}(‘could not find component for initial path
'/opt/rt3/share/html/User/Prefs.html/index.html'^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 186

HTML::Mason::Request::_initialize('HTML::Mason::Request::CGI=HASH(0x8c

c8
81c)') called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm
line 166
HTML::Mason::Request::new(‘HTML::Mason::Request::CGI’, ‘error_mode’,
‘output’, ‘error_format’, ‘html’, ‘cgi_request’,
‘HTML::Mason::FakeApache=HASH(0x88e0010)’, ‘out_method’,
‘SCALAR(0x8e58260)’, ‘interp’,
‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 265
Class::Container::call_method(‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘request’, ‘new’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 343

Class::Container::create_delayed_object('HTML::Mason::Interp=HA
SH(0x8f46

f20)', ‘request’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 213

HTML::Mason::Interp::make_request(‘HTML::Mason::Interp=HASH(0x8
f46f20)’,

‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 207
HTML::Mason::Interp::exec(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89
eval {…}(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89

HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH
(0x8905f7

8)', ‘HASH(0x9241a50)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 72

HTML::Mason::CGIHandler::handle_cgi_object('HTML::Mason::CGIHan
dler=HASH

(0x8905f78)', ‘CGI::Fast=HASH(0x8cbea78)’) called at
/opt/rt3/bin/mason_handler.fcgi line 53
eval {…}(‘HTML::Mason::CGIHandler=HASH(0x8905f78)’,
‘CGI::Fast=HASH(0x8cbea78)’) called at
/opt/rt3/bin/mason_handler.fcgi
line 53


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at
http://fsck.com/rtfm

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Tried perl rt-test-dependencies --with-mysql --with-fastcgi --install?!?

A.From: rt-users-admin@lists.fsck.com [mailto:rt-users-admin@lists.fsck.com]
On Behalf Of Brian Zammit
Sent: Wednesday, September 17, 2003 4:06 AM
To: ‘RT’
Cc: rt-users@lists.fsck.com
Subject: RE: [rt-users] First install-no web login screen

The only strange things that come up are the following. Is there rpm’s
to cover these missing packages? What is the recommended way of updating
Perl modules on a RedHat 9 system?

CORE dependencies:
Digest::MD5 2.27…MISSING
Digest::MD5 version 2.27 required–this is only version
2.20 at (eval 45) line 2.
DBI 1.37…MISSING
DBI version 1.37 required–this is only version 1.32 at
(eval 46) line 2.

Brian.

-----Original Message-----
From: RT [mailto:RT@InterCept.Net]
Sent: September 16, 2003 9:27 AM
To: bzammit@systemsaligned.com
Cc: rt-users@lists.fsck.com
Subject: RE: [rt-users] First install-no web login screen

In your extracted rt folder go into the sbin folder and run

perl rt-test-dependencies --with-mysql --with-fastcgi

and see if there are any missing requirements.

Michael

-----Original Message-----
From: Brian Zammit [mailto:bzammit@systemsaligned.com]
Posted At: Monday, September 15, 2003 9:58 PM
Posted To: RT
Conversation: [rt-users] First install-no web login screen
Subject: RE: [rt-users] First install-no web login screen

I did restart apache, but still no go. I ended up replacing
mod_cgi with fast cgi, and I at least get the login screen
now. No graphics, I can’t do anything past logging in as the
root user, and the following messages in the logs (Is there a
recommended, proven, way of installing RT on
RH9???):

This is coming up in the apache error logs:

[Mon Sep 15 13:33:09 2003] [error] [client 192.168.0.100]
FastCGI: server “/opt/rt3/bin/mason_handler.fcgi” stderr: Your
component path
(/opt/rt3/share/html/User/Prefs.html) matches a real file on
disk (/opt/rt3/share/html/User/Prefs.html). Have you read
about the component root in the Administrator’s Manual
(HTML::Mason::Admin)? at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Resolver/File.pm line 93.

Virtual hosts section of /etc/httpd/conf/httpd.conf: <VirtualHost
*:80>
ServerName support.systemsaligned.com:80

    DocumentRoot /opt/rt3/share/html/
    AddDefaultCharset UTF-8

    Alias /error /var/www/error
    Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images

    <IfModule mod_fastcgi.c>
            AddHandler fastcgi-script fcgi
            FastCgiIpcDir /tmp/rt-fcgi
            FastCgiServer /opt/rt3/bin/mason_handler.fcgi

-idle-timeout 3600
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/

-----Original Message-----
From: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com] On Behalf Of RT
Sent: September 15, 2003 8:41 AM
To: bzammit@systemsaligned.com
Cc: rt-users@lists.fsck.com
Subject: RE: [rt-users] First install-no web login screen

Paste your virtual server settings from httpd.conf… and did
you restart apache by chance? Gotta ask

Michael

-----Original Message-----
From: Brian Zammit [mailto:bzammit@systemsaligned.com]
Posted At: Sunday, September 14, 2003 7:04 AM
Posted To: RT
Conversation: [rt-users] First install-no web login screen
Subject: [rt-users] First install-no web login screen

Hello,

I get this message in the browser when trying to hit the
machine name with rt running:


Bad request!

Your browser (or proxy) sent a request that this server
could not understand.

If you think this is a server error, please contact the webmaster

Error 400

System is RedHat 9.0, installed all Perl modules available on
RHN, then ran perl sbin/rt-test-dependencies --with-mysql
–with-modperl2.

Clicking “preferences” in the admin web page gives a url of

http://support.systemsaligned.com/opt/rt3/share/html/User/Prefs.html

,
and an error of:

System error
error: could not find component for initial path
‘/opt/rt3/share/html/User/Prefs.html/index.html’
context:

160: die “Cannot make alias without caller”
161: unless defined $Exception::Class::Caller;
162:
163: no strict ‘refs’;
164: *{“$Exception::Class::Caller::$alias”} = sub {
$subclass->throw(@_) };
165: }
166:
167: eval $code;
168:

code stack:
/usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm:164
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:226
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:207
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:89
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:72
g /opt/rt3/bin/mason_handler.fcgi:53
g
raw error


Clicking on “raw error” gives:

could not find component for initial path
‘/opt/rt3/share/html/User/Prefs.html/index.html’

Trace begun at
/usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm line
164 Exception::Class::ANON(‘could not find component for initial
path
'/opt/rt3/share/html/User/Prefs.html/index.html'^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 226 eval
{…}(‘could not find component for initial path
'/opt/rt3/share/html/User/Prefs.html/index.html'^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 186

HTML::Mason::Request::_initialize('HTML::Mason::Request::CGI=HASH(0x8c

c8
81c)') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm
line 166
HTML::Mason::Request::new(‘HTML::Mason::Request::CGI’, ‘error_mode’,
‘output’, ‘error_format’, ‘html’, ‘cgi_request’,
‘HTML::Mason::FakeApache=HASH(0x88e0010)’, ‘out_method’,
‘SCALAR(0x8e58260)’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 265
Class::Container::call_method(‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘request’, ‘new’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 343

Class::Container::create_delayed_object('HTML::Mason::Interp=HA
SH(0x8f46

f20)', ‘request’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x8f46f20)’,
‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 213

HTML::Mason::Interp::make_request(‘HTML::Mason::Interp=HASH(0x8
f46f20)’,

‘comp’, ‘/opt/rt3/share/html/User/Prefs.html/index.html’, ‘args’,
‘ARRAY(0x92a502c)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 207
HTML::Mason::Interp::exec(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89
eval {…}(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89

HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH
(0x8905f7

8)', ‘HASH(0x9241a50)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 72

HTML::Mason::CGIHandler::handle_cgi_object('HTML::Mason::CGIHan
dler=HASH

(0x8905f78)', ‘CGI::Fast=HASH(0x8cbea78)’) called at
/opt/rt3/bin/mason_handler.fcgi line 53
eval {…}(‘HTML::Mason::CGIHandler=HASH(0x8905f78)’,
‘CGI::Fast=HASH(0x8cbea78)’) called at
/opt/rt3/bin/mason_handler.fcgi
line 53


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm