Closed
Bug 580366
Opened 14 years ago
Closed 12 years ago
checksetup.pl can die during file creation, unclearly
Categories
(Bugzilla :: Bugzilla-General, defect)
Bugzilla
Bugzilla-General
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: yuri, Assigned: mkanat)
Details
Attachments
(1 file)
517 bytes,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100708 Firefox/3.5.10 Build Identifier: bugzilla-3.6.1 httpd-errors.log got such record: [Tue Jul 20 13:24:45 2010] [error] [client 127.0.0.1] [Tue Jul 20 13:24:45 2010] index.cgi: Use of uninitialized value in split at Bugzilla/Util.pm line 295. Reproducible: Always
Comment 1•14 years ago
|
||
Line 295 is: my @proxies = split(/[\s,]+/, Bugzilla->params->{'inbound_proxies'}); Did you run checksetup.pl before accessing index.cgi? This parameter cannot be undefined.
I am running checksetup.pl now, getting the error: No such file or directory at Bugzilla/Install/Filesystem.pm line 508 even though file Bugzilla/Install/Filesystem.pm exists. Otherwise it complains about various things missing, like this: Checking for perl-ldap (any) not found Checking for Authen-SASL (any) ok: found v2.1401 Checking for RadiusPerl (any) not found Checking for SOAP-Lite (v0.710.06) not found Checking for JSON-RPC (any) not found Checking for Test-Taint (any) not found Checking for HTML-Parser (v3.40) ok: found v3.66 Checking for HTML-Scrubber (any) ok: found v0.08 Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.316 Checking for Email-Reply (any) ok: found v1.202 Checking for TheSchwartz (any) not found Checking for Daemon-Generic (any) not found Checking for mod_perl (v1.999022) not found This doesn't look important. Message in the error log still shows up. But in the browser bugzilla seems to work withoutn a problem. Just an httpd message.
Comment 3•14 years ago
|
||
Line 508 of Filesystem.pm is: my $fh = new IO::File($file, O_WRONLY | O_CREAT, $info->{perms}) Looks like a permission issue when trying to create a new file. The warning displayed in comment 0 may just be a consequence of another problem. mkanat, do you have an idea? Is that a support question?
Assignee | ||
Comment 4•14 years ago
|
||
It might be a support issue. Unfortunately I didn't put the file name into the error message, so it's hard to say. I'll attach a patch for Yuri that makes the message clearer.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: FreeBSD → All
Hardware: x86 → All
Summary: Use of uninitialized value in split at Bugzilla/Util.pm → checksetup.pl can die during file creation, unclearly
Assignee | ||
Comment 5•14 years ago
|
||
This makes the error message clearer. Yuri, could you apply this patch to your installation and then run checksetup.pl again and tell us the error? Your problem is that checksetup.pl is not completing.
Assignee | ||
Comment 6•14 years ago
|
||
Oh, I see why I didn't make it clearer--because "Creating $file..." is right above it. Yuri, could you attach (as an attachment) the entire output of your checksetup.pl?
:-) funny but I modified Filesystem.pm in precisely the same way as your patch before I even got the patch from you.
Message now is:
Creating contrib/.htaccess...
contrib/.htaccess: No such file or directory at Bugzilla/Install/Filesystem.pm line 508.
contrib only exists under skins:
> find . -name contrib
./skins/contrib
Is it supposed to be in bugzilla root?
Assignee | ||
Comment 8•14 years ago
|
||
Ahh. Are you using an rpm or deb package to install Bugzilla? If so, this is sort of a bug in their package. Or at least, it's something I'll have to figure out or talk over with the package maintainers.
I use FreeBSD port. It's current maintainer is listed as: skv at FreeBSD with organization suffix added.
Comment 10•12 years ago
|
||
Is this still actual?
Comment 11•12 years ago
|
||
Seems not...
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•