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

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-10-2008, 01:31 PM
Active Member
 
Posts: 35
Default Importing MySQL data

Right.. I have managed to screw up pretty good..

Running:
server 1: ldap
server 2: mta
server 3: snmp/store/..

I lost my ldap-database (wrong command at the wrong time, bad things happened). But I did manage to dump my MySQL Database using this guide: Mysql Crash Recovery - Zimbra :: Wiki

I also still have the /opt/zimbra/store directory, which should contain the actual e-mail I had..

Now I reinstalled the ldap and mta server. I can't get the old store-server to work with the new ldap/mta and doubt if this is possible. I upgraded the store-server to ZCS 5.07 and installer/upgrader did succeed. But nothing starts afterwards:

Code:
 logger                  Stopped
                logmysql.server is not running
                zmlogswatchctl is not running
        mailbox                 Stopped
                zmmtaconfigctl is not running
                mysql.server is not running
                zmmailboxdctl is not running
        snmp                    Stopped
                swatch is not running
        spell                   Stopped
                Apache not running.  No PID file found.
                zmapachectl is not running
        stats                   Stopped
Code:
[zimbra@zstore ~]$ zmcontrol start all
Host zstore.****.nl
        Starting ldap...Password:
I don't know what password is being asked for here, but it is not one of the passwords I set

So I have two options:

1. find the ldap-password somehow
2. Reinstall the store-server and import the MySQL database

Can anyone help me with either of them?

I am only running a small enviroment so the number of users is very small, but I really don't want to lose all my email!
Reply With Quote
  #2 (permalink)  
Old 07-11-2008, 01:54 AM
Active Member
 
Posts: 35
Default

Right..

Think I am going to do a complete new install. I will save the MySQL data and the store directory.

There is only one real important users, which was the first user I created. i believe it's userID will then be 10.

After the new install, I will create the user again, and import it's database and place the store directory. Hopefully I wil get back the mail in this way.

I would really appreciate to get any thoughts and/or comments on this!
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.