FreeBSD 12 - OpenLDAP: WARNING: failed precmd routine for slapd

Hi

I tried to start OpenLDAP:
Code:
/usr/local/etc/rc.d/slapd: WARNING: failed precmd routine for slapd

Using:
FreeBSD 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64

Any idea?

Best regards
 
pkg info -D openldap24-server

Before my post was published, I did re-install OpenLDAP using ports instead pkg and now, it works!

pkg info -D openldap-server
openldap-server-2.4.49_1:
On install:
The OpenLDAP server package has been successfully installed.


Thanks for your response.
Best regards
 
I ran into the same issue.

The configuration file is quite sensitive. All I did to resolve the issue is make sure the configuration file was lined up with the statements that were there already.

The following will cause an error when trying to run the service.

Code:
# Load dynamic backend modules:
modulepath      /usr/local/libexec/openldap
 moduleload     back_mdb
 moduleload     back_ldap

Soon as I changed it to look like the following it started up no problem:

Code:
# Load dynamic backend modules:
modulepath      /usr/local/libexec/openldap
moduleload      back_mdb
moduleload      back_ldap
 
Back
Top