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 01-29-2010, 05:51 PM
Loyal Member
 
Posts: 88
Default [SOLVED] zimbra cant start after crash ldap error

Hello

We had a server unexpected halt and after that we cant start zimbra by running zimbra start.

the startup.log says

Host mail.compay.com
Starting ldap...Done.
FAILED
Failed to start slapd. Attempting debug start to determine error.
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:650
TLS: error:02001002:system library:fopen:No such file or directory bss_file.c:356
TLS: error:20074002:BIO routines:FILE_CTRL:system lib bss_file.c:358
main: TLS init def ctx failed: -1


we found a work around starting ldap manually with

sudo /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://mail.company.com:389/ -f /opt/zimbra/conf/slapd.conf

and then

sudo zimbra
zmstorectl start
zmnginx start
zmspellctl start


Any idea how to fix this problem? seens like a certificate problem but we already have reinstalled the commercial certificate but the problem persist.

Thanks
Reply With Quote
  #2 (permalink)  
Old 01-30-2010, 11:17 AM
Moderator
 
Posts: 1,209
Default

There is a bug with LDAP TLS in that LDAP doesn't know where the ca file are.

We have an open support ticket on this, and you can look at the bug report for more info.

https://bugzilla.zimbra.com/show_bug.cgi?id=43701

Suggest opening a support ticket with Zimbra directly, in the interim you can disable LDAP TLS on both servers by running the following as the zimbra user on both servers and then restarting Zimbra.

Code:
zmlocalconfig -e ldap_starttls_supported=1
At that point though, all the inter-server LDAP traffic is plain text, which may be a security risk depending on your infrastructure.

Hope that helps,
Mark
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting
Reply With Quote
  #3 (permalink)  
Old 01-30-2010, 12:16 PM
Loyal Member
 
Posts: 88
Default

Hi Mark

Thanks for the reply, but the command

zmlocalconfig -e ldap_starttls_supported=0 or
zmlocalconfig -e ldap_starttls_supported=1

did not work, tried with both options, stopped but when I restart the startup.log says the same thing

FAILED
Failed to start slapd. Attempting debug start to determine error.
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:650
TLS: error:02001002:system library:fopen:No such file or directory bss_file.c:356
TLS: error:20074002:BIO routines:FILE_CTRL:system lib bss_file.c:358
main: TLS init def ctx failed: -1


I will copy this zimbra to a new server where I can do more tests, I will post back any results

Thanks
Reply With Quote
  #4 (permalink)  
Old 02-12-2010, 11:24 AM
Loyal Member
 
Posts: 88
Default

Quote:
Originally Posted by bonadio View Post
Hi Mark

Thanks for the reply, but the command

zmlocalconfig -e ldap_starttls_supported=0 or
zmlocalconfig -e ldap_starttls_supported=1

did not work, tried with both options, stopped but when I restart the startup.log says the same thing

FAILED
Failed to start slapd. Attempting debug start to determine error.
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:650
TLS: error:02001002:system library:fopen:No such file or directory bss_file.c:356
TLS: error:20074002:BIO routines:FILE_CTRL:system lib bss_file.c:358
main: TLS init def ctx failed: -1


I will copy this zimbra to a new server where I can do more tests, I will post back any results

Thanks


Hi

I found a solution.

I found that in the /opt/zimbra/conf/ca directory there was 2 broken link files, I removed those files and them zimbra started normally.

[]s
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.