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 10-04-2010, 07:47 AM
Active Member
 
Posts: 45
Default 5.0.23 Upgrade to 6.0.8 (Testing in vmware first)

So we're planning to roll up our 5.0.23 server to 6.0.8 on Wednesday night, and I wanted to just test out the update using a P2V copy of our physical mail server. I assigned it a DHCP address, and fired it up. After running the installer on the virtual machine, when it gets to the verification of the database it gives me this error:

/opt/zimbra/mysql/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2) when trying to connect
No errors found
command failed

I can carry on, but eventually it will die here:

Starting mysql...done.
UPGRADE FAILED - exiting.


Is this a bad way to test the upgrade of my server?
__________________
OS : Ubuntu 6.02 LTS
ZCS : zcs-NETWORK-6.0.8_GA_2661.UBUNTU6
Reply With Quote
  #2 (permalink)  
Old 10-04-2010, 12:35 PM
Moderator
 
Posts: 1,209
Default

When you launched the Zimbra 6.0.8 installer, was Zimbra still running?

If not, leave your existing Zimbra installation running while launching the installer and see if that helps.

We have seen a bit of what appears to be a timing bug sometimes in the installer at that same juncture: the installer seems not to wait long enough for MySQL to start if it is not yet running and the installer then fails. Doesn't happen often, causes no harm (just rerun the installer with Zimbra running) and haven't been able to reproduce it reliably, so never filed a bug report.

Hope that helps,
Mark
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting
Reply With Quote
  #3 (permalink)  
Old 10-04-2010, 04:49 PM
Zimbra Employee
 
Posts: 114
Default

Quote:
Originally Posted by hodd View Post
So we're planning to roll up our 5.0.23 server to 6.0.8 on Wednesday night, and I wanted to just test out the update using a P2V copy of our physical mail server. I assigned it a DHCP address, and fired it up. After running the installer on the virtual machine, when it gets to the verification of the database it gives me this error:

/opt/zimbra/mysql/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2) when trying to connect
No errors found
command failed

I can carry on, but eventually it will die here:

Starting mysql...done.
UPGRADE FAILED - exiting.


Is this a bad way to test the upgrade of my server?
You want to make sure that ZCS is stopped when you make your copy. I'm not sure exactly how you're performing this copy, we generally recommend rsync to sync all the data, then shut down ZCS and perform a final sync (it wont take long) and then you can start it on the backup server. If you're using a different IP, you'll want to probably setup a fake dns server on that box and set the hostname the same or at least add the hostname to /etc/hosts and start the server. Make sure it cannot talk to the live server to prevent accidentally manipulating live data as well.
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.