View Single Post
  #4 (permalink)  
Old 09-24-2008, 08:49 AM
mmorse mmorse is offline
Moderator
 
Posts: 6,236
Default

What's your errors? I doubt it's not anything we can't work through - it's like 95% identical in all intensive purposes for your usage case.

Just 'MISSING x package'? yum install package...

CentOS - UTF-8 - unicode start - Zimbra :: Wiki ?

64bit & libstdc++.so.5 ? > Platform Specific - Zimbra :: Wiki

Perl Scalar::Util ? (you'll see errors like 'is only avaliable with the XS version' ending in SSL.pm & LDAP.pm)
Quote:
Originally Posted by quanah View Post
What I meant as far as setting the perl bits in the root environment similar to what is in the zimbra user's, is, as root, run these at the shell on RHEL4:

Code:
export PERLLIB=/opt/zimbra/zimbramon/lib:/opt/zimbra/zimbramon/lib/i386-linux-thread-multi
export PERLLIB
PERL5LIB=$PERLLIB
export PERL5LIB
This should tell perl to use the Zimbra perl libraries before using the system perl libraries.

The root of the problem is that RedHat, for whatever reason, decided to build Scalar::Util without XS support on 32-bit RHEL4. RHEL4 64-bit, RHEL5, and RHEL5 64-bit do not have this issue.

--Quanah
Or if you wish to change perl versions:
Quote:
Originally Posted by jdell View Post
This worked for me on a test server, but I haven't actually tried the 5.0 upgrade for real. I'm waiting for 5.0.1. YMMV...

I traded emails with hughesjr, and he suggests that this is a 'safe' way to downgrade perl 5.8.8 to perl 5.8.5 using rpm --nodeps is as follows:

Just to be safe, stop anything you think might be related to perl including zimbra

Check your perl verison
#perl -v
This is perl, v5.8.8 built for i386-linux-thread-multi
#sudo rpm -e --nodeps perl-5.8.8-4.el4s1
(also uninstall perl-suid if you have it installed)
#sudo vi /etc/yum.repos.d/CentOS-Base.repo (add 'exclude=perl*' under [centosplus])
#sudo yum install perl (for me this also added perl-Filter through yum dependency checking)
#sudo reboot
#perl -v
This is perl, v5.8.5 built for i386-linux-thread-multi

After these steps, check if the directory or any code is left in /usr/lib/perl5/5.8.8/* That directory shouldn't exist, but if it does, then you had some perl stuff that depended on 5.8.8 in there that you should look into (reinstall for 5.8.5).

EDIT: Another item to check: View this list of RPM's that are included with CentOS Plus since they are all built against perl 5.8.8 and may have issues after downgrading perl. Check and see if you are using any of them. You may need to uninstall these RPM's and reinstall the base versions. Check here: Index of /centos/5/centosplus/i386/RPMS (if using x86_64, change URL)

Hope this helps someone out!

Regards,
John

Replying to myself. I downgraded perl 5.8.8 to 5.8.5 and it worked fine - upgraded 4.5.10 NE to 5.0.1 NE on CentOS 4.6. Everything is good on 5.0.1, no errors on install.
Quote:
Originally Posted by quanah View Post
The issue occurs if you upgrade perl to something other than what shipped with your OS. So if you haven't upgraded perl, then you are just fine. I.e., it is not specifically that perl 5.8.8 is "bad". It just wasn't what was shipped with CentOS4. Since 5.8.8 is what ships with CentOS5, it should be just fine, assuming you are using the 5.8.8 that shipped.

--Quanah
5.0.2+ contains Bug 23495 – Check for non-standard perl and error out due to Scalar::Util issues.

Last edited by mmorse; 09-24-2008 at 08:59 AM..
Reply With Quote