Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-22-2008, 11:44 PM
Junior Member
 
Posts: 7
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!
Reply With Quote
  #2 (permalink)  
Old 10-22-2008, 11:47 PM
Moderator
 
Posts: 7,928
Default

Welcome to the forums

Have a read of [SOLVED] LDAP / slapd - Database environment corrupt (Issue & Solution) especially the first post from Quanah.
__________________
Reply With Quote
  #3 (permalink)  
Old 10-23-2008, 12:25 AM
Junior Member
 
Posts: 7
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?
Reply With Quote
  #4 (permalink)  
Old 10-23-2008, 12:54 AM
Junior Member
 
Posts: 7
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
Reply With Quote
  #5 (permalink)  
Old 10-23-2008, 01:50 AM
Moderator
 
Posts: 7,928
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
__________________
Reply With Quote
  #6 (permalink)  
Old 10-23-2008, 01:58 AM
Junior Member
 
Posts: 7
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..
Reply With Quote
  #7 (permalink)  
Old 10-23-2008, 02:17 AM
Moderator
 
Posts: 7,928
Default

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.