Can't locate Log/Dispatch.pm in @INC

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

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

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@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.

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,

AlexOn Thu, Nov 18, 2010 at 1:14 AM, Ruslan Zakirov ruz@bestpractical.comwrote:

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@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.

You also need to see what is in the @INC of your running RT process.

print join “\n”, @INC, ‘’;

Josh Narins

Director of Application Development
SeniorBridge
845 Third Ave
7th Floor
New York, NY 10022
Tel: (212) 994-6194
Fax: (212) 994-4260
Mobile: (917) 488-6248
jnarins@seniorbridge.com
seniorbridge.comhttp://www.seniorbridge.com/

[http://www.seniorbridge.com/images/seniorbridgedisclaimerTAG.gif]

SeniorBridge Statement of Confidentiality: The contents of this email message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. Any dissemination, distribution or copying of this email by an unintended or mistaken recipient is strictly prohibited. In said event, kindly reply to the sender and destroy all entries of this message and any attachments from your system. Thank you.From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Alex Moran
Sent: Thursday, November 18, 2010 3:07 PM
To: Ruslan Zakirov
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Can’t locate Log/Dispatch.pm in @INC

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

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?

You also need to see what is in the @INC of your running RT process.
print join “\n”, @INC, ‘’;

That was in the original message

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)

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

You installed this with your /opt/ perl from ports
Your apache is compiled with the system perl /usr/bin/perl

-kevin

You also need to see what is in the @INC of your running RT process.
print join “\n”, @INC, ‘’;

That was in the original message

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)

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

You installed this with your /opt/ perl from ports
Your apache is compiled with the system perl /usr/bin/perl

It’s mac_port’s perl probably. So install apache and mod_perl/fastcgi
from ports as well and use them.

Best regards, Ruslan.

It’s mac_port’s perl probably. So install apache and mod_perl/fastcgi
from ports as well and use them.

Deja vu all over again… :wink: Everything needs to be from the same package manager software (or manually built). Gets too confusing otherwise…

It’s mac_port’s perl probably. So install apache and mod_perl/fastcgi
from ports as well and use them.

Deja vu all over again… :wink: Everything needs to be from the same
package manager software (or manually built). Gets too confusing
otherwise…

In this case, the user is mixing 2 package managers (OS-X and
MacPorts)

It works now. I removed a bunch of packages that were installed with
MacPorts. When I checked for dependencies a bunch were reported missing that
had not been missing before. I installed them through CPAN and now RT
loads.On Thu, Nov 18, 2010 at 12:33 PM, Josh Narins jnarins@seniorbridge.comwrote:

You also need to see what is in the @INC of your running RT process.

print join “\n”, @INC, ‘’;

Josh Narins

Director of Application Development
SeniorBridge
845 Third Ave
7th Floor
New York, NY 10022
Tel: (212) 994-6194
Fax: (212) 994-4260
Mobile: (917) 488-6248
jnarins@seniorbridge.com
seniorbridge.com http://www.seniorbridge.com/

[image: SeniorBridge]


SeniorBridge Statement of Confidentiality: The contents of this email
message are intended for the exclusive use of the addressee(s) and may
contain confidential or privileged information. Any dissemination,
distribution or copying of this email by an unintended or mistaken recipient
is strictly prohibited. In said event, kindly reply to the sender and
destroy all entries of this message and any attachments from your system.
Thank you.

From: rt-users-bounces@lists.bestpractical.com [mailto:
rt-users-bounces@lists.bestpractical.com] *On Behalf Of *Alex Moran
Sent: Thursday, November 18, 2010 3:07 PM
To: Ruslan Zakirov
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Can’t locate Log/Dispatch.pm in @INC

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@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@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.

Hi RT Users,
today i figured out on a fresh RT 3.8.8 installation, that a group with only ShowConfigTab Right granted globally is able to see all users without having the right AdminUsers. All other Options like Groups/Queues/CF’s are not display any information, only the Admin/Users is listing all.

Think this is a bug?!

Torsten

Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner Heiken, Bruno Mang, Alfred Manke, Christian Marnetté, Mark Reinhardt, Jens Wollesen, Klaus Jaeger (stellv.), Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne

Hi RT Users,
today i figured out on a fresh RT 3.8.8 installation, that a group with only ShowConfigTab Right granted globally is able to see all users without having the right AdminUsers. All other Options like Groups/Queues/CF’s are not display any information, only the Admin/Users is listing all.

Go into the Users tab on a ticket and do a search for users.

Hi Jesse,
I think i explaned it wrong. Not Inside Tickets is the Problem, it is Inside the admin/Users/ Part. They can See all Users without the right adminusers.Am 19.11.2010 um 18:06 schrieb Jesse Vincent jesse@bestpractical.com:

On Fri, Nov 19, 2010 at 08:41:36AM +0100, Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote:

Hi RT Users,
today i figured out on a fresh RT 3.8.8 installation, that a group with only ShowConfigTab Right granted globally is able to see all users without having the right AdminUsers. All other Options like Groups/Queues/CF’s are not display any information, only the Admin/Users is listing all.

Go into the Users tab on a ticket and do a search for users.

Hi Jesse,
I think i explaned it wrong. Not Inside Tickets is the Problem, it is Inside the admin/Users/ Part. They can See all Users without the right adminusers.

No, you explained it right. I was saying that regular staff users can get the same data from regular user search on a ticket.

Ah, understood, so it’s a Feature. Was only confused.

ThanksAm 19.11.2010 um 19:02 schrieb Jesse Vincent jesse@bestpractical.com:

On Fri, Nov 19, 2010 at 07:02:03PM +0100, Torsten Brumm wrote:

Hi Jesse,
I think i explaned it wrong. Not Inside Tickets is the Problem, it is Inside the admin/Users/ Part. They can See all Users without the right adminusers.

No, you explained it right. I was saying that regular staff users can get the same data from regular user search on a ticket.