Quote:
|
zimbra uses /usr/bin/perl. if you have a /usr/local/bin/perl in your path, remove it - it's probably one you've tried to build? what does /usr/bin/perl -v return? i'd be very surprised if ubuntu provides non-threaded perl in this day and age.
|
Yep, that was the custom built perl I was messing around with, /usr/bin/perl is symlinked to /usr/local/bin/perl.
Quote:
This is perl, v5.10.0 built for i486-linux-thread-multi
Copyright 1987-2007, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at The Perl Directory - perl.org, the Perl Home Page.
|
I'm not sure if my perl is 100% of the problem.
I was su'd under zimbra and accidentaly ran CPAN, and it threw the same error that zmcontrol threw as well. Did somehow zimbra or ubuntu mess up something related with perl and profiles?
EDIT:
I've been messing around with that and removed these lines:
Quote:
PERLLIB=/opt/zimbra/zimbramon/lib/x86_64-linux-thread-multi:/opt/zimbra/zimbramon/lib:/opt/zimbra/zimbramon/lib/i386-linux-thread-multi:/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi:/opt/zimbra/zimbramon/lib/i586-linux-thread-multi:/opt/zimbra/zimbramon/lib/x86_64-linux-gnu-thread-multi:/opt/zimbra/zimbramon/lib/darwin-thread-multi-2level
export PERLLIB
PERL5LIB=$PERLLIB
export PERL5LIB
|
from /opt/zimbra/.bashrc and now CPAN runs under zimbra. I don't know if this helps at all but it's something strange I noticed. Could there be a conflicting incompatible perl library that is screwing up Perl only for the zimbra user?
Quote:
Originally Posted by ArcaneMagus For your future reference:
The only issue you would run into by using different ix86 binaries on most of today's systems (and certainly any that you would use as a Zimbra server!) is if you somehow got a 64bit binary on a 32bit OS. |
Thanks, I don't know much about linux so that's new to me.
And I know I don't have a 64-bit binary as it was working just before.