[rt-users] First install-no web login screen

Brian Zammit bzammit at systemsaligned.com
Mon Sep 15 21:57:42 EDT 2003


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/
>         </IfModule>
> </VirtualHost>

>-----Original Message-----
>From: rt-users-admin at lists.fsck.com 
>[mailto:rt-users-admin at lists.fsck.com] On Behalf Of RT
>Sent: September 15, 2003 8:41 AM
>To: bzammit at systemsaligned.com
>Cc: rt-users at 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 at 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
> ---




More information about the rt-users mailing list