[Freeipa-users] New server install failing

Robert L. Harris robert.l.harris at gmail.com
Tue Apr 25 20:59:41 UTC 2017


   I'm trying to install freeipa-server on an ubuntu 16.04 box, fresh
install, but it keeps failing:

{0}:/etc/apt>lsb_release  -r
Release:        16.04

{0}:/etc/apt>dpkg -l | egrep -i 'slapd|ipa'
ii  python-ipaddress                         1.0.16-1
            all          Backport of Python 3 ipaddress module (Python 2)


I added the apt repository:
{0}:/etc/apt> sudo add-apt-repository ppa:freeipa/ppa
   * This worked, it's far up in my history

{0}:/etc/apt>apt-get install freeipa-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  libodbc1 libslp1
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  freeipa-admintools freeipa-client freeipa-server-dns
Suggested packages:
  libpam-krb5
The following NEW packages will be installed:
  freeipa-admintools freeipa-client freeipa-server freeipa-server-dns
0 upgraded, 4 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/853 kB of archives.
After this operation, 3669 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package freeipa-client.
(Reading database ... 161356 files and directories currently installed.)
Preparing to unpack .../freeipa-client_4.3.1-0ubuntu1_amd64.deb ...
Unpacking freeipa-client (4.3.1-0ubuntu1) ...
Selecting previously unselected package freeipa-admintools.
Preparing to unpack .../freeipa-admintools_4.3.1-0ubuntu1_all.deb ...
Unpacking freeipa-admintools (4.3.1-0ubuntu1) ...
Selecting previously unselected package freeipa-server.
Preparing to unpack .../freeipa-server_4.3.1-0ubuntu1_amd64.deb ...
Unpacking freeipa-server (4.3.1-0ubuntu1) ...
Selecting previously unselected package freeipa-server-dns.
Preparing to unpack .../freeipa-server-dns_4.3.1-0ubuntu1_all.deb ...
Unpacking freeipa-server-dns (4.3.1-0ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
Setting up freeipa-client (4.3.1-0ubuntu1) ...
Setting up freeipa-admintools (4.3.1-0ubuntu1) ...
Setting up freeipa-server (4.3.1-0ubuntu1) ...
apache2_invoke: Enable module auth_gssapi
apache2_invoke: Enable module authz_user
apache2_invoke: Enable module deflate
apache2_invoke: Enable module expires
apache2_invoke: Enable module headers
apache2_invoke: Enable module proxy
apache2_invoke: Enable module proxy_ajp
apache2_invoke: Enable module proxy_http
apache2_invoke: Enable module rewrite
Running ipa-server-upgrade...
IPA server upgrade failed: Inspect /var/log/ipaupgrade.log and run command
ipa-server-upgrade manually.
Unexpected error - see /var/log/ipaupgrade.log for details:
*IOError: [Errno 2] No such file or directory:
u'/etc/dirsrv/slapd-EXAMPLE-COM/dse.ldif.modified.out'*
The ipa-server-upgrade command failed. See /var/log/ipaupgrade.log for more
information
dpkg: error processing package freeipa-server (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of freeipa-server-dns:
 freeipa-server-dns depends on freeipa-server (>= 4.3.1-0ubuntu1); however:
  Package freeipa-server is not configured yet.


dpkg: error processing package freeipa-server-dns (--configure):
 dependency problems - leaving unconfigured
Processing triggers for dbus (1.10.6-1ubuntu3.3) ...No apport report
written because the error message indicates its a followup error from a
previous failure.

Errors were encountered while processing:
 freeipa-server
 freeipa-server-dns
E: Sub-process /usr/bin/dpkg returned an error code (1)


If I search around, that slapd-EXAMPLE-COM directoryand file can be created
by installing slapd but that requires 389-ds-base which conflicts with
slapd.

Thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20170425/ef327c41/attachment.htm>


More information about the Freeipa-users mailing list