Results 1 to 7 of 7

Thread: LDAP doesn't work. Help please

  1. #1
    Join Date
    Oct 2008
    Posts
    7
    Rep Power
    6

    Default LDAP doesn't work. Help please

    Hi everybody! I'm a new user of Zimbra. Tried to change SMTP port from 25 to 26.
    1. modify /opt/zimbra/postfix/conf/master.cf
    from: smtp inet n - n - - smtpd
    to: 26 inet n - n - - smtpd
    2. zmprov mcf zimbraSmtpPort 26
    3. zmcontrol stop;zmcontrol start
    Done it and after zmcontrol stop my system doesn't up. It looks like something wrong with LDAP
    bdb_db_close: txn_checkpoint failed: Invalid argument (22)
    I already checked my /etc/hosts (was locked but now - don't)
    I can see into my log file

    bdb(): unable to initialize mutex: Function not implemented
    bdb(): /opt/zimbra/openldap-data/__db.001: unable to initialize environment lock: Function not implemented
    bdb_db_open: Database can not be opened, err 38 Restore from backup!
    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 locking subsystem
    bdb_db_close: txn_checkpoint failed Invalid argument (22)
    backend_startup_one: bi_db_open failed! (38)
    bdb_db_close: alock close filed
    slapd stoped

    Please help!

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Welcome to the forums

    Have a read of http://www.zimbra.com/forums/adminis...-solution.html especially the first post from Quanah.

  3. #3
    Join Date
    Oct 2008
    Posts
    7
    Rep Power
    6

    Smile Still have the problem

    Thank you for "Welcome"! I've already read it and checked my db

    #/opt/zimbra/sleepycat/bin/db_recover -h /opt/zimbra/openldap-data/
    #

    It seems OK but I suspect it didn't work. And the worst point of this is I don't understand what happen. I just reset port for my SMTP server and had the huge problem. I won't be amazing if the db is OK. But sldap doesn't want to up. Have any ideas?

  4. #4
    Join Date
    Oct 2008
    Posts
    7
    Rep Power
    6

    Default

    My problem slightly change. Now I have

    $ zmcontrol start
    Host MyHost
    Starting ldap...Done.
    FAILED
    Failed to start slapd. Attempting debug start to determine error.
    bdb_db_close: txn_checkpoint failed: Invalid argument (22)
    backend_startup_one: bi_db_open failed! (38)
    dbd_db_close: alock_close failed

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Check your DNS settings
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig domain.com mx
    dig server.domain.com
    host `hostname` <- note backticks and not double quotes
    Remember to replace domain.com with your own

  6. #6
    Join Date
    Oct 2008
    Posts
    7
    Rep Power
    6

    Default

    I've alredy done it.

    I can see my zimbra server into /etc/hosts and after command dig. The root of problem is anywhere in database. Also I tied to start ldap by sh -x ldap.- nothing

    What does it mean bi_db_open failed! (38) ?
    Last edited by fpin; 10-23-2008 at 02:01 AM.

  7. #7
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    as root you could try
    Code:
    /opt/zimbra/libexec/zmfixperms -extended
    su - zimbra
    zmcontrol stop
    zmcontrol start

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. upgrading from 5.0.4 to 5.0.5 opensource
    By smoke in forum Installation
    Replies: 4
    Last Post: 10-19-2008, 10:38 AM
  3. Replies: 8
    Last Post: 08-07-2008, 05:18 AM
  4. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  5. Replies: 4
    Last Post: 11-15-2006, 11:16 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
  •