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.
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.
_______________________________________________
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.
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.
-----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.
> 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.
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?