Results 1 to 4 of 4

Thread: LDAP problem

  1. #1
    Join Date
    Dec 2006
    Posts
    16
    Rep Power
    8

    Default LDAP problem

    My zimbra server went down due to a power failure today. After a boot, I am unable to start zimbra.

    [zimbra@mailserver1 root]$ zmcontrol start
    Host mailserver1.holtecnet.local
    Starting ldap...Done.
    FAILED
    ERROR - failed to start slapd

    I am using zcs-3.1.3_GA_474.FC4.tgz. Actually, initially,after booting server, I found tomcat was not running. I striggled for few hours, found stale pid error while starting tomcat. Removed /opt/zimbra/log/tomcat.pid . Still it gave problem in starting. I found in /opt/zimbra/tomcat/logs/catalina.out


    log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
    log4j:WARN Please initialize the log4j system properly.
    Fatal error: terminating: Error communicating with LDAP
    com.zimbra.cs.service.ServiceException: system failure: getDirectContext
    at com.zimbra.cs.service.ServiceException.FAILURE(Ser viceException.java:131)


    Then I did a
    [zimbra@mailserver1 root]$ zmzimletctl listZimlets
    Installed Zimlet files on this host:
    com_zimbra_amzn
    com_zimbra_phone
    com_zimbra_tracking
    com_zimbra_url
    com_zimbra_wikipedia
    com_zimbra_xslt
    com_zimbra_ymaps
    Installed Zimlets in LDAP:
    Error: cannot list installed zimlets in LDAP system failure: getDirectContext

    Presently zimbra is not running :
    Output of netstat -a :

    [zimbra@mailserver1 root]$ netstat -a
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State
    tcp 0 0 *:960 *:* LISTEN
    tcp 0 0 *:32769 *:* LISTEN
    tcp 0 0 *:smux *:* LISTEN
    tcp 0 0 *:rsync *:* LISTEN
    tcp 0 0 *:sunrpc *:* LISTEN
    tcp 0 0 *:telnet *:* LISTEN
    tcp 0 0 localhost.localdomain:5335 *:* LISTEN
    tcp 0 0 *:32797 *:* LISTEN
    tcp 0 164 dataserver1:799 fileserver1:nfs ESTABLISHED
    tcp 0 0 dataserver1:800 fileserver1:nfs ESTABLISHED
    tcp 0 0 dataserver1:telnet appserver0:40862 ESTABLISHED
    tcp 0 450 dataserver1:telnet appserver0:60854 ESTABLISHED
    tcp 0 0 dataserver1:44805 dellserver:893 TIME_WAIT
    tcp 0 0 dataserver1:44806 dellserver:893 TIME_WAIT
    tcp 0 0 dataserver1:34103 dellserver:sunrpc TIME_WAIT
    tcp 0 0 dataserver1:34102 dellserver:sunrpc TIME_WAIT
    tcp 0 0 dataserver1:telnet appserver0:50400 ESTABLISHED
    tcp 0 0 *:ssh *:* LISTEN
    udp 0 0 *:32768 *:*
    udp 0 0 *:32769 *:*
    udp 0 0 *:snmp *:*
    udp 0 0 *:806 *:*
    udp 0 0 *:957 *:*
    udp 0 0 *:4951 *:*
    udp 0 0 *:5353 *:*
    udp 0 0 *:sunrpc *:*
    udp 0 0 *:1012 *:*
    udp 0 0 dataserver1:ntp *:*
    udp 0 0 localhost.localdomain:ntp *:*
    udp 0 0 *:ntp *:*
    udp 0 0 *:ntp *:*


    Problem seems to be with LDAP. what to do ?

  2. #2
    Join Date
    Dec 2006
    Posts
    16
    Rep Power
    8

    Default LDAP recovery

    Problem solved by running a LDAP db recovery command.
    Thanks

  3. #3
    Join Date
    Aug 2006
    Posts
    29
    Rep Power
    9

    Default

    Quote Originally Posted by NIRMESH KUMAR View Post
    Problem solved by running a LDAP db recovery command.
    Thanks
    I am having some problems with ldap... can you post what command did you use?

    thanks.

  4. #4
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Well, what are your problems?
    try running:
    /opt/zimbra/openldap/libexec/slapd -d1 -l LOCAL0 -4 -u zimbra -h 'ldaps:// ldap://:389/' -f /opt/zimbra/conf/slapd.conf

    for more info

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. External LDAP Problem
    By facerw in forum Installation
    Replies: 7
    Last Post: 05-08-2007, 04:29 AM
  3. Installation Problem - Possibly LDAP
    By geroshea in forum Installation
    Replies: 5
    Last Post: 03-16-2007, 04:47 AM
  4. Replies: 4
    Last Post: 11-15-2006, 11:16 AM
  5. ldap pasword problem
    By jasonwillis in forum Installation
    Replies: 15
    Last Post: 03-15-2006, 07:56 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
  •