20110801 never give up never surrender installing 389 directory server on el 61 - plembo/onemoretech GitHub Wiki
title: Never give up! Never surrender! Installing 389 Directory Server on EL 6.1 link: https://onemoretech.wordpress.com/2011/08/01/never-give-up-never-surrender-installing-389-directory-server-on-el-61/ author: lembobro description: post_id: 11 created: 2011/08/01 09:44:27 created_gmt: 2011/08/01 09:44:27 comment_status: open post_name: never-give-up-never-surrender-installing-389-directory-server-on-el-61 status: publish post_type: post
Never give up! Never surrender! Installing 389 Directory Server on EL 6.1
Really wanted to try out the 389 Directory on my new SL 6.1 workstation at home. Took awhile, but the stars finally came into just the right alignment for me to do the install. Here's the story from the lead developer on the user's mail list today:
EL6 support is . . . tricky. We will not provide support for 6.0 - too many missing dependencies. With RHEL 6.1, since the 389-ds-base package is provided by the base OS, we cannot provide them via EPEL, hence the use of the private developer repo at fedorapeople.org. The other "problem" with EL6 is that the 389-ds-base package is not the full package - it is missing the replication and windows sync bits (hence the problem with the missing repl-monitor.pl). You have to pay extra for the ds-replication package in RHEL6 - right now it is available as a "tech preview" from your local sales rep. The 389-ds-base package from fedorapeople.org does have the replication bits.
(EPEL is Extra Packages for Enterprise Linux, a subproject of Fedora) RHEL 6.0 won't be supported because there are too many missing dependencies. OK, fair enough. But the core package (389-ds-base) as shipped with 6.1 is crippleware? Instructions for installing on 6.1 are here, but they're not exactly a model of clarity. Let me lay it out for you: in order to make this work get the 389-ds-base and 389-ds-base-libs packages from epel-389-ds-base.repo (Fedora People), and the rest of the stuff from EPEL 6 Testing. That's right, testing. Why? Because stable EPEL 6 contains packages that will only build with the now deprecated mozldap package (a/k/a Mozilla LDAP SDK for C).
Be sure to enable the "testing" repo for EPEL 6, this will be /etc/yum.repos.d/epel-testing.repo:.
[epel-testing]
name=Extra Packages for Enterprise Linux 6 - Testing - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/testing/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-epel6-arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Here's what you'll see at the console if you got all that right and run yum install 389-ds
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
389-ds noarch 1.2.2-1.el6 epel-testing 9.9 k
Installing for dependencies:
389-admin x86_64 1.1.20-1.el6 epel-testing 342 k
389-admin-console noarch 1.1.7-1.el6 epel-testing 202 k
389-admin-console-doc noarch 1.1.7-1.el6 epel-testing 43 k
389-adminutil x86_64 1.1.14-2.el6 epel-testing 64 k
389-console noarch 1.1.7-1.el6 epel 72 k
389-ds-base x86_64 1.2.8.3-1.el6 epel-389-ds-base 1.3 M
389-ds-base-libs x86_64 1.2.8.3-1.el6 epel-389-ds-base 352 k
389-ds-console noarch 1.2.6-1.el6 epel-testing 1.4 M
389-ds-console-doc noarch 1.2.6-1.el6 epel-testing 55 k
389-dsgw x86_64 1.1.7-1.el6 epel-testing 469 k
idm-console-framework noarch 1.1.7-2.el6 epel-testing 1.1 M
mod_nss x86_64 1.0.8-12.el6 sl 80 k
svrcore x86_64 4.0.4-5.1.el6 sl 14 k
Transaction Summary
================================================================================
Install 14 Package(s)
Total download size: 5.4 M
Installed size: 14 M
If you see something like this:
Error: Package: 389-admin-1.1.11-0.5.rc1.el6.x86_64 (epel)
Requires: libssldap60.so()(64bit)
Error: Package: 389-admin-1.1.11-0.5.rc1.el6.x86_64 (epel)
Requires: mod_nss
Error: Package: 389-adminutil-1.1.10-1.el6.x86_64 (epel)
Requires: libssldap60.so()(64bit)
* * *
You could try using --skip-broken to work around the problem
then you're still grabbing the older EPEL stable packages, not testing (and you might also be picking up the release version of 389-ds-base, etc. from the main distribution). Remember. You want the 389-ds-base and 389-ds-base-libs from Fedora People, and the rest of the 389 packages from EPEL Testing.
Copyright 2004-2019 Phil Lembo