problems running bugzilla

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

problems running bugzilla

hobbitmage
Hello,

Config: Solaris 9  sparc.

I'm trying to run bugzilla-2.18.1

built a separate perl 5.8.6 because Sun's perl has problems.

output of checksetup.pl run as root



Checking perl modules ...
Checking for       AppConfig (v1.52)   ok: found v1.56
Checking for             CGI (v2.93)   ok: found v3.09
Checking for    Data::Dumper (any)     ok: found v2.121_02
Checking for    Date::Format (v2.21)   ok: found v2.22
Checking for             DBI (v1.36)   ok: found v1.48
Checking for      DBD::mysql (v2.1010) ok: found v2.9007
Checking for      File::Spec (v0.82)   ok: found v3.07
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 v2001.09292

The following Perl modules are optional:
Checking for              GD (v1.20)    not found
Checking for     Chart::Base (v1.0)     not found
Checking for     XML::Parser (any)      not found
Checking for       GD::Graph (any)      not found
Checking for GD::Text::Align (any)      not found
Checking for     PatchReader (v0.9.4)   not found

If you you want to see graphical bug charts (plotting historical data over
time), you should install libgd and the following Perl modules:

GD:          /usr/local/bin/perl -MCPAN -e 'install "GD"'
Chart:       /usr/local/bin/perl -MCPAN -e 'install "Chart::Base"'

If you want to use the bug import/export feature to move bugs to or from
other bugzilla installations, you will need to install the XML::Parser
module by
running (as root):

   /usr/local/bin/perl -MCPAN -e 'install "XML::Parser"'

If you you want to see graphical bug reports (bar, pie and line charts of
current data), you should install libgd and the following Perl modules:

GD:              /usr/local/bin/perl -MCPAN -e 'install "GD"'
GD::Graph:       /usr/local/bin/perl -MCPAN -e 'install "GD::Graph"'
GD::Text::Align: /usr/local/bin/perl -MCPAN -e 'install "GD::Text::Align"'

If you want to see pretty HTML views of patches, you should install the
PatchReader module:
PatchReader: /usr/local/bin/perl -MCPAN -e 'install "PatchReader"'
Checking user setup ...
no such group: apache at ./checksetup.pl line 808.

output testerver.pl run as root:

./testserver.pl http://localhost/index.cgi
No value for param loginmethod (try running checksetup.pl again) at
Bugzilla/Config.pm line 161.
BEGIN failed--compilation aborted at Bugzilla/Auth.pm line 42.
Compilation failed in require at Bugzilla.pm line 27.
BEGIN failed--compilation aborted at Bugzilla.pm line 27.
Compilation failed in require at globals.pl line 1546.
BEGIN failed--compilation aborted at globals.pl line 1546.
Compilation failed in require at ./testserver.pl line 25.

Which matches the screwed up webpage:

No value for param loginmethod (try running checksetup.pl again) at
Bugzilla/Config.pm line 161.
BEGIN failed--compilation aborted at Bugzilla/Auth.pm line 42.
Compilation failed in require at Bugzilla.pm line 27.
BEGIN failed--compilation aborted at Bugzilla.pm line 27.
Compilation failed in require at CGI.pl line 417.
BEGIN failed--compilation aborted at CGI.pl line 417.


Why am I getting these errors and how do I fix them?

Regards,

Marc


_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: problems running bugzilla

Max Kanat-Alexander
On Wed, 2005-05-18 at 02:44 +0000, marc jackson wrote:
> no such group: apache at ./checksetup.pl line 808.

        That's the error that's causing the problem. Open up localconfig and
read the documentation for $webservergroup. If that doesn't clear it up,
I believe there's also an explanation of it in the Bugzilla Guide's
Installation or Configuration section, which is available at
http://www.bugzilla.org/docs/

        -Max
--
http://www.everythingsolved.com/
Everything Solved: Experts at Bugzilla... and everything else, too.

_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: problems running bugzilla

hobbitmage
That solved most of my problems.

I have another issue.  I noticed that all of the *.cgi scripts had
/usr/bin/perl instead of /usr/local/bin/perl.  Is there a file to change
that?

Also, I have the following problem when I try to login:

install_driver(mysql) failed: Can't load
'/usr/local/lib/perl5/site_perl/5.8.6/sun4-solaris/auto/DBD/mysql/mysql.so'
for module DBD::mysql: ld.so.1: /usr/local/bin/perl: fatal:
libmysqlclient.so.14: open failed: No such file or directory at
/usr/local/lib/perl5/5.8.6/sun4-solaris/DynaLoader.pm line 230.
at (eval 13) line 3
Compilation failed in require at (eval 13) line 3.
Perhaps a required shared library or dll isn't installed where expected
at Bugzilla/DB.pm line 146

This module is in /usr/local/lib/perl5/5.8.6/.....  So why is it looking in
the wrong place and how can I fix it?

Regards,

Marc


_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: problems running bugzilla

Max Kanat-Alexander
In reply to this post by hobbitmage
On Wed, 2005-05-18 at 12:56 +0000, marc jackson wrote:
> Please retype the password to verify: DBD::mysql::db do failed: Duplicate
> entry '6-1-1' for key 1 at ./checksetup.pl line 4409, <STDIN> line 6.
>
> What does this mean?

        Perhaps that means that checksetup failed the first time around when
you were running it, and now it's running again? Run the following SQL
on your MySQL DB, and see if it solves it:

        TRUNCATE TABLE email_setting;

        -Max
--
http://www.everythingsolved.com/
Everything Solved: Experts at Bugzilla... and everything else, too.

_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools