Results 1 to 7 of 7

Thread: LDAP problem

  1. #1
    Join Date
    Jun 2013
    Posts
    4
    Rep Power
    2

    Exclamation LDAP problem

    Hello all,

    I use Zimbra 6.0.5 under Linux Debian. I have a crash after electric problem.

    To day it is impossible to startup Zimbra. Always the same error :

    " Starting ldap...Done.
    Failed.
    Failed to start slapd. Attempting debug start to determine error.
    hdb_db_open: database "": db_open(/opt/zimbra/data/ldap/hdb/db/id2entry.bdb) failed: Invalid argument (22).
    backend_startup_one (type=hdb, suffix=""): bi_db_open failed! (22)
    bdb_db_close: database "": alock_close failed
    "

    It seems that the file id2entry.bdb is corrupt.

    I tried db_recover with v, vv and vc option, but wheras I don't get error, it doesn't solved the problem.

    "/opt/zimbra/bdb-4.7.25.4/bin/db_recover -v
    Finding last valid log LSN: file: 1 offset 28
    "

    I try a db_dump but always : db_dump: id2entry.bdb: unexpected file type or format qui sort.

    I don't have any backup of ldap database...

    Which options for my case ? The problem is to not loose email whose are in malbox users. Perhaps errase ldap database and create again... but what will be happen to email ? And how to do it ?

    I need help...

    Thanks for your help.

    Gérald.

    ps : sorry for english, I'm french, I do my best to make me anderstand but I know it is hard sometime ;-)

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Take a look at some of the solutions in these threads and see if they solve your problem. Please make sure you take a backup of the current state of your /opt/directory structure before you make any changes to the server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Jun 2013
    Posts
    4
    Rep Power
    2

    Default

    Quote Originally Posted by phoenix View Post
    Take a look at some of the solutions in these threads and see if they solve your problem. Please make sure you take a backup of the current state of your /opt/directory structure before you make any changes to the server.
    Hi,

    thanks to have look at my problem. I have tried there solution. Finaly all solution drive me to restore backup of ladp. But I don't have.

    How is it possible to reset ldap database ?

    If I reset it, do I lose my email ?

    Thanks for all.

    Gérald

  4. #4
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    You won't lose email, no, but you will lose the information about all accounts, mail filter rules, passwords, etc. If you never backed up your LDAP db, you're fairly well SOL, unfortunately. You can see if you can get anything out of slapcat as a last resort.

    --Quanah
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  5. #5
    Join Date
    Jun 2013
    Posts
    4
    Rep Power
    2

    Default

    Quote Originally Posted by quanah View Post
    You won't lose email, no, but you will lose the information about all accounts, mail filter rules, passwords, etc. If you never backed up your LDAP db, you're fairly well SOL, unfortunately. You can see if you can get anything out of slapcat as a last resort.

    --Quanah
    Hi,

    very thanks for your reply. I don't care about to lose information about account. There are 3 or 4 mailbox account so it is not the more important. What I don't want to lose is the emails in which I have some informations very important.

    Do you have a tutorial to reset the ladap database ?

    Thanks a lot.

    Gerald

  6. #6
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    I would suggest installing a secondary server on the same release as an "ldap only" node. you can use the ldap database extracted from that via slapcat to form the basis of reloading your existing server, is the best I can come up with.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  7. #7
    Join Date
    Jun 2013
    Posts
    4
    Rep Power
    2

    Default

    Quote Originally Posted by quanah View Post
    I would suggest installing a secondary server on the same release as an "ldap only" node. you can use the ldap database extracted from that via slapcat to form the basis of reloading your existing server, is the best I can come up with.
    It is a very small buisness and don't have other server...

    Other way ?

Similar Threads

  1. Replies: 48
    Last Post: 09-18-2012, 08:49 AM
  2. Replies: 35
    Last Post: 01-27-2011, 11:22 PM
  3. Replies: 8
    Last Post: 12-28-2010, 11:50 PM
  4. Replies: 3
    Last Post: 12-27-2010, 05:19 AM
  5. Zimbra LDAP replicates to RHEL ldap - problem?
    By jsosic in forum Administrators
    Replies: 2
    Last Post: 02-10-2010, 07:38 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
  •