Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-13-2008, 03:23 PM
Senior Member
 
Posts: 60
Default Options when running from damaged install

I'm currently running 4.5.6 on CentOS5 and have been for quite some time without any notable problems. This is a server that has been progressively upgraded from the 3.x series on CentOS4 then the 4.x series on CentOS4 and then continuing the 4.5.x series on CentOS5.

My issue is that I'm unable to upgrade from 4.5.6 to any other version (including a reinstall of 4.5.6). I've tried (at least) 4.5.7, 4.5.10, 4.5.11 and 5.0.2 with no success. After each attempt, I've rolled back to a previous backup to avoid any cross-version contamination.

The manifests itself as though my system no longer knows what version it is, although zmcontrol -v reports 4.5.6 successfully. The symptoms seem to be very similar to those described in this thread FOSS upgrade fails
and I've attempted the fixes suggested there, but they have had no affect; the original poster seems to have had a similar lack of success.

My install attempts all end with the following, and I will attach a couple of the install logs as well .

Code:
Upgrading from  to 5.0.2_GA_1975
Stopping zimbra services
Verifying /opt/zimbra/conf/my.cnf
Starting mysql
Starting logger mysql
I can't upgrade version

UPGRADE FAILED - exiting
Any help or suggestions (even long shots) would be greatly appreciated.
Attached Files
File Type: log zmsetup.03092008-193127.log (2.2 KB, 38 views)
File Type: txt zmsetup.log.31478.txt (4.6 KB, 56 views)
Reply With Quote
  #2 (permalink)  
Old 03-13-2008, 05:02 PM
Senior Member
 
Posts: 60
Default Crossplatform Rescue

Is it plausible that taking this install, moving it to a new server (running anything EXCEPT CentOS 5 - but is supported by 4.5.6) and letting a slightly different installer (new OS) have a pass at it would yield positive results?

--Will
Reply With Quote
  #3 (permalink)  
Old 03-13-2008, 10:18 PM
Moderator
 
Posts: 6,237
Default

Getting off 4.5.6 and it's clamav fun is definitely a good idea.

Ya, doesn't seem to know what it is:
Quote:
Upgrading from to 5.0.2_GA_1975
Quote:
Upgrading from to 4.5.6_GA_1044
Different things to try (as you're already doing make a backup before attempting any of the below of course):

Fresh packages might help:
/blog/archives/2007/10/moving_zcs_to_another_server.html
-Either with a new OS or still CentOS 5 (I'm feeling the platform isn't as key to this as you're thinking, but feel free to do it twice and prove me wrong!)

Before upgrading did you check for any stray processes?
Quote:
zmcontrol stop
ps aux | grep zimbra
For instance logger is notorious for sticking around Bug 18653 - zmlogger orphaned on shutdown
Quote:
Starting logger mysql
I can't upgrade version
UPGRADE FAILED - exiting
Have you checked the 'health' of your logger instance lately? Logger - Zimbra :: Wiki

Or perhaps, as it seems to be stopping just after starting the logger, maybe remove it altogether?
Quote:
zmprov mcf -zimbraComponentAvailable logger
zmprov ms `zmlocalconfig -m nokey zimbra_server_hostname` -zimbraServiceEnabled logger
zmprov ms `zmlocalconfig -m nokey zimbra_server_hostname` -zimbraServiceInstalled logger
rpm -e zimbra-logger
Good luck!
Reply With Quote
  #4 (permalink)  
Old 03-14-2008, 04:36 PM
Senior Member
 
Posts: 60
Default

Quote:
Originally Posted by mmorse View Post
Fresh packages might help:
/blog/archives/2007/10/moving_zcs_to_another_server.html
-Either with a new OS or still CentOS 5 (I'm feeling the platform isn't as key to this as you're thinking, but feel free to do it twice and prove me wrong!)
What do you mean by fresh packages? I've been installing using re-downloaded files and the RPMs always uninstall and reinstall properly (or so it seems). Is there something beyond this?

Quote:
Originally Posted by mmorse View Post
Before upgrading did you check for any stray processes?
Every time.

Quote:
Originally Posted by mmorse View Post
Have you checked the 'health' of your logger instance lately?
Or perhaps, as it seems to be stopping just after starting the logger, maybe remove it altogether?
Good luck!
The logger DB contained tables that were in need of repair, but fixing them made no difference. I then followed your last piece of advice and removed the logger (successfully) - but on my next install attempt, it was the same story, minus one line:
Code:
Setting defaults from existing config...Upgrading from  to 4.5.6_GA_1044
Stopping zimbra services
Verifying /opt/zimbra/conf/my.cnf
Starting mysql
I can't upgrade version

UPGRADE FAILED - exiting
Is there anyway to force the installer script to assume a certain existing version? If not, is there any way to force my existing installation to report back a given version when checked by the install script?

Thanks for your suggestions. I really appreciate the help in getting to the bottom of this.

--Will
Reply With Quote
  #5 (permalink)  
Old 03-15-2008, 09:22 AM
Zimbra Employee
 
Posts: 604
Default

post the contents of /opt/zimbra/.install_history it's likely corrupted.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #6 (permalink)  
Old 03-15-2008, 02:26 PM
Senior Member
 
Posts: 60
Default

Hope this is meaningful.

Thanks,

Will
Attached Files
File Type: txt install_history.txt (10.9 KB, 61 views)
Reply With Quote
  #7 (permalink)  
Old 03-15-2008, 07:38 PM
Senior Member
 
Posts: 60
Default

Quote:
Originally Posted by brian View Post
post the contents of /opt/zimbra/.install_history it's likely corrupted.
I just compared that file to the one on another Zimbra server that I admin and found the differences. I spliced in what I guessed the installer was looking for and am now (happily) running 4.5.8

Thanks for the help.

--Will
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.