bugzilla: can not log on to default web site
This problem relates to a new clean install of Bugzilla.
After installing, it is not possible to log on to the default Bugzilla site.
I have read the documentation in /usr/share/docs/bugzilla, on the
bugzilla web site and in the debian knowledge base but haven't found any
solutions. Others have reported similar problems but none of the
suggested solutions seem to work.
Bugzilla was installed using aptitude, all recommended and suggested
software were also added:
bugzilla 2.22-1
bugzilla-doc 2.22-1
Apache2 was previously installed and is currently serving other pages:
apache2 2.0.55-4.12.0.55-4.1
Other software versions:
mysql-server 5.0.22-4
python 2.3.5-11
ruby 1.8.2-1
perl 5.8.8-6.1
Bugzilla has a module to check the install, no problems are reported
other than PatchReader (an optional module):
-------------------------------------------
cczip:/usr/share/bugzilla/lib# ./checksetup.pl
Checking perl modules ...
Checking for AppConfig (v1.52) ok: found v1.56
Checking for CGI (v2.93) ok: found v3.15
Checking for Data::Dumper (any) ok: found v2.121_08
Checking for Date::Format (v2.21) ok: found v2.22
Checking for DBI (v1.38) ok: found v1.51
Checking for File::Spec (v0.84) ok: found v3.12
Checking for File::Temp (any) ok: found v0.16
Checking for Template (v2.08) ok: found v2.14
Checking for Text::Wrap (v2001.0131) ok: found v2005.082401
Checking for Mail::Mailer (v1.67) ok: found v1.74
Checking for MIME::Base64 (v3.01) ok: found v3.07
Checking for MIME::Parser (v5.406) ok: found v5.420
Checking for Storable (any) ok: found v2.15
The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.30
Checking for Chart::Base (v1.0) ok: found v2.4.1
Checking for XML::Twig (any) ok: found v3.25
Checking for GD::Graph (any) ok: found v1.4308
Checking for GD::Text::Align (any) ok: found v1.18
Checking for PatchReader (v0.9.4) not found
Checking for Image::Magick (any) ok: found v6.2.4
If you want to see pretty HTML views of patches, you should install the
PatchReader module:
PatchReader: /usr/bin/perl -MCPAN -e 'install "PatchReader"'
Checking user setup ...
Removing existing compiled templates ...
Precompiling templates ...
Checking for DBD::mysql (v2.9003) ok: found v3.0006
Checking for MySQL (v4.0.14) ok: found v5.0.22-Debian_4-log
Populating duplicates table...
cczip:/usr/share/bugzilla/lib#
-------------------------------------------
Bugzilla also has a tool to test the WEB site, as you can see there are
problems:
-------------------------------------------
cczip:/usr/share/bugzilla/lib# ./testserver.pl
http://localhost/cgi-bin/bugzilla/index.cgi
TEST-OK Webserver is running under group id in $webservergroup.
TEST-OK Got front picture.
TEST-FAILED Webserver is not executing CGI files.
TEST-FAILED Webserver is permitting fetch of
http://localhost/cgi-bin/bugzilla/index.cgi//etc/bugzilla/localconfig.
This is a serious security problem.
Check your webserver configuration.
cczip:/usr/share/bugzilla/lib#
-------------------------------------------
Apache2 produces this error:
-------------------------------------------
[Tue Aug 22 13:20:51 2006] [error] [client 127.0.0.1] [Tue Aug 22
13:20:51 2006] index.cgi: Use of uninitialized value in substitution
(s///) at (eval 58) line 44.
-------------------------------------------
When browsing the site with Firefox at:
http://localhost/cgi-bin/bugzilla/index.cgi
these errors occur in Apache2:
-------------------------------------------
[Tue Aug 22 13:24:17 2006] [error] [client 127.0.0.1] File does not
exist: /var/www/bugzilla/skins/custom, referer:
http://localhost/cgi-bin/bugzilla/index.cgi
[Tue Aug 22 13:24:17 2006] [error] [client 127.0.0.1] script not found
or unable to stat: /usr/lib/cgi-bin/bugzilla/skins, referer:
http://localhost/cgi-bin/bugzilla/index.cgi
[Tue Aug 22 13:24:17 2006] [error] [client 127.0.0.1] script not found
or unable to stat: /usr/lib/cgi-bin/bugzilla/skins, referer:
http://localhost/cgi-bin/bugzilla/index.cgi
-------------------------------------------
When attempting to log in using the E-Mail address set up for
administrator in the debconfig scripts, Firefox returns:
-------------------------------------------
Not Found
The requested URL /cgi-bin/bugzilla/cgi-bin/bugzilla/index.cgi was not
found on this server.
Apache/2.0.55 (Debian) DAV/2 SVN/1.3.2 PHP/5.1.4-0.1 mod_ssl/2.0.55
OpenSSL/0.9.8b Server at localhost Port 80
-------------------------------------------
and Apache2 returns this error:
-------------------------------------------
[Tue Aug 22 13:26:08 2006] [error] [client 127.0.0.1] script not found
or unable to stat: /usr/lib/cgi-bin/bugzilla/cgi-bin, referer:
http://localhost/cgi-bin/bugzilla/index.cgi
-------------------------------------------
Any help would be greatly appreciated.
Thanks, Chris.
Reply to: