Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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 10-27-2010, 09:14 PM
Active Member
 
Posts: 26
Exclamation Zimbra FOSS 6.0.8 Ldap Crashes suddenly

Hi

I had installed the FOSS edition 6.0.8 in REDHAT 5 , but i had found that suddenly zimbra ldap service is getting crash when i had seen the logs of crashing ldap service in zimbra.log its shows folloiwng
-----------------------------------------------------------------------
Oct 28 00:22:24 jhpsecurities postfix/proxymap[14203]: error: dict_ldap_connect: Unable to set STARTTLS: -1: Can't contact LDAP server
Oct 28 00:22:24 jhpsecurities postfix/trivial-rewrite[14217]: fatal: proxy:ldap:/opt/zimbra/conf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
Oct 28 00:22:25 jhpsecurities postfix/master[7732]: warning: process /opt/zimbra/postfix/libexec/trivial-rewrite pid 14217 exit status 1
Oct 28 00:22:26 jhpsecurities postfix/proxymap[15864]: error: dict_ldap_connect: Unable to set STARTTLS: -1: Can't contact LDAP server
Oct 28 00:22:26 jhpsecurities last message repeated 2 times
Oct 28 00:22:26 jhpsecurities postfix/trivial-rewrite[15863]: fatal: proxy:ldap:/opt/zimbra/conf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
Oct 28 00:22:27 jhpsecurities postfix/smtpd[14202]: warning: problem talking to service rewrite: Success
Oct 28 00:22:27 jhpsecurities postfix/master[7732]: warning: process /opt/zimbra/postfix/libexec/trivial-rewrite pid 15863 exit status 1
Oct 28 00:22:27 jhpsecurities postfix/master[7732]: warning: /opt/zimbra/postfix/libexec/trivial-rewrite: bad command startup -- throttling
Oct 28 00:22:39 jhpsecurities postfix/smtpd[15873]: connect from unknown[10.34.131.201]

--------------------------------------------------------------------------
only option i had to start the ldap service again using command as follow
/opt/zimbra/bin/ldap restart


please guide me what is an permemnt solution for this becuase i had tried to google a lot but none of solution working here

waiting for your expert help

Prasad
Reply With Quote
  #2 (permalink)  
Old 10-27-2010, 11:08 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by prasadpimple View Post
please guide me what is an permemnt solution for this becuase i had tried to google a lot but none of solution working here
It would help if you actually told us what solutions you've tried. How much RAM on this server and how many users?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 10-28-2010, 09:36 AM
Active Member
 
Posts: 26
Default Ldap Crash Issue

hi bill

Hi had tried the following two solutions
1. creating new self sign certificate generation
2. run the zmfixperms command via root

the users in my zimbra server is arround 367 & RAM on the server is 4 GB

please guide me how to resolved the same

Prasad
Reply With Quote
  #4 (permalink)  
Old 10-28-2010, 11:29 PM
Active Member
 
Posts: 26
Default Ldap Crash again

Hi

again my ldap service gone down the logs shows me folloiwng

--------------------------------------------------------------------------
Oct 29 11:34:38 jhpsecurities slapd[6497]: connection_input: conn=2412 deferring operation: too many executing
Oct 29 11:34:38 jhpsecurities slapd[6497]: connection_input: conn=2412 deferring operation: pending operations
Oct 29 11:34:38 jhpsecurities last message repeated 3 times
Oct 29 11:34:57 jhpsecurities zimbramon[23801]: 23801:info: zmmtaconfig: Skipping All Reverse Proxy URLs update.
Oct 29 11:34:57 jhpsecurities zimbramon[23801]: 23801:info: zmmtaconfig: Skipping getAllReverseProxyURLs ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.net.ssl.SSLHandshakeException Remote host closed connection during handshake)
Oct 29 11:34:59 jhpsecurities zimbramon[23801]: 23801:info: zmmtaconfig: Skipping All Reverse Proxy Backends update.
Oct 29 11:34:59 jhpsecurities zimbramon[23801]: 23801:info: zmmtaconfig: Skipping getAllReverseProxyBackends ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException jhpsecurities.com:389)
Oct 29 11:35:01 jhpsecurities zimbramon[23801]: 23801:info: zmmtaconfig: Skipping All Memcached Servers update.
Oct 29 11:35:01 jhpsecurities zimbramon[23801]: 23801:info: zmmtaconfig: Skipping getAllMemcachedServers ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException jhpsecurities.com:389)
Oct 29 11:35:03 jhpsecurities zimbramon[23801]: 23801:info: zmmtaconfig: Skipping All MTA Authentication Target URLs update

Please privode me solution
Reply With Quote
  #5 (permalink)  
Old 10-31-2010, 08:46 PM
Active Member
 
Posts: 26
Default Ldap Crash again

Hi Bill

can you help for ldap crash issue

prasad
Reply With Quote
  #6 (permalink)  
Old 11-01-2010, 03:09 AM
Trained Alumni
 
Posts: 336
Default

bug 42870 looks similar to what you experience.
for some, the solution was here:

Bug 42870 – "Bad file descriptor" SocketException causes system failure every several hours
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it
Reply With Quote
  #7 (permalink)  
