On 07/03/2018 11:41, Thomas Seeling wrote:
> Hallo,
> I'm using jhalfs 2.4 to compile select portions of the book, and it
> fails for me when working on openldap.
> The installation is missing the slapd config files .conf and .ldif.

They were installed for me. Did you modify the script generated by jhalfs?
This is a case where jhalfs does not do a good job, because there is first the
client installation, then the server one. You should remove the client
installation instructions from the generated script.

> So the Makefile aborts on the section where it tries to chown these files.
> chmod   -v    640     /etc/openldap/slapd.{conf,ldif}   &&
> chown   -v  root:ldap /etc/openldap/slapd.{conf,ldif}   &&
> Files exist in /etc/openldap but with .default extension. Renaming them
> makes slapd startable and the ldapsearch works then.

Not sure where this come from: normally, if /etc/openldap/slapd.{conf,ldif} do
not exist already, they are installed.

> Contrary to the book I suggest to configure with --enable-debug. This
> makes debugging startup problems so much easier. With debugging disabled
> it simply states "config test failed" for slapd -T test. When debugging
> is possible (-d 255) it gives lots of hints what went wrong.

Book instructions usually do not take debugging into account. But they are
only advises, and can be modified to suit one's needs. It's always a good idea
to review "./configure --help"...

FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to