Hi,

I've just installed Fedora 15 onto a VM, configured networking and run
the ipa-server-install script - the installation fails with the error:

Configuring ntpd
  [1/4]: stopping ntpd
  [2/4]: writing configuration
  [3/4]: configuring ntpd to start on boot
  [4/4]: starting ntpd
done configuring ntpd.
Configuring directory server for the CA: Estimated time 30 seconds
  [1/3]: creating directory server user
  [2/3]: creating directory server instance
root        : CRITICAL failed to restart ds instance Command
'/usr/sbin/setup-ds.pl --silent --logfile - -f /tmp/tmplNsX1T'
returned non-zero exit status 1
  [3/3]: restarting directory server
root        : CRITICAL Failed to restart the directory server. See the
installation log for details.

Logfile is attached.

Can anyone help with this? It looks like it's failing to
start/configure the dirsrv service. Is it possible that it's
conflicting with my existing FreeIPA 1.2.x servers elsewhere on the
network?

Thanks,

Dan Scott
2011-06-24 13:33:04,752 DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
2011-06-24 13:33:04,753 DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index'
2011-06-24 13:33:04,753 DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
2011-06-24 13:33:04,753 DEBUG Loading Index file from '/var/lib/ipa-client/sysrestore/sysrestore.index'
2011-06-24 13:33:04,754 DEBUG /usr/sbin/ipa-server-install was invoked with options: {'setup_pkinit': True, 'realm_name': None, 'conf_ntp': True, 'subject': None, 'no_forwarders': False, 'domain_name': None, 'idmax': 0, 'hbac_allow': False, 'no_reverse': False, 'dirsrv_pkcs12': None, 'unattended': False, 'pkinit_pkcs12': None, 'selfsign': False, 'external_ca_file': None, 'no_host_dns': False, 'http_pkcs12': None, 'forwarders': None, 'idstart': 1356800000, 'external_ca': False, 'ip_address': None, 'zonemgr': None, 'setup_dns': False, 'host_name': None, 'debug': False, 'external_cert_file': None, 'pkinit_pin': None, 'uninstall': False}
2011-06-24 13:33:04,754 DEBUG missing options might be asked for interactively later

2011-06-24 13:33:04,754 DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index'
2011-06-24 13:33:04,754 DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
2011-06-24 13:33:05,444 DEBUG will use host_name: pc51.example.com

2011-06-24 13:33:07,187 DEBUG read domain_name: example.com

2011-06-24 13:33:08,321 DEBUG read realm_name: EXAMPLE.COM

2011-06-24 13:33:28,857 DEBUG will use dns_forwarders: ()

2011-06-24 13:33:28,865 DEBUG importing all plugin modules in '/usr/lib/python2.7/site-packages/ipalib/plugins'...
2011-06-24 13:33:28,866 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/aci.py'
2011-06-24 13:33:28,876 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/automount.py'
2011-06-24 13:33:28,905 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/baseldap.py'
2011-06-24 13:33:28,905 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/batch.py'
2011-06-24 13:33:28,907 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/cert.py'
2011-06-24 13:33:28,924 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/config.py'
2011-06-24 13:33:28,930 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/delegation.py'
2011-06-24 13:33:28,934 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/dns.py'
2011-06-24 13:33:28,944 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/entitle.py'
2011-06-24 13:33:28,945 DEBUG skipping plugin module ipalib.plugins.entitle: No module named rhsm.connection
2011-06-24 13:33:28,946 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/group.py'
2011-06-24 13:33:28,950 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/hbacrule.py'
2011-06-24 13:33:28,962 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/hbacsvc.py'
2011-06-24 13:33:28,964 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/hbacsvcgroup.py'
2011-06-24 13:33:28,965 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/host.py'
2011-06-24 13:33:28,977 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/hostgroup.py'
2011-06-24 13:33:28,979 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/internal.py'
2011-06-24 13:33:28,982 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/kerberos.py'
2011-06-24 13:33:28,982 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/krbtpolicy.py'
2011-06-24 13:33:28,984 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/migration.py'
2011-06-24 13:33:28,988 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/misc.py'
2011-06-24 13:33:28,990 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/netgroup.py'
2011-06-24 13:33:28,995 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/passwd.py'
2011-06-24 13:33:28,996 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/permission.py'
2011-06-24 13:33:29,000 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/ping.py'
2011-06-24 13:33:29,001 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/pkinit.py'
2011-06-24 13:33:29,002 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/privilege.py'
2011-06-24 13:33:29,005 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/pwpolicy.py'
2011-06-24 13:33:29,019 DEBUG args=klist -V
2011-06-24 13:33:29,019 DEBUG stdout=Kerberos 5 version 1.9