Old 11-01-2010, 03:23 AM
Active Member
 
Posts: 26
Default

Hi

I had put the ulimit in /root/.bashrc file
its look like follow
--------------------------------------
# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
ulimit -n 524288
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
------------------------------------------
Reply With Quote
  #8 (permalink)  
Old 11-01-2010, 06:53 AM
Active Member
 
Posts: 26
Default

Hi Sir

i had done the setting in .bashrc but after 4 hrs my ldap got crash
following is the error which i had got /var/log/zimbra.log
------------------------------------------------------------------------
Nov 1 19:19:36 jhpsecurities postfix/trivial-rewrite[21906]: fatal: proxy:ldap:/opt/zimbra/conf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
Nov 1 19:19:37 jhpsecurities postfix/master[7762]: warning: process /opt/zimbra/postfix/libexec/trivial-rewrite pid 21906 exit status 1
Nov 1 19:19:38 jhpsecurities postfix/proxymap[12249]: error: dict_ldap_connect: Unable to set STARTTLS: -1: Can't contact LDAP server
Nov 1 19:19:38 jhpsecurities last message repeated 2 times
Nov 1 19:19:38 jhpsecurities postfix/trivial-rewrite[23247]: fatal: proxy:ldap:/opt/zimbra/conf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
Nov 1 19:19:39 jhpsecurities postfix/smtpd[18969]: warning: problem talking to service rewrite: Success
Nov 1 19:19:39 jhpsecurities postfix/master[7762]: warning: process /opt/zimbra/postfix/libexec/trivial-rewrite pid 23247 exit status 1
Nov 1 19:19:39 jhpsecurities postfix/master[7762]: warning: /opt/zimbra/postfix/libexec/trivial-rewrite: bad command startup -- throttling
Nov 1 19:19:21 jhpsecurities last message repeated 26 times
Nov 1 19:19:40 jhpsecurities zimbramon[4560]: 4560:info: zmmtaconfig: Skipping Global system configuration update.
Nov 1 19:19:40 jhpsecurities zimbramon[4560]: 4560:info: zmmtaconfig: gacf ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException jhpsecurities.com:389)
Nov 1 19:20:07 jhpsecurities postfix/smtpd[6883]: Anonymous TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Nov 1 19:20:07 jhpsecurities sendmail[24989]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Nov 1 19:20:07 jhpsecurities zimbramon[4560]: 4560:info: zmmtaconfig: Skipping Configuration for server jhpsecurities.com update.
Nov 1 19:20:07 jhpsecurities zimbramon[4560]: 4560:info: zmmtaconfig: gs:jhpsecurities.com ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException jhpsecurities.com:389)
Nov 1 19:20:07 jhpsecurities zimbramon[4560]: 4560:info: zmmtaconfig: Sleeping...Key lookup failed.
-------------------------------------------------------------------

please provide me any another solution for the same
waiting for your expert reply here

prasad
Reply With Quote
  #9 (permalink)  
Old 11-03-2010, 08:16 PM
Zimbra Employee
 
Posts: 580
Default

I would advise you to enable core files, and once you get a core file, let me know.

Enabling Core Files - Zimbra :: Wiki

--Quanah
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #10 (permalink)  
Old 11-04-2010, 09:06 AM
Active Member
 
Posts: 26
Default

Hi

as per wirki I had tried the following as per the article in REDHAT 5 32 BIT config

1. IN /etc/profile file change the value from ulimit -S -c 0 > /dev/null 2>&1
to ulimit -S -c unlimited > /dev/null 2>&1

2. in /etc/sysctl.conf i had added kernel.core_pattern=/tmp/core

also created the directory name core in /tmp folder

-------------------------------------------------------------------------


But same error sudenly my ldap service got crash
error in /var/log/zimbra.log as follow
Nov 4 21:22:11 jhpsecurities postfix/proxymap[23585]: error: dict_ldap_connect: Unable to set STARTTLS: -1: Can't contact LDAP server
Nov 4 21:22:11 jhpsecurities last message repeated 2 times
Nov 4 21:22:11 jhpsecurities postfix/trivial-rewrite[23584]: fatal: proxy:ldap:/opt/zimbra/conf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
Nov 4 21:22:11 jhpsecurities postfix/proxymap[23585]: error: dict_ldap_connect: Unable to set STARTTLS: -1: Can't contact LDAP server
Nov 4 21:22:11 jhpsecurities last message repeated 2 times
Nov 4 21:22:11 jhpsecurities postfix/trivial-rewrite[23586]: fatal: proxy:ldap:/opt/zimbra/conf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
Nov 4 21:22:11 jhpsecurities postfix/proxymap[23585]: error: dict_ldap_connect: Unable to set STARTTLS: -1: Can't contact LDAP server
Nov 4 21:22:11 jhpsecurities last message repeated 2 times
Nov 4 21:22:11 jhpsecurities postfix/trivial-rewrite[23587]: fatal: proxy:ldap:/opt/zimbra/conf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
Nov 4 21:22:11 jhpsecurities postfix/proxymap[23585]: error: dict_ldap_connect: Unable to set STARTTLS: -1: Can't contact LDAP server


Please guide me how can i resolved the issue


waiting for your kind reply here

Prasad
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.