Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  #31 (permalink)  
Old 01-10-2008, 02:14 AM
Klug's Avatar
Klug Klug is online now
Moderator
 
Join Date: Mar 2006
Location: Beaucaire, France
ZCS Version: Several 4.5.x & 5.0.x (NE and OSS) on RedHat for HSP & customers
Posts: 1,318
Klug is on a distinguished road
Send a message via MSN to Klug Send a message via Skype™ to Klug
Default

Gasp.

You're right, sorry.

Someone played with RHN setting for that node.
The RHWAS channel was activated for that node (and not for the other node of the cluster).

That's where perl 5.8.8 comes from.

I apologise for thinking the two nodes had the same setup (well, they should...).

Last edited by Klug : 01-10-2008 at 02:21 AM.
Reply With Quote
  #32 (permalink)  
Old 01-10-2008, 03:14 AM
hughesjr hughesjr is offline
Member
 
Join Date: Jan 2008
Posts: 24
hughesjr is on a distinguished road
Default

OK ... I have verified that zcs-5.0.0_GA_1869.RHEL4.20071218182359.tgz will NOT install if you have the perl-5.8.8 from CentOSPlus installed on CentOS-4 ... it will also not install if you have the perl-5.8.8 from RHWAS on RHEL-4. The issues are identical between RHWAS and CentOSPlus as indeed the versions of perl are also identical.

From a centos prespective, I would suggest that one does not use the perl-5.8.8 from centosplus, but instead uses the perl-5.8.5 from the main centos-4.

I do not suggest that one FORCE install Scalar::Util (as described in several other forum threads) ... though that would work until the next perl RPM upgrade to CentOSPlus.

The best thing to do would be to downgrade the perl to the correct version, which is the base version in CentOS-4.

If the zimba guys do come up with a fix for RHWAS for the RHEL4 version of Zimbra, it should also work with the CentOSPlus version of perl in CentOS-4.

Last edited by hughesjr : 01-10-2008 at 03:15 AM. Reason: typo
Reply With Quote
  #33 (permalink)  
Old 01-10-2008, 09:22 AM
jdell jdell is offline
Contributor
 
Join Date: Jul 2006
Location: Reno, NV, USA
ZCS Version: RHEL4/5, RHEL4 X86_64, 5.0.2 NE
Posts: 199
jdell is on a distinguished road
Default

Quote:
Originally Posted by hughesjr View Post
OK ... The best thing to do would be to downgrade the perl to the correct version, which is the base version in CentOS-4.
Ok, so just checking to see how painful this will be. I wanted to see the dependency hell I'd get with 'sudo yum remove perl-5.8.8-4.el4s1' and there were 226 packages to be removed on one of my servers.

I really don't want to use --force to downgrade, but this seems kind of nasty.

Can anyone sanity check please for the following steps?

1) 'zmcontrol stop' (and stop pretty much everything else you can think of)
2) 'sudo yum remove remove perl-5.8.8-4.el4s1' (save list of uninstalled RPM's)
3) edit /etc/yum.repos.d/CentOS-Base.repo and add 'exclude=perl*' to [centosplus]
4) 'sudo yum install perl' (should get you 5.8.5)
5) 'sudo yum install xxx' (everything from saved list of uninstalled rpm's)
6) restart services or reboot
Reply With Quote
  #34 (permalink)  
Old 01-10-2008, 09:50 AM
hughesjr hughesjr is offline
Member
 
Join Date: Jan 2008
Posts: 24
hughesjr is on a distinguished road
Default

I would think that uninstalling perl with yum would not be a good idea, as there are many things that need perl but the version is not critical at all.

You might get several things removed that cause other problems.

I would probably try removing perl with a rpm --nodeps command (and perl-suid if you have it installed) ... then try manually installing new perl with rpm.

If there are any things that require 5.8.8 version of perl, they should complain on the install.

It would be better to test this method on a test machine first

