<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.4.2">
</HEAD>
<BODY>
Hello,<BR>
<BR>
I'm running latest (as of today) F17 with FreeIPA v.2.2.0. After running ipa-server-install everything runs alright and IPA is running fine. 389, kerberos and the rest of the components start up fine. However after reboot of the machine IPA doesn't want to start, systemctl status ipa.service reports: <BR>
<BR>
ipa.service - Identity, Policy, Audit<BR>
          Loaded: loaded (/usr/lib/systemd/system/ipa.service; enabled)<BR>
          Active: failed (Result: exit-code) since Thu, 17 May 2012 23:17:42 +0300; 6min ago<BR>
         Process: 567 ExecStart=/usr/sbin/ipactl start (code=exited, status=1/FAILURE)<BR>
          CGroup: name=systemd:/system/ipa.service<BR>
<BR>
May 17 23:17:40 cerberus.intra.evilpuppy.bg ipactl[567]: Failed to read data from Directory Service: Unknown error when retrieving list of services from LDAP: [Errno 111] Connection refused<BR>
May 17 23:17:40 cerberus.intra.evilpuppy.bg ipactl[567]: Shutting down<BR>
May 17 23:17:41 cerberus.intra.evilpuppy.bg ipactl[567]: Starting Directory Service<BR>
<BR>
and ipactl start just repeats the error:<BR>
<BR>
ipactl start<BR>
Starting Directory Service<BR>
Failed to read data from Directory Service: Unknown error when retrieving list of services from LDAP: [Errno 111] Connection refused<BR>
Shutting down<BR>
<BR>
If I start ns-slapd by hand with ns-slapd -D /etc/dirsrv/slapd-PKI-IPA && ns-slapd -D /etc/dirsrv/slapd-MYREALM, slapd starts, however the MYREALM instance throws <BR>
<BR>
etc/dirsrv/slapd-MYREALM/dse.ldif: nsslapd-maxdescriptors: nsslapd-maxdescriptors: invalid value "8192", maximum file descriptors must range from 1 to 4096 (the current process limit).  Server will use a setting of 4096.<BR>
[17/May/2012:23:25:29 +0300] - Config Warning: - nsslapd-maxdescriptors: invalid value "8192", maximum file descriptors must range from 1 to 4096 (the current process limit).  Server will use a setting of 4096.<BR>
<BR>
which however is not a big problem, but it seems ns-slapd doesn't care about the limits that are setup in the limits.conf.<BR>
<BR>
after starting the directory server I again try with  systemctl start ipa.service and the result this time is:<BR>
<BR>
ipa.service - Identity, Policy, Audit<BR>
          Loaded: loaded (/usr/lib/systemd/system/ipa.service; enabled)<BR>
          Active: failed (Result: exit-code) since Thu, 17 May 2012 23:28:02 +0300; 25s ago<BR>
         Process: 942 ExecStart=/usr/sbin/ipactl start (code=exited, status=1/FAILURE)<BR>
          CGroup: name=systemd:/system/ipa.service<BR>
<BR>
May 17 23:28:02 cerberus.intra.evilpuppy.bg ipactl[942]: Job failed. See system journal and 'systemctl status' for details.<BR>
May 17 23:28:02 cerberus.intra.evilpuppy.bg ipactl[942]: Failed to start KDC Service<BR>
May 17 23:28:02 cerberus.intra.evilpuppy.bg ipactl[942]: Shutting down<BR>
May 17 23:28:02 cerberus.intra.evilpuppy.bg ipactl[942]: Aborting ipactl<BR>
May 17 23:28:02 cerberus.intra.evilpuppy.bg ipactl[942]: Starting Directory Service<BR>
May 17 23:28:02 cerberus.intra.evilpuppy.bg ipactl[942]: Starting KDC Service<BR>
<BR>
the /var/log/krb5kdc.log reports:<BR>
<BR>
rb5kdc: Server error - while fetching master key K/M for realm MYREALM<BR>
May 17 23:14:25 cerberus.--redacted-- krb5kdc[3275](debug): Got signal to request exit<BR>
May 17 23:14:25 cerberus.--redacted-- krb5kdc[3275](info): closing down fd 9<BR>
May 17 23:14:25 cerberus.--redacted-- krb5kdc[3275](info): closing down fd 10<BR>
May 17 23:14:25 cerberus.--redacted-- krb5kdc[3275](info): closing down fd 8<BR>
May 17 23:14:25 cerberus.--redacted-- krb5kdc[3275](info): closing down fd 7<BR>
May 17 23:14:25 cerberus.--redacted-- krb5kdc[3275](info): shutting down<BR>
krb5kdc: Server error - while fetching master key K/M for realm MYREALM<BR>
<BR>
>From what I get from the kdc.conf file in /var/kerberos/krb5kdc it seems like the files<BR>
pkinit_identity = FILE:/var/kerberos/krb5kdc/kdc.pem<BR>
pkinit_anchors = FILE:/var/kerberos/krb5kdc/cacert.pem<BR>
are missing in that path, however I don't really know what should generate those pem certs. From my very basic understanding of how IPA works I assume that is dogtag's job, and again I assume ipactl start/systemctl start ipa.service probably should take care of that, however this doesn't happen.<BR>
<BR>
So any help with this issue is welcome. I can go for LDAP/KRB setup to use on my virtual/physical machines, however if going down the krb/LDAP route I think IPA would be far better to support in the long run.<BR>
<BR>
If that might be some help, I'm running x86_64 F17 inside Xen domU. The host is Fedora 17 Dom0 with a bunch of other CentOS6.2 and NetBSD6 DomU.<BR>
<BR>
I have the exact same situation also with FreeIPA built from git. The packages from git are  version 2.99:<BR>
<BR>
freeipa-server-selinux-2.99.0GIT46c6ff6-0.fc17.x86_64<BR>
freeipa-python-2.99.0GIT46c6ff6-0.fc17.x86_64<BR>
freeipa-admintools-2.99.0GIT46c6ff6-0.fc17.x86_64<BR>
freeipa-server-2.99.0GIT46c6ff6-0.fc17.x86_64<BR>
freeipa-client-2.99.0GIT46c6ff6-0.fc17.x86_64<BR>
<BR>
the 2.2.0 version I also ran was the one in F17. <BR>
<BR>
Thanks in advance,<BR>
BR<BR>
ilf<BR>
<BR>
</BODY>
</HTML>