Bug 450214 - Kerberos not starting.
Kerberos not starting.
Product: freeIPA
Classification: Community
Component: ipa-server (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Rob Crittenden
Chandrasekar Kannan
Depends On:
Blocks: 431020
  Show dependency treegraph
Reported: 2008-06-05 17:38 EDT by Eric Desgranges
Modified: 2015-01-04 18:32 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-01 11:02:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
ipaserver-install.log (38.51 KB, text/plain)
2008-06-05 17:38 EDT, Eric Desgranges
no flags Details

  None (edit)
Description Eric Desgranges 2008-06-05 17:38:24 EDT
Description of problem:Kerberos not starting after first reboot although it first started okay after installation. 
Jun 05 14:02:33 directory.fronteranet.com krb5kdc[2854](info): setting up network... Jun 05 14:02:33 directory.fronteranet.com krb5kdc[2854](info): set up 0 sockets  krb5kdc: no sockets set up?
Version-Release number of selected component (if applicable):
Server is a Fedora 9 domU

How reproducible:

Steps to Reproduce:
1.freeIPA install
Actual results:kinit admin
Cannot contact any KDC for realm 'FRONTERANET.COM' while getting initial credentials

Expected results:

Additional info:Log files attached
Comment 1 Eric Desgranges 2008-06-05 17:38:24 EDT
Created attachment 308491 [details]
Comment 2 Rob Crittenden 2008-06-05 22:13:26 EDT
Can you run this to verify that it is set up to start on boot:

/sbin/chkconfig --list krb5kdc

Are you using NetworkManager for your networking or the older network script?

Can you start the KDC after boot-up?

And finally, is ns-slapd running?
Comment 3 Andreas Mischinski 2008-06-06 02:48:28 EDT
I had the same problem after installation. The system massage bus hangs during
starting. I `ve followed 


and after this all started fine.
Comment 4 Eric Desgranges 2008-06-06 10:58:20 EDT
I was using NetworkManager. Kerberos started OK after disabling it.
Comment 5 Rob Crittenden 2008-06-06 13:29:22 EDT
ccing the NetworkManager maintainer to see if he has any ideas.

The freeIPA-installed KDC isn't starting on bootup with NetworkManager but it is
with network. I don't know if this is an init ordering problem or some NM option
we need to set.
Comment 6 Dan Williams 2008-06-06 15:54:30 EDT
On F9 you may need to install updated NetworkManager packages from
updates-testing because we moved NM earlier in the boot process.  You could try:

/sbin/chkconfig messagebus resetpriorities
/sbin/chkconfig haldaemon resetpriorities
/sbin/chkconfig NetworkManager resetpriorities

and then ensure that there is a /etc/rc3.d/S27NetworkManager file.

Since NM brings the network up asynchronously, if your service requires a
network connection when it starts (which is actaully a bug in that service that
it cannot listen for netlink events and notice interface changes on the fly)
then you can add the line:


to your /etc/sysconfig/network file to block startup for up to 10 seconds while
waiting for a network connection to come up.
Comment 7 Rob Crittenden 2008-06-09 22:19:54 EDT
Eric or Andreas, can you give Dan's suggestion a shot? If it works we'll update
our documentation to reflect this work-around.
Comment 8 Martin Nagy 2008-06-12 09:25:50 EDT
I had the same problem and I can confirm that the NETWORKWAIT solution worked
nicely for me.
Comment 9 Rob Crittenden 2008-07-01 11:02:33 EDT
Added Dan's comments to documentation at

Note You need to log in before you can comment on or make changes to this bug.