Then, excluding perl in the centosplus repo would be good.
Reply With Quote
  #35 (permalink)  
Old 01-10-2008, 09:54 AM
hughesjr hughesjr is offline
Member
 
Join Date: Jan 2008
Posts: 24
hughesjr is on a distinguished road
Default

jdell,

if you can't create a testing install anywhere, if you send me a copy of your output of "rpm -qa | sort" to my centos e-mail address:

johnny AT centos DOT org

then I will try to duplicate the RPMS and test it for you.
Reply With Quote
  #36 (permalink)  
Old 01-10-2008, 03:10 PM
jdell jdell is offline
Contributor
 
Join Date: Jul 2006
Location: Reno, NV, USA
ZCS Version: RHEL4/5, RHEL4 X86_64, 5.0.2 NE
Posts: 199
jdell is on a distinguished road
Default how to safely downgrade perl

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

Last edited by jdell : 01-11-2008 at 09:57 PM. Reason: Also add check of RPM's
Reply With Quote
  #37 (permalink)  
Old 01-11-2008, 08:19 PM
jdell jdell is offline
Contributor
 
Join Date: Jul 2006
Location: Reno, NV, USA
ZCS Version: RHEL4/5, RHEL4 X86_64, 5.0.2 NE
Posts: 199
jdell is on a distinguished road
Default

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

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.
Reply With Quote
  #38 (permalink)  
Old 01-12-2008, 10:10 AM
phvt phvt is offline
Member
 
Join Date: Jan 2008
ZCS Version: Release 5.0.0_GA_1870.RHEL4_20071218174057 CentOS4 NETWORK edition
Posts: 10
phvt is on a distinguished road
Default

Thanks so much for the troubleshooting work, and for pressing on with this as a Perl version issue, not a CentOS issue.

I already had zimbra 5.0.0GA NE on this CentOS 4.6 box, installed with the workaround of forcing an install of Scalar::Util. I didn't really want to put it into production that way, though.

I followed John's steps on my test system and it worked very smoothly. I did have stuff left in /usr/lib/perl5/5.8.8/, but it was just the List-Util package from the previous force install, so I removed it.

After a reboot, zimbra loaded up and I was able to log in.

The only immediate issue I noticed was that one zmlogger process won't stop with "service zimbra stop" (both before and after the perl downgrade). This is already in bugzilla (18653).

Next up, reprovision the server and retest with 5.0.1.

Thanks again!
Paul
Reply With Quote
  #39 (permalink)  
Old 01-14-2008, 05:37 PM
ajayrockrock ajayrockrock is offline
Member
 
Join Date: May 2007
Location: Riverside, CA
ZCS Version: Release 5.0.2_GA_1975.RHEL5_64_20080130223104 CentOS5_64 FOSS edition
Posts: 18
ajayrockrock is on a distinguished road
Default

This issue seems to be closed but I just wanna make sure:

There are only issues with CentOS4 right? I have CentOS 5.1 and I can safely upgrade my Zimbra 4.5.10 install to Zimbra 5.0.1 right?

I'm only asking becuase the issues seem to point to perl 5.8.8 on Cent4 and on Cent5 I have perl 5.8.8.
Reply With Quote
  #40 (permalink)  
Old 01-14-2008, 08:34 PM
quanah quanah is offline
Zimbra Employee
 
Join Date: May 2007
Posts: 227
quanah is on a distinguished road
Default

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
__________________
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Re: CentOS Official Support langs Administrators 56 01-10-2008 10:33 AM
[SOLVED] CentOS is NOT supported uxbod Users 1 01-09-2008 03:06 PM
CentOS is NOT supported jholder Announcements 1 01-07-2008 05:11 PM
OS Selection... Any Centos NE users out there? timothyalangorman Installation 9 10-29-2007 08:04 AM
Zimbra startup hangs after install CentOS 4.2 eger Installation 4 02-10-2006 10:08 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0