[rt-users] Can't locate Log/Dispatch.pm in @INC

Alex Moran salsicha at gmail.com
Thu Nov 18 15:06:37 EST 2010


Thanks for responding. Here are the locations of all the Dispatch.pm files
on my server:

/Users/myuser/.cpan/build/Log-Dispatch-2.27-So36hB/lib/Log/Dispatch.pm

/Users/myuser/.cpan/build/Log-Dispatch-2.27-So36hB/blib/lib/Log/Dispatch.pm

/opt/local/lib/perl5/site_perl/5.8.9/Log/Dispatch.pm

/Users/myuser/Library/Application
Support/.cpan/build/Log-Dispatch-2.27-rmVcKn/lib/Log/Dispatch.pm

/Users/myuser/Library/Application
Support/.cpan/build/Log-Dispatch-2.27-rmVcKn/blib/lib/Log/Dispatch.pm

/Users/myuser/Library/Application
Support/.cpan/build/Log-Dispatch-2.27-AQZxLe/lib/Log/Dispatch.pm

/Users/myuser/Library/Application
Support/.cpan/build/Log-Dispatch-2.27-AQZxLe/blib/lib/Log/Dispatch.pm


If it is a permission problem what should it's permissions be?
ls /opt/local/lib/perl5/site_perl/5.8.9/Log/ says:

-r--r--r-- root:admin Dispatch.pm


Thanks,

Alex




On Thu, Nov 18, 2010 at 1:14 AM, Ruslan Zakirov <ruz at bestpractical.com>wrote:

> Hi,
>
> You either have permissions problems or two perls and server using one
> and you testing another.
>
> Are you sure Log/Dispatch.pm is in one of those dirs?
>
> On Thu, Nov 18, 2010 at 3:33 AM, Alex Moran <salsicha at gmail.com> wrote:
> > I just installed rt-3.8.8 on Mac OS X Server 10.6.5. Installation went
> > smooth enough, but when I edited the VirtualHost entry
> > in /etc/apache2/sites/0000_any_80_.conf and added the line "PerlRequire
> > /opt/rt3/bin/webmux.pl" Apache would crash at startup.
> >
> > Here is the error from the WebServer error log:
> >
> > Can't locate Log/Dispatch.pm in @INC (@INC contains:
> > /opt/rt3/bin/../local/lib /opt/rt3/bin/../lib
> /Library/Perl/Updates/5.10.0
> > /System/Library/Perl/5.10.0/darwin-thread-multi-2level
> > /System/Library/Perl/5.10.0
> /Library/Perl/5.10.0/darwin-thread-multi-2level
> > /Library/Perl/5.10.0
> /Network/Library/Perl/5.10.0/darwin-thread-multi-2level
> > /Network/Library/Perl/5.10.0 /Network/Library/Perl
> > /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level
> > /System/Library/Perl/Extras/5.10.0 . /usr)
> >
> > at  /opt/rt3/bin/../lib/RT.pm line 222.
> >
> > BEGIN failed--compilation aborted at /opt/rt3/bin/../lib/RT.pm line 222.
> >
> > Compilation failed in require at /opt/rt3/bin/webmux.pl line 136.
> >
> > Compilation failed in require at (eval 2) line 1.
> >
> > Can't load Perl file: /opt/rt3/bin/webmux.pl for server testserver.com:0
> ,
> > exiting...
> >
> > I looked at line 222 of /opt/rt3/lib/RT.pm and here is what it says:
> >
> > use Log::Dispatch 1.6;
> >
> > But CPAN says my Log::Dispatch version is 2.27.
> >
> > Can anyone tell me what I need to do? I tried to downgrade Log::Dispatch
> but
> > I couldn't see any way of doing that with CPAN. When I comment out the
> > PerlRequire line ReportTracker says I haven't configured mod_perl or
> fastcgi
> > properly.
> >
> > Thanks,
> >
> > Alex
>
>
>
> --
> Best regards, Ruslan.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20101118/78f8e983/attachment.htm>


More information about the rt-users mailing list