Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

jobqueue.pl permissions issue

75 views
Skip to first unread message

Jonathan E. Goldberg

unread,
Jul 28, 2009, 12:40:50 PM7/28/09
to support-...@lists.mozilla.org
First of all, congratulations on the 3.4 release. I know I speak for
many users when I say we are looking forward to the changes provided in
this release.

I updated our 3.2.4 installation using cvs. I had to manually install
some perl modules for the e-mail queuing support. After installing
these modules, I re-ran checksetup.pl.

I tried starting the jobqueue.pl daemon and get the following
permissions error. I verified permissions on the "jobqueue.pl.pid" file
and containing "data" directory, and everything looks ok. This is
Bugzilla 3.4 running on Windows XP with Apache 2.2 and ActivePerl
5.10.0. Any suggestions?

perl jobqueue.pl -f -d start

write_file './data/jobqueue.pl.pid' - syswrite: Permission denied at
c:/Perl/site/lib/Daemon/Generic.pm line 182

Output of checksetup.pl:

* This is Bugzilla 3.4 on perl 5.10.0

* Running on WinXP/.Net Build 2600 (Service Pack 3)

Checking perl modules...

Checking for CGI.pm (v3.33) ok: found v3.41

Checking for Digest-SHA (any) ok: found v5.47

Checking for TimeDate (v2.21) ok: found v2.22

Checking for DateTime (v0.28) ok: found v0.50

Checking for DateTime-TimeZone (v0.79) ok: found v0.93

Checking for PathTools (v0.84) ok: found v3.2501

Checking for DBI (v1.41) ok: found v1.608

Checking for Template-Toolkit (v2.22) ok: found v2.22

Checking for Email-Send (v2.16) ok: found v2.194

Checking for Email-MIME (v1.861) ok: found v1.863

Checking for Email-MIME-Encodings (v1.313) ok: found v1.313

Checking for Email-MIME-Modifier (v1.442) ok: found v1.444

Checking for URI (any) ok: found v1.37

Checking available perl DBD modules...

Checking for DBD-Pg (v1.45) not found

Checking for DBD-mysql (v4.00) ok: found v4.005

Checking for DBD-Oracle (v1.19) ok: found v1.21

The following Perl modules are optional:

Checking for GD (v1.20) ok: found v2.41

Checking for Chart (v1.0) ok: found v2.4.1

Checking for Template-GD (any) ok: found v1.56

Checking for GDTextUtil (any) ok: found v0.86

Checking for GDGraph (any) ok: found v1.44

Checking for XML-Twig (any) ok: found v3.32

Checking for MIME-tools (v5.406) ok: found v5.427

Checking for libwww-perl (any) ok: found v5.814

Checking for PatchReader (v0.9.4) ok: found v0.9.5

Checking for PerlMagick (any) ok: found v6.5.4

Checking for perl-ldap (any) ok: found v0.39

Checking for Authen-SASL (any) ok: found v2.12

Checking for RadiusPerl (any) ok: found v0.13

Checking for SOAP-Lite (any) ok: found v0.69

Checking for HTML-Parser (v3.40) ok: found v3.56

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) ok: found v1.07

Checking for Daemon-Generic (any) ok: found v0.61

Checking for mod_perl (v1.999022) ok: found v2.000004

Reading ./localconfig...

OPTIONAL NOTE: If you want to be able to use the 'difference between two

patches' feature of Bugzilla (which requires the PatchReader Perl module

as well), you should install patchutils from:

http://cyberelk.net/tim/patchutils/

Checking for DBD-mysql (v4.00) ok: found v4.005

Checking for MySQL (v4.1.2) ok: found v5.1.34-community

Removing existing compiled templates...

Precompiling templates...done.

Max Kanat-Alexander

unread,
Jul 28, 2009, 7:47:54 PM7/28/09
to support-...@lists.mozilla.org
Jonathan E. Goldberg wrote:
> write_file './data/jobqueue.pl.pid' - syswrite: Permission denied at
> c:/Perl/site/lib/Daemon/Generic.pm line 182

Hmm. Are you running jobqueue.pl as the same user who owns the Bugzilla
directory and files? That will be necessary, I think.

-Max
--
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.

Jonathan E. Goldberg

unread,
Jul 29, 2009, 10:20:28 AM7/29/09
to support-...@lists.mozilla.org
Yes, the user who owns the Bugzilla directory and files is the same user
running jobqueue.pl.

_______________________________________________
support-bugzilla mailing list
support-...@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put support-...@lists.mozilla.org in the To: field when you
reply.

