Nothing was in logs other than a repeated
Feb 16 12:22:24 ldap-rcps-info slapd[2671]: /opt/zimbra/openldap/etc/openldap/schema/zimbra.schema: line 2889: bad config line (ignored)\n
Feb 16 12:22:24 ldap-rcps-info slapd[2671]: bdb_db_init: Initializing BDB database\n
When I ran the sudo command everthing looked good up to the end:
backend_startup: starting ""
bdb_db_open: dbenv_open(/opt/zimbra/openldap-data)
bdb(): /opt/zimbra/openldap-data/__db.001: No such file or directory
bdb_db_open: dbenv_open failed: No such file or directory (2)
backend_startup: bi_db_open failed! (2)
slapd shutdown: initiated
====> bdb_cache_release_all
bdb(): DB_ENV->lock_id_free interface requires an environment configured for the locking subsystem
slapd shutdown: freeing system resources.
bdb(): txn_checkpoint interface requires an environment configured for the transaction subsystem
bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
slapd stopped.
connections_destroy: nothing to destroy.
When I checked /opt/zimbra/openldap-data/ it didn't exist (!) so I did a rm -R /opt/Zimbra and rm -R /Library/Reciepts/zimbra*, reinstalled the Zimbra package, edited slapd.conf and /opt/zimbra/bin/ldap and ran zmsetup and voila, ldap started.
I don't know what I was doing wrong the first few times, or why the openldap-data was missing, but thanks a bunch for the prompt help. |