python2 -c 'from ipaserver.install import installutils; print "yes" if installutils.is_ipa_configured() else "no";' Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named ipaserver.install
On Fri, Feb 17, 2017 at 10:33 PM Timo Aaltonen <[email protected]> wrote: > On 18.02.2017 03:24, Robert L. Harris wrote: > > > > I have an Ubuntu 16.04 test system which is currently clean. I'm > > trying to install freeipa-server via apt and I'm getting an error about > > files missing : > > > > Setting up freeipa-server (4.3.1-0ubuntu1) ... > > 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' > > 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. > > It shouldn't run ipa-server-upgrade on a clean install. What does: > python2 -c 'from ipaserver.install import installutils; print "yes" if > installutils.is_ipa_configured() else "no";' > > return? > > > -- > t >
-- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project
