Results 1 to 3 of 3

Thread: ldap not starting

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Posts
    11
    Rep Power
    8

    Default ldap not starting

    Hello,

    My zimbra server has just been hacked, and has been rebooted not very cleanly... by luck, data are not lost, but now, zimbra doesn't start anymore.

    zmcontrol start

    Host myhost.com
    Starting ldap...Done.
    FAILED
    bdb_db_close: txn_checkpoint failed: Invalid argument (22)
    backend_startup_one: bi_db_open failed! (38)
    bdb_db_close: alock_close failed
    ERROR - failed to start slapd


    As told on this forum, I've tried to understand why ldap doesn't start :

    sudo /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://myhost.com:389 -f /opt/zimbra/conf/slapd.conf -d 7

    bdb_db_open:
    bdb_db_open: dbenv_open(/opt/zimbra/openldap-data)
    bdb(): unable to initialize mutex: Function not implemented
    bdb_db_open: Database cannot be opened, err 38. Restore from backup!
    ====> bdb_cache_release_all
    bdb(): DB_ENV->lock_id_free interface requires an environment configured for the locking subsystem
    bdb(): txn_checkpoint interface requires an environment configured for the transaction subsystem
    bdb_db_close: txn_checkpoint failed: Invalid argument (22)
    backend_startup_one: bi_db_open failed! (38)


    OK. it looks like what is described here : http://www.zimbra.com/forums/adminis...not-start.html

    So, I've tried to launch the given script, to clean ldap databases.
    But then, another error occurs :


    /opt/zimbra/sleepycat/bin/db_dump -r -f test.txt displayName.bdb

    db_dump: unable to initialize mutex: Function not implemented
    db_dump: displayName.bdb: Function not implemented


    Is there anything to do now ? Any help is welcome.

    Thanks,

    Olivier.

  2. #2
    Join Date
    Jun 2007
    Posts
    11
    Rep Power
    8

    Default oups...

    Solved...

    The server was not rebooting with the good kernel, and mutex was not available... It works fine now.

    Sorry for the noise.

  3. #3
    Join Date
    Jul 2007
    Posts
    29
    Rep Power
    8

    Default

    On the contrary, I'd be happy to find this message if I had that error message. I wouldn't think that I had a bad kernel because ldap didn't start (unless of course i had just compiled it).

    The way I see it, any post that shows the error followed by the cause and solution is perfect post.

Similar Threads

  1. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  2. Replies: 2
    Last Post: 05-24-2006, 10:01 AM
  3. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 10:11 PM
  4. Replies: 1
    Last Post: 02-22-2006, 07:14 AM
  5. Zimbra on Debian?
    By omry_y in forum Installation
    Replies: 25
    Last Post: 11-04-2005, 10:36 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
  •