Results 1 to 2 of 2

Thread: Importing MySQL data

  1. #1
    Join Date
    Dec 2007
    Posts
    36
    Rep Power
    7

    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!

  2. #2
    Join Date
    Dec 2007
    Posts
    36
    Rep Power
    7

    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!

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. [SOLVED] Install Problem in Ubuntu 6.06 Server
    By xtimox in forum Installation
    Replies: 16
    Last Post: 03-27-2008, 09:36 AM
  3. DNS Questions and Trouble Installing
    By smurraysb in forum Installation
    Replies: 22
    Last Post: 03-14-2008, 03:27 PM
  4. Replies: 2
    Last Post: 02-12-2008, 10:55 AM
  5. Replies: 18
    Last Post: 03-20-2006, 01:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •