unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Brant Gardner" <brantcgardner@brantware.com>
To: 36581@debbugs.gnu.org
Subject: bug#36581: Installing 389-ds-base doesn't appear to result in a working LDAP server
Date: Wed, 10 Jul 2019 13:02:18 -0500	[thread overview]
Message-ID: <4edfc48b-4e18-43f4-9720-ea58370d0bf4@www.fastmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1666 bytes --]

I used the quickstart documentation for all my testing, located here: https://directory.fedoraproject.org/docs/389ds/howto/quickstart.html

Initially I ran into trouble because the 'dirsrv' user and group are apparently expected to already exist, so I added this to my config.scm and ran guix system reconfigure:

 (groups (cons*
 ;; To support 389-ds-base 
 (user-group (name "dirsrv"))
 %base-groups))

 (users (cons*
 ...snip...
 ;; To support 389-ds-base 
 (user-account
 (name "dirsrv")
 (comment "LDAP Server User")
 (group "users")
 (supplementary-groups '("netdev" "dirsrv"))
 (home-directory "/home/dirsrv"))
 %base-user-accounts))

After this, I generated a template config file with:

# dscreate create-template > gardner.inf

Then I read through the resulting template file and modified only these values:
- password
- server FQDN
- instance name (gardner)
- selinux (False)
- suffix (dc=gardner,dc=local)

Finally I tried to create the new instance with:

# dscreate from-file /root/gardner.inf

This said "Starting installation...", then paused for about 60 seconds and then said:

Error: Failed to start DS, removing incomplete installation...
Error:

Note that even though it claims to, it did not actually remove the incomplete installation, as trying the same command again results in:

Starting installation...
Error: Another instance named 'gardner' may already exist

Checking the logs, I found only this line in /var/log/debug that seems related:

Jul 10 12:49:09 localhost ns-slapd: looking for plugins in '/usr/lib/x86_64-linux-gnu', failed to open directory, error: No such file or directory

Thanks for any suggestions,

--
Brant Gardner



[-- Attachment #2: Type: text/html, Size: 4631 bytes --]

             reply	other threads:[~2019-07-10 18:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-10 18:02 Brant Gardner [this message]
2019-07-11  9:06 ` bug#36581: Installing 389-ds-base doesn't appear to result in a working LDAP server Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4edfc48b-4e18-43f4-9720-ea58370d0bf4@www.fastmail.com \
    --to=brantcgardner@brantware.com \
    --cc=36581@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).