How to fix the error: Failed to start slapd TLS: error:0200100D:system library:fopen:Permission denied bss file.c

Fixing error: Failed to start slapd TLS: error:0200100D:system library:fopen:Permission denied bss file.c

   KB 21957        Last updated on 07/11/2015  




0.00
(0 votes)

Purpose

Doing a zmcontrol restart or zmcontrol start you obtain the next error:

Host mail.example.com
        Starting ldap...Done.
Failed.
Failed to start slapd.  Attempting debug start to determine error.
TLS: error:0200100D:system library:fopen:Permission denied bss_file.c:398
TLS: error:20074002:BIO routines:FILE_CTRL:system lib bss_file.c:400
5551ed24 main: TLS init def ctx failed: -1

Resolution

This problem is related to the privileges, try to run the next command to fix the privileges: As root

/opt/zimbra/libexec/zmfixperms --extended

As zimbra user

zmcontrol start


Additional Content

  • A Community thread about the error, in this case the fix was manually changing the permissions of some files to zimbra:zimbra, but is much better use the zmfixperms tool.


Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 05/12/2015
Article ID: https://wiki.zimbra.com/index.php?title=How_to_fix_the_error:_Failed_to_start_slapd_TLS:_error:0200100D:system_library:fopen:Permission_denied_bss_file.c Date Modified: 07/11/2015



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by SME1 SME2 Copyeditor Last edit by Jorge de la Cruz
Jump to: navigation, search