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 ? |