#2830 ipa-replica-install named failed to start
Closed: Invalid None Opened 11 years ago by rcritten.

https://bugzilla.redhat.com/show_bug.cgi?id=830314 (Red Hat Enterprise Linux 6)

Description of problem:
The named service fails to start sometimes during ipa-replica-install.  I've
only seen this when two replicas are installing at the same time during
testing.  Then it wasn't consistent either.

Version-Release number of selected component (if applicable):
ipa-server-2.2.0-16.el6.x86_64
bind-9.8.2-0.10.rc1.el6.x86_64
bind-dyndb-ldap-1.1.0-0.9.b1.el6.x86_64
389-ds-base-1.2.10.2-15.el6.x86_64

How reproducible:
Somewhat but, not predictably that I've found yet.

Steps to Reproduce:
1. <setup IPA Master server on RHEL6.3>
2. <setup 2 replicas at the same time>
3.  ipa-replica-install ipa-replica-install -U --setup-dns
--forwarder=$DNSFORWARD -w $ADMINPW -p $ADMINPW
/dev/shm/replica-info-$hostname_s.$DOMAIN.gpg

Actual results:

Configuring named:
  [1/8]: adding NS record to the zone
  [2/8]: setting up reverse zone
  [3/8]: setting up our own record
  [4/8]: setting up kerberos principal
  [5/8]: setting up named.conf
  [6/8]: restarting named
named service failed to start
  [7/8]: configuring named to start on boot
  [8/8]: changing resolv.conf to point to ourselves
done configuring named.

Expected results:

named successfully starts

Additional info:

From /var/log/ipareplica-install.log:
...

2012-06-08T14:47:12Z DEBUG   [6/8]: restarting named
2012-06-08T14:47:12Z DEBUG args=/sbin/service named status
2012-06-08T14:47:12Z DEBUG stdout=named is stopped

2012-06-08T14:47:12Z DEBUG stderr=rndc: neither /etc/rndc.conf nor
/etc/rndc.key was found

2012-06-08T14:47:12Z DEBUG Saving StateFile to
'/var/lib/ipa/sysrestore/sysrestore.state'
2012-06-08T14:47:25Z DEBUG args=/sbin/service named restart
2012-06-08T14:47:25Z DEBUG stdout=Stopping named: [  OK  ]
Generating /etc/rndc.key:[  OK  ]
Starting named: [FAILED]

2012-06-08T14:47:25Z DEBUG stderr=
2012-06-08T14:47:25Z DEBUG   duration: 12 seconds
...

From /var/log/messages:
...
Jun  8 10:47:25 beast named[17512]: bind to LDAP server failed: Timed out
Jun  8 10:47:25 beast named[17512]: loading configuration: failure
Jun  8 10:47:25 beast named[17512]: exiting (due to fatal error)
...

Nothing in /var/log/dirsrv/slapd-TESTRELM.COM/errors or access during this
timeframe.

Nothing in krb5kdc.log during timeframe either.

This issue is not reproducible any more. Closing the ticket.

Metadata Update from @rcritten:
- Issue assigned to pviktori
- Issue set to the milestone: FreeIPA 3.0 RC1

7 years ago

Login to comment on this ticket.

Metadata