Try to enable IPv6 and re-run ipa-server-install.

On Tue, Sep 26, 2017 at 12:39 PM, Mathew Vandystadt via FreeIPA-users <freeipa-users@lists.fedorahosted.org> wrote:
Hello,

I'm having problems with the installation of freeipa on a fresh centos 7 box. The installation always fails on [6/45]: starting directory server. I do see that the daemon is up and that its listening on localhost. My audit logs are ok and I get the same result with selinux in permissive mode. There seems to be a problem with the ldap daemon after the initial configuration.

Thanks

Installation logs:
017-09-25T21:38:16Z DEBUG   [6/45]: starting directory server
2017-09-25T21:38:16Z DEBUG Starting external process
2017-09-25T21:38:16Z DEBUG args=/bin/systemctl start dirsrv@MYDOMAIN.service
2017-09-25T21:38:17Z DEBUG Process finished, return code=0
2017-09-25T21:38:17Z DEBUG stdout=
2017-09-25T21:38:17Z DEBUG stderr=
2017-09-25T21:38:17Z DEBUG Starting external process
2017-09-25T21:38:17Z DEBUG args=/bin/systemctl is-active dirsrv@MYDOMAIN.service
2017-09-25T21:38:17Z DEBUG Process finished, return code=0
2017-09-25T21:38:17Z DEBUG stdout=active
2017-09-25T21:38:17Z DEBUG stderr=
2017-09-25T21:38:17Z DEBUG wait_for_open_ports: localhost [389] timeout 300
2017-09-25T21:43:17Z DEBUG Traceback (most recent call last):

dirsrv access logs:
[25/Sep/2017:17:43:07.606371827 -0400] conn=291 fd=64 slot=64 connection from 127.0.0.1 to 127.0.0.1
[25/Sep/2017:17:43:07.606484146 -0400] conn=291 op=-1 fd=64 closed - B1
[25/Sep/2017:17:43:08.608386567 -0400] conn=292 fd=64 slot=64 connection from 127.0.0.1 to 127.0.0.1
[25/Sep/2017:17:43:08.608537683 -0400] conn=292 op=-1 fd=64 closed - B1
[25/Sep/2017:17:43:09.610325914 -0400] conn=293 fd=64 slot=64 connection from 127.0.0.1 to 127.0.0.1
[25/Sep/2017:17:43:09.610426954 -0400] conn=293 op=-1 fd=64 closed - B1
[25/Sep/2017:17:43:10.612250521 -0400] conn=294 fd=64 slot=64 connection from 127.0.0.1 to 127.0.0.1
[25/Sep/2017:17:43:10.612362078 -0400] conn=294 op=-1 fd=64 closed - B1
[25/Sep/2017:17:43:11.614026066 -0400] conn=295 fd=64 slot=64 connection from 127.0.0.1 to 127.0.0.1
[25/Sep/2017:17:43:11.614107541 -0400] conn=295 op=-1 fd=64 closed - B1
[25/Sep/2017:17:43:12.616101124 -0400] conn=296 fd=64 slot=64 connection from 127.0.0.1 to 127.0.0.1
[25/Sep/2017:17:43:12.616200037 -0400] conn=296 op=-1 fd=64 closed - B1
[25/Sep/2017:17:43:13.617882733 -0400] conn=297 fd=64 slot=64 connection from 127.0.0.1 to 127.0.0.1
[25/Sep/2017:17:43:13.617985060 -0400] conn=297 op=-1 fd=64 closed - B1
[25/Sep/2017:17:43:14.619732290 -0400] conn=298 fd=64 slot=64 connection from 127.0.0.1 to 127.0.0.1
[25/Sep/2017:17:43:14.619876088 -0400] conn=298 op=-1 fd=64 closed - B1
[25/Sep/2017:17:43:15.621493992 -0400] conn=299 fd=64 slot=64 connection from 127.0.0.1 to 127.0.0.1
[25/Sep/2017:17:43:15.621573126 -0400] conn=299 op=-1 fd=64 closed - B1
[25/Sep/2017:17:43:16.623358799 -0400] conn=300 fd=64 slot=64 connection from 127.0.0.1 to 127.0.0.1
[25/Sep/2017:17:43:16.623456716 -0400] conn=300 op=-1 fd=64 closed - B1
[25/Sep/2017:17:43:17.625111898 -0400] conn=301 fd=64 slot=64 connection from 127.0.0.1 to 127.0.0.1
[25/Sep/2017:17:43:17.625196358 -0400] conn=301 op=-1 fd=64 closed - B1

dirsrv error logs:
[25/Sep/2017:17:38:15.521393910 -0400] - INFO - slapd_daemon - slapd started.  Listening on All Interfaces port 389 for LDAP requests
[25/Sep/2017:17:38:15.589204700 -0400] - INFO - postop_modify_config_dse - The change of nsslapd-ldapilisten will not take effect until the server is restarted
[25/Sep/2017:17:38:15.679382495 -0400] - INFO - op_thread_cleanup - slapd shutting down - signaling operation threads - op stack size 1 max work q size 1 max work q stack size 1
[25/Sep/2017:17:38:15.681271086 -0400] - INFO - slapd_daemon - slapd shutting down - waiting for 14 threads to terminate
[25/Sep/2017:17:38:15.682461202 -0400] - INFO - slapd_daemon - slapd shutting down - closing down internal subsystems and plugins
[25/Sep/2017:17:38:15.688537034 -0400] - INFO - dblayer_pre_close - Waiting for 4 database threads to stop
[25/Sep/2017:17:38:16.398165344 -0400] - INFO - dblayer_pre_close - All database threads now stopped
[25/Sep/2017:17:38:16.405905222 -0400] - INFO - ldbm_back_instance_set_destructor - Set of instances destroyed
[25/Sep/2017:17:38:16.408961140 -0400] - INFO - connection_post_shutdown_cleanup - slapd shutting down - freed 1 work q stack objects - freed 1 op stack objects
[25/Sep/2017:17:38:16.521431280 -0400] - INFO - main - slapd stopped.
[25/Sep/2017:17:38:16.783464475 -0400] - INFO - main - 389-Directory/1.3.6.1 B2017.249.1616 starting up
[25/Sep/2017:17:38:16.795854380 -0400] - INFO - ldbm_instance_config_cachememsize_set - force a minimal value 512000
[25/Sep/2017:17:38:16.805586585 -0400] - NOTICE - ldbm_back_start - found 3882072k physical memory
[25/Sep/2017:17:38:16.807181104 -0400] - NOTICE - ldbm_back_start - found 866472k available
[25/Sep/2017:17:38:16.808666579 -0400] - NOTICE - ldbm_back_start - cache autosizing: db cache: 155282k
[25/Sep/2017:17:38:16.809929384 -0400] - NOTICE - ldbm_back_start - cache autosizing: userRoot entry cache (1 total): 262144k
[25/Sep/2017:17:38:16.814989583 -0400] - NOTICE - ldbm_back_start - total cache size: 412420406 B;
[25/Sep/2017:17:38:16.817344364 -0400] - NOTICE - dblayer_start - Resizing max db lock count: 10000 -> 50000
[25/Sep/2017:17:38:17.011113138 -0400] - INFO - slapd_daemon - slapd started.  Listening on All Interfaces port 389 for LDAP requests
[25/Sep/2017:17:38:17.022249715 -0400] - INFO - slapd_daemon - Listening on /var/run/MYDOMAIN.socket for LDAPI requests
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org