Results 1 to 4 of 4

Thread: Deleted LDAP logs please help

  1. #1
    underdog is offline Active Member
    Join Date
    May 2007
    Posts
    46
    Rep Power
    8

    Default Deleted LDAP logs please help

    Hi There,
    I managed to do something a bit stupid.
    The filesytem was full and Zimbra wasn't accepting mail. Whilst formatting new drives and setting up extra storage I needed to get zimbra back up and running so I cleared as many log files as possible from the system including what I thought were a lot of old log files from the ldap logs directory. Little did I know that these were critical for LDAP/Slapd to run.

    Now zimbra won't run and gives me an error about being unable to determine what services to run when I try to start it.

    I know it was a foolish thing to do. I have tried a few solutions posted here about rebuilding corrupt LDAP databases but because there literally *isn't* a database to recover they are understandably not working.

    If I try to run an update from zimbra 5 to 6 will it write a base db back into place?

    Thanks for any of your help help or suggestions!!!

  2. #2
    underdog is offline Active Member
    Join Date
    May 2007
    Posts
    46
    Rep Power
    8

    Default

    OK,
    So I've come up with a (perhaps hairbrained) idea:

    I have setup a clean server and backed up the previous install including all data folders even the empty LDAP one.
    I plan to install a clean version of zimbra to get at least some form of LDAP service running then copy over all data, minus the LDAP data from the backup. Does this seem plausable?
    I'll post how I get on.
    Has anyone ever done this before?
    What does the LDAP directory actually hold? Is it the master user files or are these part of IMAP or mysql data?

    Fingers crossed.

  3. #3
    underdog is offline Active Member
    Join Date
    May 2007
    Posts
    46
    Rep Power
    8

    Default

    Sorry, I should mention version 5.0.10 FOSS. CentOS 5.4

    Thanks

  4. #4
    underdog is offline Active Member
    Join Date
    May 2007
    Posts
    46
    Rep Power
    8

    Default

    OK so after a huge amount of effort...

    There's basically no way to do this.
    I have setup a new sever with a clean zimbra install and am now tediously going through the /opt/zimbra/store to inject the emails back into the newly setup users inboxes with the tool:
    Code:
    /opt/zimbra/bin/zmlmtpinject

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. LDAP Cannot bind on migration to new server
    By neekster in forum Migration
    Replies: 23
    Last Post: 03-09-2009, 02:08 AM
  2. Replies: 8
    Last Post: 08-07-2008, 05:18 AM
  3. Deleted files not freeing their handle in /tmp
    By Centurion in forum Administrators
    Replies: 5
    Last Post: 12-08-2007, 04:34 PM
  4. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM
  5. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM

Posting Permissions

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