Results 1 to 5 of 5

Thread: [SOLVED] Problem after power outage - Can't contact LDAP server

  1. #1
    ecologist09 is offline Active Member
    Join Date
    May 2008
    Posts
    41
    Rep Power
    7

    Default [SOLVED] Problem after power outage - Can't contact LDAP server

    Hi all,

    Our system has been running for the better part of two years. After a power outage today i am getting the following:

    Code:
    Jul 10 14:09:10 zimbra postfix/anvil[13597]: nss_ldap: could not connect to any LDAP server as uid=zimbra,cn=admins,cn=zimbra - Can't contact LDAP server
    Jul 10 14:09:10 zimbra postfix/trivial-rewrite[13598]: nss_ldap: could not connect to any LDAP server as uid=zimbra,cn=admins,cn=zimbra - Can't contact LDAP server
    Jul 10 14:09:10 zimbra postfix/trivial-rewrite[13598]: error: dict_ldap_connect: Unable to set STARTTLS: -1: Can't contact LDAP server
    Jul 10 14:09:10 zimbra last message repeated 2 times
    Jul 10 14:09:10 zimbra postfix/trivial-rewrite[13598]: fatal: ldap:/opt/zimbra/conf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
    Jul 10 14:09:10 zimbra postfix/master[13506]: warning: process /opt/zimbra/postfix/libexec/trivial-rewrite pid 13516 exit status 1
    Code:
    Release 5.0.6_GA_2313.UBUNTU6 UBUNTU6
    Code:
    zimbra@zimbra:~/conf$ zmcontrol status
    Unable to determine enabled services from ldap.
    Enabled services read from cache. Service list may be inaccurate.
    Host zimbra.cs.laurentian.ca
    	antispam                Running
    	antivirus               Running
    	ldap                    Stopped
    	logger                  Running
    	mailbox                 Running
    	mta                     Running
    	snmp                    Running
    	spell                   Running
    	stats                   Running
    zimbra@zimbra:~/conf$
    Can anyone offer ANY advice???

  2. #2
    ecologist09 is offline Active Member
    Join Date
    May 2008
    Posts
    41
    Rep Power
    7

    Default

    slapd runs for a few seconds then quits:

    Code:
    root@zimbra:~# ps -ef | grep slap
    zimbra    4758     1  0 15:15 ?        00:00:00 /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://zimbra.domain:389 -f /opt/zimbra/conf/slapd.conf
    root      4878  4764  0 15:15 pts/0    00:00:00 grep slap
    root@zimbra:~# ps -ef | grep slap
    zimbra    4758     1  0 15:15 ?        00:00:00 /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://zimbra.domain:389 -f /opt/zimbra/conf/slapd.conf
    root      4915  4764  0 15:15 pts/0    00:00:00 grep slap
    root@zimbra:~# ps -ef | grep slap
    root      5049  4764  0 15:15 pts/0    00:00:00 grep slap

  3. #3
    ecologist09 is offline Active Member
    Join Date
    May 2008
    Posts
    41
    Rep Power
    7

    Default

    Turned out to be a corrupted ldap database. I had to run the ldap startup command by hand. Then when i saw that it was corrupted i had to restore from on old backup.

    I followed this for the restore:

    solved-ldap-slapd-database-environment-corrupt-issue-solutionl

    EXCEPT that after creating the new directory, restoring the data with slapadd i had to create the logs directory by hand before everything would start up again.

    Back in business.

  4. #4
    Bill Brock is offline Outstanding Member
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    Default Just out of curiosity...

    what file system are you running?

  5. #5
    ecologist09 is offline Active Member
    Join Date
    May 2008
    Posts
    41
    Rep Power
    7

    Default

    Code:
    /dev/sdc1 on /home type ext3 (rw)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. Replies: 2
    Last Post: 01-17-2008, 09:45 PM
  3. Replies: 8
    Last Post: 11-28-2007, 11:44 PM
  4. Error 256 on Installation
    By RuinExplorer in forum Installation
    Replies: 5
    Last Post: 10-19-2006, 09:19 AM
  5. Zimbra Installation Problem
    By AnilKumarYalla in forum Developers
    Replies: 0
    Last Post: 09-10-2006, 09:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •