I am not new to installing FreeIPA. This one has been a struggle. I
came in to help some people on there server installation. Long story short. I found the
ipa-dnskeysyncd.service constantly restarting. I went and uninstalled the server, and
found that the slapd-<Domain> service broken and I uninstalled it completely
manually. Then when I went to install the server again. It is hanging on the creation of
the domain server. Here are the results of the installation.
Hi,
since the ds server installation is failing trying to start the service,
you can have a look at the ds log files in
/var/log/dirsrv/slapd-EXAMPLE-DOMAIN/errors or check the output of:
# systemctl status dirsrv(a)EXAMPLE-DOMAIN.service
Maybe there is still an instance running and using the 389/636 ports?
flo
Installation Output:
The log file for this installation can be found in /var/log/ipaserver-install.log
==============================================================================
This program will set up the IPA Server.
This includes:
* Configure a stand-alone CA (dogtag) for certificate management
* Configure the Network Time Daemon (ntpd)
* Create and configure an instance of Directory Server
* Create and configure a Kerberos Key Distribution Center (KDC)
* Configure Apache (httpd)
* Configure DNS (bind)
* Configure the KDC to enable PKINIT
Warning: skipping DNS resolution of host serv.example.domain
Checking DNS domain example.domain., please wait ...
The IPA Master Server will be configured with:
Hostname: serv.example.domain
IP address(es): 192.168.1.191
Domain name: example.domain
Realm name: EXAMPLE.DOMAIN
BIND DNS server will be configured to serve IPA domain with:
Forwarders: No forwarders
Forward policy: only
Reverse zone(s): No reverse zone
Configuring NTP daemon (ntpd)
[1/4]: stopping ntpd
[2/4]: writing configuration
[3/4]: configuring ntpd to start on boot
[4/4]: starting ntpd
Done configuring NTP daemon (ntpd).
Configuring directory server (dirsrv). Estimated time: 30 seconds
[1/45]: creating directory server instance
[error] RuntimeError: failed to create DS instance Command '/usr/sbin/setup-ds.pl
--silent --logfile - -f /tmp/tmp_Z6Bop' returned no-zero exit status 1
ipapython.admintool: ERROR failed to create DS instance Command
'/usr/sbin/setup-ds.pl --silent --logfile - -f /tmp/tmp_Z6Bop' retured non-zero
exit status 1
ipapython.admintool: ERROR The ipa-server-install command failed. See
/var/log/ipaserver-install.log for more information
Install Log File:
2021-03-30T19:11:29Z DEBUG Logging to /var/log/ipaserver-install.log
2021-03-30T19:11:29Z INFO Checking DNS domain example.domain, please wait ...
2021-03-30T19:11:29Z DEBUG ipa-server-install was invoked with arguments [] and options:
{'no_dns_sshfp': False, 'ignore_topology_disconnect': False,
'verbose': False, 'domain_level': None, 'ip_addresses': None,
'secondary_rid_base': None, 'netbios_name': None, 'mkhomedir':
True, 'http_cert_files': None, 'zonemgr': None, 'no_pkinit':
False, 'reverse_zones': None, 'no_forwarders': True,
'external_ca_profile': None, 'external_ca_type': None, 'no_ntp':
False, 'no_msdcs': False, 'setup_kra': False, 'domain_name':
'example.domain', 'idmax': None, 'setup_adtrust': False,
'http_cert_name': None, 'dirsrv_cert_files': None,
'no_dnssec_validation': False, 'ca_signing_algorithm': None,
'no_reverse': False, 'ssh_trust_dns': False, 'pkinit_cert_files':
None, 'ca_cert_files': None, 'subject_base': None, 'auto_reverse':
True, 'auto_forwarders': False, 'no_host_dns': False, 'no_sshd':
False, 'no_ui_redirect': False, 'ignore_last_of_role': False,
'realm_name': 'EXAMPLE.DOMAIN', 'forwarders': None, 'i
dstart': None, 'external_ca': False, 'pkinit_cert_name': None,
'no_ssh': False, 'external_cert_files': None, 'enable_compat':
False, 'no_hbac_allow': False, 'forward_policy': None,
'dirsrv_cert_name': None, 'unattended': True, 'rid_base': None,
'quiet': False, 'setup_dns': True, 'ca_subject': None,
'host_name': 'serv.example.domain', 'dirsrv_config_file': None,
'log_file': None, 'allow_zone_overlap': False, 'uninstall':
False}
2021-03-30T19:11:29Z DEBUG IPA version 4.6.8-5.el7.centos
2021-03-30T19:11:29Z DEBUG Searching for an interface of IP address: ::1
2021-03-30T19:11:29Z DEBUG Testing local IP address:
::1/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff (interface: lo)
2021-03-30T19:11:29Z DEBUG Starting external process
2021-03-30T19:11:29Z DEBUG args=/usr/sbin/selinuxenabled
2021-03-30T19:11:29Z DEBUG Process finished, return code=1
2021-03-30T19:11:29Z DEBUG stdout=
2021-03-30T19:11:29Z DEBUG stderr=
2021-03-30T19:11:29Z DEBUG Loading StateFile from
'/var/lib/ipa/sysrestore/sysrestore.state'
2021-03-30T19:11:29Z DEBUG Loading Index file from
'/var/lib/ipa/sysrestore/sysrestore.index'
2021-03-30T19:11:29Z DEBUG httpd is not configured
2021-03-30T19:11:29Z DEBUG kadmin is not configured
2021-03-30T19:11:29Z DEBUG dirsrv is not configured
2021-03-30T19:11:29Z DEBUG pki-tomcatd is not configured
2021-03-30T19:11:29Z DEBUG install is not configured
2021-03-30T19:11:29Z DEBUG krb5kdc is not configured
2021-03-30T19:11:29Z DEBUG ntpd is not configured
2021-03-30T19:11:29Z DEBUG named is not configured
2021-03-30T19:11:29Z DEBUG filestore is tracking no files
2021-03-30T19:11:29Z DEBUG Loading Index file from
'/var/lib/ipa-client/sysrestore/sysrestore.index'
2021-03-30T19:11:29Z DEBUG Loading Index file from
'/var/lib/ipa/sysrestore/sysrestore.index'
2021-03-30T19:11:29Z DEBUG Loading StateFile from
'/var/lib/ipa/sysrestore/sysrestore.state'
2021-03-30T19:11:29Z DEBUG Starting external process
2021-03-30T19:11:29Z DEBUG args=/bin/systemctl is-enabled chronyd.service
2021-03-30T19:11:29Z DEBUG Process finished, return code=1
2021-03-30T19:11:29Z DEBUG stdout=
2021-03-30T19:11:29Z DEBUG stderr=Failed to get unit file state for chronyd.service: No
such file or directory
2021-03-30T19:11:29Z DEBUG Starting external process
2021-03-30T19:11:29Z DEBUG args=/bin/systemctl is-active chronyd.service
2021-03-30T19:11:29Z DEBUG Process finished, return code=3
2021-03-30T19:11:29Z DEBUG stdout=unknown
2021-03-30T19:11:29Z DEBUG stderr=
2021-03-30T19:11:29Z DEBUG Starting external process
2021-03-30T19:11:29Z DEBUG args=/usr/sbin/httpd -t -D DUMP_VHOSTS
2021-03-30T19:11:29Z DEBUG Process finished, return code=0
2021-03-30T19:11:29Z DEBUG stdout=VirtualHost configuration:
*:8443 serv.example.domain (/etc/httpd/conf.d/nss.conf:81)
2021-03-30T19:11:29Z DEBUG stderr=
2021-03-30T19:11:29Z DEBUG Check if serv.example.domain is a primary hostname for
localhost
2021-03-30T19:11:29Z DEBUG Primary hostname for localhost: serv.example.domain
2021-03-30T19:11:29Z DEBUG will use host_name: serv.example.domain
2021-03-30T19:11:29Z DEBUG importing all plugin modules in ipaserver.plugins...
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.aci
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.automember
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.automount
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.baseldap
2021-03-30T19:11:29Z DEBUG ipaserver.plugins.baseldap is not a valid plugin module
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.baseuser
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.batch
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.ca
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.caacl
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.cert
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.certmap
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.certprofile
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.config
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.delegation
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.dns
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.dnsserver
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.dogtag
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.domainlevel
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.group
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.hbac
2021-03-30T19:11:29Z DEBUG ipaserver.plugins.hbac is not a valid plugin module
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.hbacrule
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.hbacsvc
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.hbacsvcgroup
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.hbactest
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.host
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.hostgroup
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.idrange
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.idviews
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.internal
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.join
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.krbtpolicy
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.ldap2
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.location
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.migration
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.misc
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.netgroup
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.otp
2021-03-30T19:11:29Z DEBUG ipaserver.plugins.otp is not a valid plugin module
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.otpconfig
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.otptoken
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.passwd
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.permission
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.ping
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.pkinit
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.privilege
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.pwpolicy
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.rabase
2021-03-30T19:11:29Z DEBUG ipaserver.plugins.rabase is not a valid plugin module
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.radiusproxy
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.realmdomains
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.role
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.schema
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.selfservice
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.selinuxusermap
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.server
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.serverrole
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.serverroles
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.service
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.servicedelegation
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.session
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.stageuser
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.sudo
2021-03-30T19:11:29Z DEBUG ipaserver.plugins.sudo is not a valid plugin module
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.sudocmd
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.sudocmdgroup
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.sudorule
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.topology
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.trust
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.user
2021-03-30T19:11:29Z DEBUG importing plugin module ipaserver.plugins.vault
2021-03-30T19:11:30Z DEBUG importing plugin module ipaserver.plugins.virtual
2021-03-30T19:11:30Z DEBUG ipaserver.plugins.virtual is not a valid plugin module
2021-03-30T19:11:30Z DEBUG importing plugin module ipaserver.plugins.whoami
2021-03-30T19:11:30Z DEBUG importing plugin module ipaserver.plugins.xmlserver
2021-03-30T19:11:30Z DEBUG importing all plugin modules in ipaserver.install.plugins...
2021-03-30T19:11:30Z DEBUG importing plugin module ipaserver.install.plugins.adtrust
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.ca_renewal_master
2021-03-30T19:11:30Z DEBUG importing plugin module ipaserver.install.plugins.dns
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.fix_kra_people_entry
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.fix_replica_agreements
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.rename_managed
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.update_ca_topology
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.update_dna_shared_config
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.update_fix_duplicate_cacrt_in_ldap
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.update_idranges
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.update_ldap_server_list
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.update_managed_permissions
2021-03-30T19:11:30Z DEBUG importing plugin module ipaserver.install.plugins.update_nis
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.update_pacs
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.update_passsync
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.update_ra_cert_store
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.update_referint
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.update_services
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.update_unhashed_password
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.update_uniqueness
2021-03-30T19:11:30Z DEBUG importing plugin module
ipaserver.install.plugins.upload_cacrt
2021-03-30T19:11:30Z DEBUG Loading Index file from
'/var/lib/ipa/sysrestore/sysrestore.index'
2021-03-30T19:11:30Z INFO Checking DNS domain example.domain., please wait ...
2021-03-30T19:11:30Z DEBUG Name serv.example.domain resolved to
set([UnsafeIPAddress('192.168.1.191')])
2021-03-30T19:11:30Z DEBUG Searching for an interface of IP address: 192.168.1.191
2021-03-30T19:11:30Z DEBUG Testing local IP address: 127.0.0.1/255.0.0.0 (interface:
lo)
2021-03-30T19:11:30Z DEBUG Testing local IP address: 192.168.1.191/255.255.255.0
(interface: eth0)
2021-03-30T19:11:30Z DEBUG IP address 192.168.1.191 belongs to a private range, using
forward policy only
2021-03-30T19:11:30Z DEBUG will use DNS forwarders: []
2021-03-30T19:11:30Z INFO Reverse record for IP address 192.168.1.191 already exists
2021-03-30T19:11:30Z DEBUG Backing up system configuration file '/etc/hostname'
2021-03-30T19:11:30Z DEBUG Saving Index File to
'/var/lib/ipa/sysrestore/sysrestore.index'
2021-03-30T19:11:30Z DEBUG Loading StateFile from
'/var/lib/ipa/sysrestore/sysrestore.state'
2021-03-30T19:11:30Z DEBUG Saving StateFile to
'/var/lib/ipa/sysrestore/sysrestore.state'
2021-03-30T19:11:30Z DEBUG Starting external process
2021-03-30T19:11:30Z DEBUG args=/bin/hostnamectl set-hostname serv.example.domain
2021-03-30T19:11:30Z DEBUG Process finished, return code=0
2021-03-30T19:11:30Z DEBUG stdout=
2021-03-30T19:11:30Z DEBUG stderr=
2021-03-30T19:11:30Z DEBUG Backing up system configuration file '/etc/hosts'
2021-03-30T19:11:30Z DEBUG Saving Index File to
'/var/lib/ipa/sysrestore/sysrestore.index'
2021-03-30T19:11:30Z DEBUG Starting external process
2021-03-30T19:11:30Z DEBUG args=/bin/systemctl is-enabled chronyd.service
2021-03-30T19:11:30Z DEBUG Process finished, return code=1
2021-03-30T19:11:30Z DEBUG stdout=
2021-03-30T19:11:30Z DEBUG stderr=Failed to get unit file state for chronyd.service: No
such file or directory
2021-03-30T19:11:30Z DEBUG Starting external process
2021-03-30T19:11:30Z DEBUG args=/bin/systemctl is-active chronyd.service
2021-03-30T19:11:30Z DEBUG Process finished, return code=3
2021-03-30T19:11:30Z DEBUG stdout=unknown
2021-03-30T19:11:30Z DEBUG stderr=
2021-03-30T19:11:30Z DEBUG Loading StateFile from
'/var/lib/ipa/sysrestore/sysrestore.state'
2021-03-30T19:11:30Z DEBUG Loading Index file from
'/var/lib/ipa/sysrestore/sysrestore.index'
2021-03-30T19:11:30Z DEBUG Configuring NTP daemon (ntpd)
2021-03-30T19:11:30Z DEBUG [1/4]: stopping ntpd
2021-03-30T19:11:30Z DEBUG Starting external process
2021-03-30T19:11:30Z DEBUG args=/bin/systemctl is-active ntpd.service
2021-03-30T19:11:30Z DEBUG Process finished, return code=3
2021-03-30T19:11:30Z DEBUG stdout=unknown
2021-03-30T19:11:30Z DEBUG stderr=
2021-03-30T19:11:30Z DEBUG Loading StateFile from
'/var/lib/ipa/sysrestore/sysrestore.state'
2021-03-30T19:11:30Z DEBUG Saving StateFile to
'/var/lib/ipa/sysrestore/sysrestore.state'
2021-03-30T19:11:30Z DEBUG Starting external process
2021-03-30T19:11:30Z DEBUG args=/bin/systemctl stop ntpd.service
2021-03-30T19:11:30Z DEBUG Process finished, return code=0
2021-03-30T19:11:30Z DEBUG stdout=
2021-03-30T19:11:30Z DEBUG stderr=
2021-03-30T19:11:30Z DEBUG Stop of ntpd.service complete
2021-03-30T19:11:30Z DEBUG duration: 0 seconds
2021-03-30T19:11:30Z DEBUG [2/4]: writing configuration
2021-03-30T19:11:30Z DEBUG Backing up system configuration file '/etc/ntp.conf'
2021-03-30T19:11:30Z DEBUG Saving Index File to
'/var/lib/ipa/sysrestore/sysrestore.index'
2021-03-30T19:11:30Z DEBUG Backing up system configuration file
'/etc/sysconfig/ntpd'
2021-03-30T19:11:30Z DEBUG Saving Index File to
'/var/lib/ipa/sysrestore/sysrestore.index'
2021-03-30T19:11:30Z DEBUG duration: 0 seconds
2021-03-30T19:11:30Z DEBUG [3/4]: configuring ntpd to start on boot
2021-03-30T19:11:30Z DEBUG Starting external process
2021-03-30T19:11:30Z DEBUG args=/bin/systemctl is-enabled ntpd.service
2021-03-30T19:11:30Z DEBUG Process finished, return code=1
2021-03-30T19:11:30Z DEBUG stdout=disabled
2021-03-30T19:11:30Z DEBUG stderr=
2021-03-30T19:11:30Z DEBUG Loading StateFile from
'/var/lib/ipa/sysrestore/sysrestore.state'
2021-03-30T19:11:30Z DEBUG Saving StateFile to
'/var/lib/ipa/sysrestore/sysrestore.state'
2021-03-30T19:11:30Z DEBUG Starting external process
2021-03-30T19:11:30Z DEBUG args=/bin/systemctl enable ntpd.service
2021-03-30T19:11:31Z DEBUG Process finished, return code=0
2021-03-30T19:11:31Z DEBUG stdout=
2021-03-30T19:11:31Z DEBUG stderr=Created symlink from
/etc/systemd/system/multi-user.target.wants/ntpd.service to
/usr/lib/systemd/system/ntpd.service.
2021-03-30T19:11:31Z DEBUG duration: 0 seconds
2021-03-30T19:11:31Z DEBUG [4/4]: starting ntpd
2021-03-30T19:11:31Z DEBUG Starting external process
2021-03-30T19:11:31Z DEBUG args=/bin/systemctl start ntpd.service
2021-03-30T19:11:31Z DEBUG Process finished, return code=0
2021-03-30T19:11:31Z DEBUG stdout=
2021-03-30T19:11:31Z DEBUG stderr=
2021-03-30T19:11:31Z DEBUG Starting external process
2021-03-30T19:11:31Z DEBUG args=/bin/systemctl is-active ntpd.service
2021-03-30T19:11:31Z DEBUG Process finished, return code=0
2021-03-30T19:11:31Z DEBUG stdout=active
2021-03-30T19:11:31Z DEBUG stderr=
2021-03-30T19:11:31Z DEBUG Start of ntpd.service complete
2021-03-30T19:11:31Z DEBUG duration: 0 seconds
2021-03-30T19:11:31Z DEBUG Done configuring NTP daemon (ntpd).
2021-03-30T19:11:31Z DEBUG Loading StateFile from
'/var/lib/ipa/sysrestore/sysrestore.state'
2021-03-30T19:11:31Z DEBUG Configuring directory server (dirsrv). Estimated time: 30
seconds
2021-03-30T19:11:31Z DEBUG [1/45]: creating directory server instance
2021-03-30T19:11:31Z DEBUG Loading StateFile from
'/var/lib/ipa/sysrestore/sysrestore.state'
2021-03-30T19:11:31Z DEBUG Saving StateFile to
'/var/lib/ipa/sysrestore/sysrestore.state'
2021-03-30T19:11:31Z DEBUG Backing up system configuration file
'/etc/sysconfig/dirsrv'
2021-03-30T19:11:31Z DEBUG Saving Index File to
'/var/lib/ipa/sysrestore/sysrestore.index'
2021-03-30T19:11:31Z DEBUG
dn: dc=example,dc=domain
objectClass: top
objectClass: domain
objectClass: pilotObject
dc: example
info: IPA V2.0
2021-03-30T19:11:31Z DEBUG writing inf template
2021-03-30T19:11:31Z DEBUG
[General]
FullMachineName= serv.example.domain
SuiteSpotUserID= dirsrv
SuiteSpotGroup= dirsrv
ServerRoot= /usr/lib64/dirsrv
[slapd]
ServerPort= 389
ServerIdentifier= EXAMPLE-DOMAIN
Suffix= dc=example,dc=domain
RootDN= cn=Directory Manager
InstallLdifFile= /var/lib/dirsrv/boot.ldif
inst_dir= /var/lib/dirsrv/scripts-EXAMPLE-DOMAIN
2021-03-30T19:11:31Z DEBUG calling setup-ds.pl
2021-03-30T19:11:31Z DEBUG Starting external process
2021-03-30T19:11:31Z DEBUG args=/usr/sbin/setup-ds.pl --silent --logfile - -f
/tmp/tmp_Z6Bop
2021-03-30T19:21:33Z DEBUG Process finished, return code=1
2021-03-30T19:21:33Z DEBUG stdout=Process returned 1280
[21/03/30:19:21:33] - [Setup] Info Could not start the directory server using command
'/bin/systemctl start dirsrv(a)EXAMPLE-DOMAIN.service'. The last line from the
error log was '[30/Mar/2021:19:11:32.950196247 +0000] - INFO - import_main_offline -
import userRoot: Import complete. Processed 1 entries in 1 seconds. (1.00 entries/sec)
'. Error: Unknown error 1280
Could not start the directory server using command '/bin/systemctl start
dirsrv(a)EXAMPLE-DOMAIN.service'. The last line from the error log was
'[30/Mar/2021:19:11:32.950196247 +0000] - INFO - import_main_offline - import
userRoot: Import complete. Processed 1 entries in 1 seconds. (1.00 entries/sec)
'. Error: Unknown error 1280
[21/03/30:19:21:33] - [Setup] Fatal Error: Could not create directory server instance
'EXAMPLE-DOMAIN'.
Error: Could not create directory server instance 'EXAMPLE-DOMAIN'.
[21/03/30:19:21:33] - [Setup] Fatal Exiting . . .
Log file is '-'
Exiting . . .
Log file is '-'
2021-03-30T19:21:33Z DEBUG stderr=Process returned 1280
2021-03-30T19:21:33Z DEBUG Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line
567, in start_creation
run_step(full_msg, method)
File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line
557, in run_step
method()
File "/usr/lib/python2.7/site-packages/ipaserver/install/dsinstance.py",
line 587, in __create_instance
raise RuntimeError("failed to create DS instance %s" % e)
RuntimeError: failed to create DS instance Command '/usr/sbin/setup-ds.pl --silent
--logfile - -f /tmp/tmp_Z6Bop' returned non-zero exit status 1
2021-03-30T19:21:33Z DEBUG [error] RuntimeError: failed to create DS instance Command
'/usr/sbin/setup-ds.pl --silent --logfile - -f /tmp/tmp_Z6Bop' returned non-zero
exit status 1
2021-03-30T19:21:33Z DEBUG File
"/usr/lib/python2.7/site-packages/ipapython/admintool.py", line 178, in
execute
return_value = self.run()
File "/usr/lib/python2.7/site-packages/ipapython/install/cli.py", line 319,
in run
return cfgr.run()
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 360,
in run
return self.execute()
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 386,
in execute
for rval in self._executor():
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 431,
in __runner
exc_handler(exc_info)
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 460,
in _handle_execute_exception
self._handle_exception(exc_info)
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 450,
in _handle_exception
six.reraise(*exc_info)
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 421,
in __runner
step()
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 418,
in <lambda>
step = lambda: next(self.__gen)
File "/usr/lib/python2.7/site-packages/ipapython/install/util.py", line 81,
in run_generator_with_yield_from
six.reraise(*exc_info)
File "/usr/lib/python2.7/site-packages/ipapython/install/util.py", line 59,
in run_generator_with_yield_from
value = gen.send(prev_value)
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 655,
in _configure
next(executor)
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 431,
in __runner
exc_handler(exc_info)
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 460,
in _handle_execute_exception
self._handle_exception(exc_info)
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 518,
in _handle_exception
self.__parent._handle_exception(exc_info)
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 450,
in _handle_exception
six.reraise(*exc_info)
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 515,
in _handle_exception
super(ComponentBase, self)._handle_exception(exc_info)
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 450,
in _handle_exception
six.reraise(*exc_info)
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 421,
in __runner
step()
File "/usr/lib/python2.7/site-packages/ipapython/install/core.py", line 418,
in <lambda>
step = lambda: next(self.__gen)
File "/usr/lib/python2.7/site-packages/ipapython/install/util.py", line 81,
in run_generator_with_yield_from
six.reraise(*exc_info)
File "/usr/lib/python2.7/site-packages/ipapython/install/util.py", line 59,
in run_generator_with_yield_from
value = gen.send(prev_value)
File "/usr/lib/python2.7/site-packages/ipapython/install/common.py", line
65, in _install
for unused in self._installer(self.parent):
File
"/usr/lib/python2.7/site-packages/ipaserver/install/server/__init__.py", line
590, in main
master_install(self)
File "/usr/lib/python2.7/site-packages/ipaserver/install/server/install.py",
line 250, in decorated
func(installer)
File "/usr/lib/python2.7/site-packages/ipaserver/install/server/install.py",
line 783, in install
setup_pkinit=not options.no_pkinit)
File "/usr/lib/python2.7/site-packages/ipaserver/install/dsinstance.py",
line 346, in create_instance
self.start_creation(runtime=30)
File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line
567, in start_creation
run_step(full_msg, method)
File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line
557, in run_step
method()
File "/usr/lib/python2.7/site-packages/ipaserver/install/dsinstance.py",
line 587, in __create_instance
raise RuntimeError("failed to create DS instance %s" % e)
2021-03-30T19:21:33Z DEBUG The ipa-server-install command failed, exception:
RuntimeError: failed to create DS instance Command '/usr/sbin/setup-ds.pl --silent
--logfile - -f /tmp/tmp_Z6Bop' returned non-zero exit status 1
2021-03-30T19:21:33Z ERROR failed to create DS instance Command
'/usr/sbin/setup-ds.pl --silent --logfile - -f /tmp/tmp_Z6Bop' returned non-zero
exit status 1
Uninstall log:
[root@serv scripts-EXAMPLE-DOMAIN]# ipa-server-install --uninstall
This is a NON REVERSIBLE operation and will delete all data and configuration!
It is highly recommended to take a backup of existing data and configuration using
ipa-backup utility before proceeding.
Are you sure you want to continue with the uninstall procedure? [no]: yes
WARNING: Failed to connect to Directory Server to find information about
replication agreements. Uninstallation will continue despite the possible
existing replication agreements.
If this server is the last instance of CA,
KRA, or DNSSEC master, uninstallation may result in data loss.
Are you sure you want to continue with the uninstall procedure? [no]: yes
Shutting down all IPA services
Unconfiguring ntpd
Configuring certmonger to stop tracking system certificates for KRA
Configuring certmonger to stop tracking system certificates for CA
Unconfiguring directory server
ipaserver.install.dsinstance: ERROR Unable to find server cert nickname in
/etc/dirsrv/slapd-EXAMPLE-DOMAIN/dse.ldif
Removing IPA client configuration
Unconfigured automount client failed: Command '/usr/sbin/ipa-client-automount
--uninstall --debug' returned non-zero exit status 1
Removing Kerberos service principals from /etc/krb5.keytab
Disabling client Kerberos and LDAP configurations
IPA domain could not be found in /etc/sssd/sssd.conf and therefore not deleted
Other domains than IPA domain found, IPA domain was removed from /etc/sssd/sssd.conf.
nscd daemon is not installed, skip configuration
nslcd daemon is not installed, skip configuration
Client uninstall complete.
The ipa-client-install command was successful
Thanks in advance in looking at this.
_______________________________________________
FreeIPA-users mailing list -- freeipa-users(a)lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave(a)lists.fedorahosted.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedoraho...
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure