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

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 07-30-2011, 12:04 PM
New Member
 
Posts: 4
Default 32-64 migration - Password problems?

I am trying to migrate up to the latest ZCS, starting at 5.x, 32 bit on Ubuntu 6.04 and moving to 5.x 64 bit on Ubuntu 8.04, with a change in IP, but not hostname.

I am following the "Network Edition: Moving from 32-bit to 64-bit Server" wiki entry.

imapproxy and memcached were running on the old server. When I do a full install on the new server, copy over /store, /index, and so on and restart, I get the imapproxy error.

I then disable the imapproxy and memcached services with zmprov.

Everything seems to go well until I do a restart and check status.
ZMlogswatchctl, zmmtaconfig, mailboxd, and zmmailboxdctl are not running.

I check passwords.
(as zimbra) I issue the mysql command. It connects.
(as zimbra) I issue the logmysql command. Access Denied.

I followed the procedure in "Issues with mysql and logmysql passwords" but still get the Access Denied problem with logmysql.

Not sure where to go from here.
hosts and hostname are setup identical from server to server, with the exception of the IP.

Should I disable imapproxy and memcached on the old server before I copy over? Does that only affect the ldap backup?

What to look at next?
Reply With Quote
  #2 (permalink)  
Old 07-30-2011, 12:25 PM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Quote:
Originally Posted by kbmunkholm View Post
imapproxy and memcached were running on the old server.
Why? If this is a single server then why did you have the imapproxy and memcached installed, it can cause you problems. I'd suggest you disable them and mark them as not installed (search the forums for details on how to to that) and then follow the wiki article exactly for the move to the new server.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-31-2011, 12:31 PM
New Member
 
Posts: 4
Default

Disable imapproxy on production server.
Full reinstall of ZCS 5.x on new 8.04 server, following the 32>64 bit migration wiki article. New server has same hostname and IP of production server.

ZMcontrol start
Zmcontrol status results in
logmysql.server is not running ( as well as others)

mysql.pid exists, ps aux | grep logger/mysql returns three results, one of which has the mysql pid.

logswatch.pid exists, however it is stale. ps aux | grep logswatch returns one process, with a different pid. Repeating this step returns a different pid each time.

(as zimbra) logmysql returns error 1045 Access Denied...
(as Zimbra) mysql returns error 1045 Access Denied...

Follow procedure in "Issues with mysql and logmysql passwords" wiki entry.
This now allows me to execute:
(as zimbra) logmysql
(as zimbra) mysql

** So part of my problem was with passwords in mysql**

Zmcontrol status returns
mailboxd and zmmailboxdctl not running.

Reviewing zmmailboxd.out shows the error
Unbound server sockets not implemented
It tried to bind to 110 and 995
netstat -an shows nothing bound to 110 and 995

Research indicates possible cert problem and reinstall will correct.
Reinstall (upgrade)
No resolution

Do I need to follow the Recreating self signed SSL Certificate wiki?
Reply With Quote
  #4 (permalink)  
Old 08-02-2011, 12:42 PM
New Member
 
Posts: 4
Default [solved] 32-64 migration - Password problems?

The issue was a couple of problems.
The password issue with mysql, as solved with the Issues with mysql and logmysql passwords - Zimbra :: Wiki

The next was the certs.
Recreating the certs took care of the problem.

*As root:
cd /opt/zimbra/jetty/etc
mv keystore keystore.org
/opt/zimbra/bin/zmcertmgr createcrt -new
/opt/zimbra/bin/zmcertmgr deploycrt

Then restart zmcontrol.
su - zimbra
zmcontrol stop
zmcontrol start

Support walked me through this and was quite pleasant in doing so.
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.