[request-tracker-maintainers] Bug#889135: Bug#889135: Bug#889135: rt4-fcgi: Missing dep
Satoru KURASHIKI
lurdan at gmail.com
Fri May 11 02:31:05 BST 2018
hi,
On Fri, Feb 2, 2018 at 10:37 PM, Dominic Hargreaves <dom at earth.li> wrote:
> On Fri, Feb 02, 2018 at 10:12:53AM +0100, A. LE GALL wrote:
>> root at vm-rt:~# /usr/share/request-tracker4/libexec/rt-server.fcgi --socket /var/run/rt4-fcgi.sock
>> [3501] [Fri Feb 2 08:57:31 2018] [critical]: Something went wrong while trying to run RT's standalone web server:
>> Can't locate FCGI/ProcManager.pm in @INC (you may need to install the FCGI::ProcManager module) (@INC contains: /usr/local/share/request-tracker4/lib /usr/share/request-tracker4/lib /etc/perl /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Plack/Util.pm line 26. (/usr/share/request-tracker4/lib/RT.pm:394)
>> Something went wrong while trying to run RT's standalone web server:
>> Can't locate FCGI/ProcManager.pm in @INC (you may need to install the FCGI::ProcManager module) (@INC contains: /usr/local/share/request-tracker4/lib /usr/share/request-tracker4/lib /etc/perl /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Plack/Util.pm line 26.
>>
>> To fix this error, installation of the following package is required: libfcgi-procmanager-perl
>> So, I think is a good things to add the package in dep or at least rec.
>
> This isn't the case on my testing (or live environment), so something
> must be different about your environment. RT doesn't invoke
> FCGI::ProcManager directly, and Plack only does so if called in a
> certain way[1], so I'm not sure what could cause this.
I've met same issue.
# RT::PlackRunner (don't set manager parameter) -> Plack::Runner (super'ed) -> \
# Plack::Util::load_class -> Plack::Loader -> Plack/Handler/FCGI.pm
Plack::Handler::FCGI run as:
--
sub new {
my $class = shift;
my $self = bless {@_}, $class;
<snip>
$self->{manager} = 'FCGI::ProcManager' unless exists $self->{manager};
$self;
}
--
So, without setting "manager => undef" explicitly, it seems to call
FCGI::ProcManager.
(though I'm not sure why it's not your case...)
>
> Do you have any custom configuration or perl modules installed which
> might cause this to behave differently to normal? Please provide the
> output of:
>
> reportbug --template request-tracker4
> as well as any relevant parts of your RT configuration file(s),
> which will help us figure out if there is something odd about your
> environment.
>
> Maybe someone else who is a bit more familiar with the FCGI part of
> RT can comment. Either way, I'd like to understand why that module is
> being invoked before adding it as a dependency.
>
> Dominic.
>
> [1] <https://metacpan.org/pod/Plack::Handler::FCGI#manager>
>
> _______________________________________________
> pkg-request-tracker-maintainers mailing list
> pkg-request-tracker-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-request-tracker-maintainers
regards,
--
KURASHIKI Satoru
More information about the pkg-request-tracker-maintainers
mailing list