2011-06-24 13:33:29,019 DEBUG stderr=
2011-06-24 13:33:29,025 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/role.py'
2011-06-24 13:33:29,028 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/selfservice.py'
2011-06-24 13:33:29,031 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/service.py'
2011-06-24 13:33:29,031 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/sudocmd.py'
2011-06-24 13:33:29,032 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/sudocmdgroup.py'
2011-06-24 13:33:29,036 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/sudorule.py'
2011-06-24 13:33:29,049 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/user.py'
2011-06-24 13:33:29,064 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/virtual.py'
2011-06-24 13:33:29,064 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipalib/plugins/xmlclient.py'
2011-06-24 13:33:29,065 DEBUG importing all plugin modules in '/usr/lib/python2.7/site-packages/ipaserver/plugins'...
2011-06-24 13:33:29,066 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipaserver/plugins/dogtag.py'
2011-06-24 13:33:29,092 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipaserver/plugins/join.py'
2011-06-24 13:33:29,096 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipaserver/plugins/ldap2.py'
2011-06-24 13:33:29,096 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipaserver/plugins/rabase.py'
2011-06-24 13:33:29,096 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipaserver/plugins/selfsign.py'
2011-06-24 13:33:29,097 DEBUG skipping plugin module ipaserver.plugins.selfsign: selfsign is not selected as RA plugin, it is dogtag
2011-06-24 13:33:29,097 DEBUG importing plugin module '/usr/lib/python2.7/site-packages/ipaserver/plugins/xmlserver.py'
2011-06-24 13:33:29,251 DEBUG Mounting ipaserver.rpcserver.xmlserver() at 'xml'
2011-06-24 13:33:29,261 DEBUG Mounting ipaserver.rpcserver.jsonserver() at 'json'
2011-06-24 13:33:30,141 DEBUG args=/usr/sbin/groupadd -r dirsrv
2011-06-24 13:33:30,142 DEBUG stdout=
2011-06-24 13:33:30,142 DEBUG stderr=
2011-06-24 13:33:30,142 DEBUG done adding DS group
2011-06-24 13:33:30,143 DEBUG Saving StateFile to '/var/lib/ipa/sysrestore/sysrestore.state'
2011-06-24 13:33:30,144 DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
2011-06-24 13:33:30,145 DEBUG Configuring ntpd
2011-06-24 13:33:30,146 DEBUG   [1/4]: stopping ntpd
2011-06-24 13:33:30,274 DEBUG args=/sbin/service ntpd status 
2011-06-24 13:33:30,276 DEBUG stdout=ntpd.service - Network Time Service
	  Loaded: loaded (/lib/systemd/system/ntpd.service)
	  Active: inactive (dead)
	  CGroup: name=systemd:/system/ntpd.service

2011-06-24 13:33:30,276 DEBUG stderr=
2011-06-24 13:33:30,277 DEBUG Saving StateFile to '/var/lib/ipa/sysrestore/sysrestore.state'
2011-06-24 13:33:30,369 DEBUG args=/sbin/service ntpd stop 
2011-06-24 13:33:30,370 DEBUG stdout=Stopping ntpd (via systemctl):  [  OK  ]

2011-06-24 13:33:30,370 DEBUG stderr=
2011-06-24 13:33:30,371 DEBUG   duration: 0 seconds
2011-06-24 13:33:30,371 DEBUG   [2/4]: writing configuration
2011-06-24 13:33:30,372 DEBUG Backing up system configuration file '/etc/ntp.conf'
2011-06-24 13:33:30,374 DEBUG Saving Index File to '/var/lib/ipa/sysrestore/sysrestore.index'
2011-06-24 13:33:30,375 DEBUG Backing up system configuration file '/etc/sysconfig/ntpd'
2011-06-24 13:33:30,377 DEBUG Saving Index File to '/var/lib/ipa/sysrestore/sysrestore.index'
2011-06-24 13:33:30,379 DEBUG   duration: 0 seconds
2011-06-24 13:33:30,379 DEBUG   [3/4]: configuring ntpd to start on boot
2011-06-24 13:33:30,428 DEBUG args=/sbin/chkconfig ntpd
2011-06-24 13:33:30,429 DEBUG stdout=
2011-06-24 13:33:30,429 DEBUG stderr=Note: Forwarding request to 'systemctl is-enabled ntpd.service'.

2011-06-24 13:33:30,430 DEBUG Saving StateFile to '/var/lib/ipa/sysrestore/sysrestore.state'
2011-06-24 13:33:30,562 DEBUG args=/sbin/chkconfig ntpd on
2011-06-24 13:33:30,564 DEBUG stdout=
2011-06-24 13:33:30,564 DEBUG stderr=Note: Forwarding request to 'systemctl enable ntpd.service'.
ln -s '/lib/systemd/system/ntpd.service' '/etc/systemd/system/multi-user.target.wants/ntpd.service'

2011-06-24 13:33:30,564 DEBUG   duration: 0 seconds
2011-06-24 13:33:30,564 DEBUG   [4/4]: starting ntpd
2011-06-24 13:33:30,653 DEBUG args=/sbin/service ntpd start 
2011-06-24 13:33:30,654 DEBUG stdout=Starting ntpd (via systemctl):  [  OK  ]

