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 06-24-2011, 09:49 AM
Member
 
Posts: 14
Default Zimbra restore problems

I am trying to simulate an server change, I will have to do it very soon.
First let me expain how my Server was built.
I started using Zimbra OSE 6.0.6 and upgraded it every time the new version came out. I upgraded it just instaling the new version over the old one (never had a problem), the last OSe version was 7.1.0.
2 months ago I purchased NE mainly because of the backup feature.
I am trying to simulate a recovery, and for these instalation I build an Dummy BIND so I could use the same hostname and license.
My actual instalation:
Code:
        antispam                Running
        antivirus               Running
        imapproxy               Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        memcached               Running
        mta                     Running
        snmp                    Running
        spell                   Running
        stats                   Running
        zmconfigd               Running
No convertd, I didnīt knew that I had to install it, but it work ok without it.
The new instalation goes fine, I only added convertd, used the same ldap passwords, used the same AV, spam and Ham users.
Then I delete mysql DBīs with
Code:
rm -rf /opt/zimbra/db/data/*
and then
Code:
zmrestoreldap -lb lastFull
After that I have some issues:
after zmcontrol restart the message is:
Code:
        Starting imapproxy...Failed.
Error: nginx not installed
But I installed it
When I uncheck Imap and Pop Proxy in Server configuration/services in Admin Console the error disapears.
Also there is a window that tells me there is an Javascript error in method ZaZimbraAdmin.prototype._getLoginMsgPanel
Code:
message: ZaApp.getInstance().getCurrentController() is undefined fileName: 
https://192.168.1.44:7071/zimbraAdmin/js/Admin_all.js.zgz?v=110329142006 lineNumber: 23456 stack: 
("name","domain.com")@https://192.168.1.44:7071/zimbraAdmin/js/Admin_all.js.zgz?v=110329142006:23456 
("name","domain.com",f...
after that I stop Zimbra, start mysql, ldap and convertd and do a
Code:
cd /tmp ; nohup zmrestoreoffline -lb last full -sys -a all -c -br &
everything works fine until it stalls with the messages
Code:
2011-06-24 10:35:56,265 INFO  [main] [name="email dress";mid=102;] index - Shutting down IndexHelper thread pools....
2011-06-24 10:35:56,265 INFO  [main] [name="email adress";mid=102;] index - ...ReIndexing threadpool shutdown completed.
2011-06-24 10:35:56,266 INFO  [main] [name="email adress";mid=102;] index - ...IndexingCompleted threadpool shutdown completed.
2011-06-24 10:35:56,266 WARN  [main] [name="email adress";mid=102;] ZimbraHttpConnectionManager - shutting down http client idle connection reaper thread
What am I doing wrong? How can I solve these issues?

I have 3 domains and 1 domain alias running on the main server

Last edited by psarni; 06-24-2011 at 10:23 AM..
Reply With Quote
  #2 (permalink)  
Old 06-24-2011, 11:03 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by psarni View Post
After that I have some issues:
after zmcontrol restart the message is:
Code:
        Starting imapproxy...Failed.
Error: nginx not installed
But I installed it
When I uncheck Imap and Pop Proxy in Server configuration/services in Admin Console the error disapears.
If this is a single server install (and you haven't said otherwise), why do you have the imapproxy & memcached installed? They are not necessary and they should not be installed on a single server as they cause problems. I'd suggest you remove them, search the forums for details on what you need to do (including resetting the ports to their default settings). Which of the forums (blog or wiki) threads have you read on how to do a Disaster Recovery?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 06-24-2011, 11:30 AM
Member
 
Posts: 14
Default

Thanks for the fast reply.
It is a single instalation, I donīt remember why I installed imapproxy & memcached, now I will folow your advise and uninstall them.
I followed these links
Moving ZCS to New Server - Zimbra :: Wiki (didnīt worked)
Network Edition Disaster Recovery - Zimbra :: Wiki (looked more promising, I am folowing these directions).
Anyway, with these features installed are the backup files diferent?
An my greater problem is that the restore stalls.
Reply With Quote
  #4 (permalink)  
Old 06-24-2011, 01:34 PM
Member
 
Posts: 14
Default

I did the following in a test machine and would like to know if it is the correct way to uninstall memcached and proxy.
Code:
zmprov -l ms zimbra.valecred.com -zimbraServiceEnabled imapproxy
zmprov -l ms zimbra.valecred.com -zimbraServiceEnabled memcached
And after that I did an

Code:
yum erase zimbra-proxy zimbra-memcached
and restarted the server
Reply With Quote
  #5 (permalink)  
Old 06-28-2011, 02:14 PM
Member
 
Posts: 14
Default

Well, I disabled proxy and memcached and the server is flying now.
After that I did a new full backup, and started a new recovery test. It goes great at start with the command:
Code:
cd /tmp ; nohup zmrestoreoffline -lb last full -sys -a all -c -br &
and suddenly I get the message (I checked and 2 accounts were not restored):

Code:
2011-06-27 16:26:53,208 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] backup - Restore finished for PROBLEMUSER@MYDOMAIN.com (d0fdc859-cad6-407b-93e0-751ce67a5c68) original mailbox 102 to mailbox 102
2011-06-27 16:26:53,209 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] io - AsyncFileCopier is shut down
2011-06-27 16:26:53,773 INFO  [IndexReadersCache-Sweeper] [] IndexReadersCache - IndexReadersCache-Sweeper thread exiting
2011-06-27 16:26:57,733 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroying extensions
2011-06-27 16:26:57,733 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroyed extension : com.zimbra.cs.network.NetworkInitializer@sun.misc.Launcher$ExtClassLoader@6d6f0472
2011-06-27 16:26:57,733 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroyed extension nginx-lookup: com.zimbra.cs.nginx.NginxLookupExtension@sun.misc.Launcher$ExtClassLoader@6d6f0472
2011-06-27 16:26:57,733 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroyed extension versioncheck: com.zimbra.cs.versioncheck.VersionCheckExtension@sun.misc.Launcher$ExtClassLoader@6d6f0472
2011-06-27 16:26:57,733 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroyed extension ZimbraIMInterop: com.zimbra.iminterop.ZimbraInteropExtension@sun.misc.Launcher$ExtClassLoader@6d6f0472
2011-06-27 16:26:57,733 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroyed extension voice: com.zimbra.cs.voice.VoiceExtension@sun.misc.Launcher$ExtClassLoader@6d6f0472
2011-06-27 16:26:57,733 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroyed extension clamscanner: com.zimbra.clam.ClamScanner@sun.misc.Launcher$ExtClassLoader@6d6f0472
2011-06-27 16:26:57,851 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroyed extension hsm: com.zimbra.cs.hsm.HsmInitializer@sun.misc.Launcher$ExtClassLoader@6d6f0472
2011-06-27 16:26:57,852 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroyed extension convertd: com.zimbra.cs.convert.ConverterExtension@sun.misc.Launcher$ExtClassLoader@6d6f0472
2011-06-27 16:26:57,852 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] mboxmove - Handler at /backup/mboximport shutting down
2011-06-27 16:26:57,852 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroyed extension backup: com.zimbra.cs.backup.BackupExtension@sun.misc.Launcher$ExtClassLoader@6d6f0472
2011-06-27 16:26:57,852 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroyed extension license: com.zimbra.cs.network.license.LicenseExtension@sun.misc.Launcher$ExtClassLoader@6d6f0472
2011-06-27 16:26:57,862 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroyed extension zimbrasync: com.zimbra.zimbrasync.ZimbraSync@sun.misc.Launcher$ExtClassLoader@6d6f0472
2011-06-27 16:26:57,862 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroyed extension zimbrasamba: com.zimbra.ldaputils.ZimbraLDAPUtilsExtension@sun.misc.Launcher$ExtClassLoader@6d6f0472
2011-06-27 16:26:57,862 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroyed extension com_zimbra_bulkprovision: com.zimbra.bp.ZimbraBulkProvisionExt@sun.misc.Launcher$ExtClassLoader@6d6f0472
2011-06-27 16:26:57,862 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] extensions - Destroyed extension com_zimbra_cert_manager: com.zimbra.cert.ZimbraCertMgrExt@sun.misc.Launcher$ExtClassLoader@6d6f0472
2011-06-27 16:26:57,862 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] index - Shutting down IndexHelper thread pools....
2011-06-27 16:26:57,862 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] index - ...ReIndexing threadpool shutdown completed.
2011-06-27 16:26:57,863 INFO  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] index - ...IndexingCompleted threadpool shutdown completed.
2011-06-27 16:26:57,863 WARN  [main] [name=PROBLEMUSER@MYDOMAIN.com;mid=102;] ZimbraHttpConnectionManager - shutting down http client idle connection reaper thread
What does t means? These user (PROBLEMUSER@MYDOMAIN.COM) seems to be OK.
Reply With Quote
  #6 (permalink)  
Old 07-22-2011, 03:10 PM
Junior Member
 
Posts: 6
Default INFO message is OK

From what I make of it: The messages you cite are of INFO severity -- thus benign. They indicates that things worked as they should have. Various backup/restore-related things were winding down, that's all.
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.