Jonathan E. Goldberg

unread,
Jul 30, 2009, 10:56:02 AM7/30/09
to support-...@lists.mozilla.org
Yes, our installation is running on Windows XP. We have plans to
migrate to a Windows 2003 Server machine. Unfortunately, we currently
have no plans to migrate to Linux.

I tried running jobqueue.pl in the foreground and in the background with
the same results.

I have the "use_mailer_queue" parameter turned off for now. Perhaps a
user, more experienced than me, will get e-mail queuing running under
Windows.

Jonathan

-----Original Message-----
From:
support-bugzilla-bounces+jgoldberg=msdigni...@lists.mozilla.org
[mailto:support-bugzilla-bounces+jgoldberg=msdigni...@lists.mozilla
.org] On Behalf Of Max Kanat-Alexander
Sent: Thursday, July 30, 2009 4:38 AM
To: support-...@lists.mozilla.org
Subject: Re: jobqueue.pl permissions issue

Jonathan E. Goldberg wrote:
> write_file './data/jobqueue.pl.pid' - syswrite: Permission denied at
> c:/Perl/site/lib/Daemon/Generic.pm line 182

Oh, wait, you're on Windows? I'm pretty sure jobqueue.pl won't
work at
all, there. Although maybe it will, running it in the foreground.... We
never tested it on Windows, though. There might be issues with
Daemon::Generic or TheSchwartz on Windows that I'm not aware of.

Jonathan E. Goldberg

unread,
Jul 30, 2009, 11:01:40 AM7/30/09
to support-...@lists.mozilla.org
Yes, the user running jobqueue.pl has "Full Control" on the data/
directory. The "jobqueue.pl.pid" file gets created, but is empty.

-----Original Message-----
From:
support-bugzilla-bounces+jgoldberg=msdigni...@lists.mozilla.org
[mailto:support-bugzilla-bounces+jgoldberg=msdigni...@lists.mozilla
.org] On Behalf Of Max Kanat-Alexander
Sent: Thursday, July 30, 2009 4:40 AM
To: support-...@lists.mozilla.org
Subject: Re: jobqueue.pl permissions issue

Jonathan E. Goldberg wrote:
> write_file './data/jobqueue.pl.pid' - syswrite: Permission denied at
> c:/Perl/site/lib/Daemon/Generic.pm line 182
>

Although, come to think of it, this particular issue might be
that the
user running jobqueue.pl needs to have "Full Control" on the data/
directory.

MsLS

unread,
Aug 4, 2009, 5:32:42 AM8/4/09
to
Probably this is the same "Permission Denied" that comes up when
testing the package "Data::ObjectDriver" (prerequisite to The
Schwartz); seems like there's a windows-specific issue with the perl-
command "unlink" which is used...


> Yes, the user running jobqueue.pl has "Full Control" on the data/
> directory.  The "jobqueue.pl.pid" file gets created, but is empty.
>
> -----Original Message-----
> From:
>

> support-bugzilla-bounces+jgoldberg=msdignition....@lists.mozilla.org
> [mailto:support-bugzilla-bounces+jgoldberg=msdignition....@lists.mozilla


> .org] On Behalf Of Max Kanat-Alexander
> Sent: Thursday, July 30, 2009 4:40 AM

> To: support-bugzi...@lists.mozilla.org


> Subject: Re: jobqueue.pl permissions issue
>
> Jonathan E. Goldberg wrote:
> > write_file './data/jobqueue.pl.pid' - syswrite: Permission denied at
> > c:/Perl/site/lib/Daemon/Generic.pm line 182
>
>         Although, come to think of it, this particular issue might be
> that the
> user running jobqueue.pl needs to have "Full Control" on the data/
> directory.
>
>         -Max

> --http://www.everythingsolved.com/


> Competent, Friendly Bugzilla and Perl Services. Everything Else, too.
> _______________________________________________
> support-bugzilla mailing list

> support-bugzi...@lists.mozilla.orghttps://lists.mozilla.org/listinfo/support-bugzilla
> PLEASE put support-bugzi...@lists.mozilla.org in the To: field when you
> reply.

rojanu

unread,
Aug 12, 2009, 8:17:05 AM8/12/09
to
OK, this issue is down to "unlink" on Windows OS. It seems on windows
it can't unlink files if the file has an open handle.

Is there any other module that can be used instead of
"Daemon::Generic" and "TheSchwartz" as both have a lot of trouble
compiling and running on Windows OS?

0 new messages