2011-06-24 13:33:30,654 DEBUG stderr=
2011-06-24 13:33:30,654 DEBUG   duration: 0 seconds
2011-06-24 13:33:30,655 DEBUG done configuring ntpd.
2011-06-24 13:33:30,656 DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
2011-06-24 13:33:30,658 DEBUG Configuring directory server for the CA: Estimated time 30 seconds
2011-06-24 13:33:30,659 DEBUG   [1/3]: creating directory server user
2011-06-24 13:33:30,659 DEBUG adding ds user pkisrv
2011-06-24 13:33:30,758 DEBUG args=/usr/sbin/useradd -g dirsrv -c PKI DS System User -d /var/lib/dirsrv -s /sbin/nologin -M -r pkisrv
2011-06-24 13:33:30,759 DEBUG stdout=
2011-06-24 13:33:30,759 DEBUG stderr=
2011-06-24 13:33:30,760 DEBUG done adding user
2011-06-24 13:33:30,760 DEBUG Saving StateFile to '/var/lib/ipa/sysrestore/sysrestore.state'
2011-06-24 13:33:30,762 DEBUG   duration: 0 seconds
2011-06-24 13:33:30,762 DEBUG   [2/3]: creating directory server instance
2011-06-24 13:33:30,835 DEBUG args=/sbin/service dirsrv status
2011-06-24 13:33:30,835 DEBUG stdout=  *** Error: no dirsrv instances configured

2011-06-24 13:33:30,836 DEBUG stderr=
2011-06-24 13:33:30,836 DEBUG Saving StateFile to '/var/lib/ipa/sysrestore/sysrestore.state'
2011-06-24 13:33:30,837 DEBUG Saving StateFile to '/var/lib/ipa/sysrestore/sysrestore.state'
2011-06-24 13:33:30,840 DEBUG writing inf template
2011-06-24 13:33:30,845 DEBUG 
[General]
FullMachineName=   pc51.example.com
SuiteSpotUserID=   pkisrv
SuiteSpotGroup=    dirsrv
ServerRoot=    /usr/lib64/dirsrv
[slapd]
ServerPort=   7389
ServerIdentifier=   PKI-IPA
Suffix=   dc=example,dc=com
RootDN=   cn=Directory Manager

2011-06-24 13:33:30,845 DEBUG calling setup-ds.pl
2011-06-24 13:44:27,969 DEBUG args=/usr/sbin/setup-ds.pl --silent --logfile - -f /tmp/tmplNsX1T
2011-06-24 13:44:27,970 DEBUG stdout=Server failed to start !!! Please check errors log for problems
[11/06/24:13:44:27] - [Setup] Info Could not start the directory server using command '/usr/lib64/dirsrv/slapd-PKI-IPA/start-slapd'.  The last line from the error log was '[24/Jun/2011:13:34:27 -0400] - Shutting down due to possible conflicts with other slapd processes
'.  Error: Unknown error 256
Could not start the directory server using command '/usr/lib64/dirsrv/slapd-PKI-IPA/start-slapd'.  The last line from the error log was '[24/Jun/2011:13:34:27 -0400] - Shutting down due to possible conflicts with other slapd processes
'.  Error: Unknown error 256
[11/06/24:13:44:27] - [Setup] Fatal Error: Could not create directory server instance 'PKI-IPA'.
Error: Could not create directory server instance 'PKI-IPA'.
[11/06/24:13:44:27] - [Setup] Fatal Exiting . . .
Log file is '-'

Exiting . . .
Log file is '-'


2011-06-24 13:44:27,970 DEBUG stderr=Server failed to start !!! Please check errors log for problems

2011-06-24 13:44:27,970 CRITICAL failed to restart ds instance Command '/usr/sbin/setup-ds.pl --silent --logfile - -f /tmp/tmplNsX1T' returned non-zero exit status 1
2011-06-24 13:44:27,978 DEBUG   duration: 657 seconds
2011-06-24 13:44:27,978 DEBUG   [3/3]: restarting directory server
2011-06-24 13:44:29,293 DEBUG args=/sbin/service dirsrv restart PKI-IPA
2011-06-24 13:44:29,294 DEBUG stdout=Shutting down dirsrv: 
    PKI-IPA... server already stopped[FAILED]
  *** Error: 1 instance(s) unsuccessfully stopped[FAILED]
Starting dirsrv: 
    PKI-IPA...[FAILED]
  *** Warning: 1 instance(s) failed to start

2011-06-24 13:44:29,294 DEBUG stderr=
2011-06-24 13:44:29,379 DEBUG args=/sbin/service dirsrv status
2011-06-24 13:44:29,380 DEBUG stdout=dirsrv PKI-IPA is stopped

2011-06-24 13:44:29,380 DEBUG stderr=
2011-06-24 13:44:29,382 CRITICAL Failed to restart the directory server. See the installation log for details.
_______________________________________________
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Reply via email to