From 6c709dd097e65025038a0dc9c17fad6a88e99b6b Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Sun, 25 Jan 2004 02:30:57 +0000 Subject: Massive rearrangement of the installation section. Hopefully it makes sense now. --- docs/html/troubleshooting.html | 148 ++++++++++++++++++++++++++--------------- 1 file changed, 94 insertions(+), 54 deletions(-) (limited to 'docs/html/troubleshooting.html') diff --git a/docs/html/troubleshooting.html b/docs/html/troubleshooting.html index 61a3624a7..5ea13534b 100644 --- a/docs/html/troubleshooting.html +++ b/docs/html/troubleshooting.html @@ -7,15 +7,15 @@ NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ ">The Bugzilla Guide - 2.17.5 +>The Bugzilla Guide - 2.17.7 Development ReleasePrevChapter 4. InstallationChapter 2. Installing Bugzilla4.6. Troubleshooting2.5. Troubleshooting

This section gives solutions to common Bugzilla installation - problems. + problems. If none of the section headings seems to match your + problem, read the general advice.

4.6.1. Bundle::Bugzilla makes me upgrade to Perl 5.6.1

2.5.1. General Advice

If you can't get checksetup.pl to run to + completion, it normally explains what's wrong and how to fix it. + If you can't work it out, or if it's being uncommunicative, post + the errors in the + netscape.public.mozilla.webtools + newsgroup. +

If you have made it all the way through + Section 2.1 (Installation) and + Section 2.2 (Configuration) but + accessing the Bugzilla URL doesn't work, + the first thing to do is to check your webserver error log. For + Apache, this is often located at + /etc/logs/httpd/error_log. The error messages + you see may be self-explanatory enough to enable you to diagnose and + fix the problem. If not, see below for some commonly-encountered + errors. If that doesn't help, post the errors to the newsgroup. +

2.5.2. I installed a Perl module, but + checksetup.pl claims it's not installed!

You have two versions of Perl on your machine. You are installing + modules into one, and Bugzilla is using the other. Rerun the CPAN + commands (or manual compile) using the full path to Perl from the + top of checksetup.pl. This will make sure you + are installing the modules in the right place. +

2.5.3. Bundle::Bugzilla makes me upgrade to Perl 5.6.1

Try executing

4.6.2. DBD::Sponge::db prepare failed

2.5.4. DBD::Sponge::db prepare failed

The following error message may appear due to a bug in DBD::mysql (over which the Bugzilla team have no control): @@ -200,7 +269,7 @@ CLASS="section" >4.6.3. cannot chdir(/var/spool/mqueue)2.5.5. cannot chdir(/var/spool/mqueue)

If you are installing Bugzilla on SuSE Linux, or some other distributions with @@ -258,28 +327,15 @@ CLASS="section" >4.6.4. Your vendor has not defined Fcntl macro O_NOINHERIT2.5.6. Your vendor has not defined Fcntl macro O_NOINHERIT

This is caused by a bug in the version of File::Temp that is distributed with perl - 5.6.0. Many minor variations of this error have been reported. Examples - can be found in Figure 4-2. + 5.6.0. Many minor variations of this error have been reported:

Figure 4-2. Other File::Temp error messages


Your vendor has not defined Fcntl macro O_NOINHERIT, used 
+>Your vendor has not defined Fcntl macro O_NOINHERIT, used 
 at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 208.
 
 Your vendor has not defined Fcntl macro O_EXLOCK, used 
 at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 210.
 
 Your vendor has not defined Fcntl macro O_TEMPORARY, used 
-at /usr/lib/perl5/site_perl/5.6.0/File/Temp.pm line 233.
-        

Numerous people have reported that upgrading to version 5.6.1 or higher solved the problem for them. A less involved fix is to apply - the patch in Figure 4-3. The patch is also + the following patch, which is also available as a patch file.

Figure 4-3. Patch for File::Temp in Perl 5.6.0


--- File/Temp.pm.orig   Thu Feb  6 16:26:00 2003
+>--- File/Temp.pm.orig   Thu Feb  6 16:26:00 2003
 +++ File/Temp.pm        Thu Feb  6 16:26:23 2003
 @@ -205,6 +205,7 @@
      # eg CGI::Carp
@@ -353,15 +395,13 @@ CLASS="programlisting"
 +    local *CORE::GLOBAL::die = sub {};
      $bit = &$func();
      1;
-   };
-