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 04-07-2007, 02:57 AM
Intermediate Member
 
Posts: 16
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 ?
Reply With Quote
  #2 (permalink)  
Old 04-08-2007, 09:06 PM
Intermediate Member
 
Posts: 16
Default LDAP recovery

Problem solved by running a LDAP db recovery command.
Thanks
Reply With Quote
  #3 (permalink)  
Old 04-09-2007, 12:49 PM
Active Member
 
Posts: 29
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.
Reply With Quote
  #4 (permalink)  
Old 04-09-2007, 10:03 PM
Former Zimbran
 
Posts: 5,606
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
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.