Besides checking your hosts file, also double-check that localhost actually
has an ipv6 address.

On 22 September 2017 at 07:43, Maciej Drobniuch via FreeIPA-users <
freeipa-users@lists.fedorahosted.org> wrote:

> Hey Eric,
>
> To me looks like either the /etc/hosts file is wrongly configured/dns
> server is not set to ipa or ipa ports are not open.
>
> M.
>
> On Wed, Sep 20, 2017 at 5:30 PM, Eric Scholwin via FreeIPA-users <
> freeipa-users@lists.fedorahosted.org> wrote:
>
>> Foolishly, I blew up my entire 4.4 on Centos 7.4 environment and I'm
>> trying to get 4.5 working on 7.4. I've been hitting the same exact problem
>> while trying to install freeipa 4.5 on centos 7.4 from scratch and that's
>> at step 6/45 "starting directory server". The following message is what I
>> get hung up on during the installation and I'm at a complete loss as to
>> what's going on.
>>
>> DEBUG wait_for_open_ports: localhost [389] timeout 300
>>
>> I, like many others, had ipv6 disabled, but I've re-enabled it, and I'm
>> still running into issues.
>>
>> This is what my ipaserver-install.log looks like, it fails at this
>> samespot every single time:
>>
>> 2017-09-20T15:14:48Z DEBUG wait_for_open_ports: localhost [389] timeout
>> 300
>> 2017-09-20T15:19:49Z DEBUG Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py",
>> line 504, in start_creation
>>     run_step(full_msg, method)
>>   File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py",
>> line 494, in run_step
>>     method()
>>   File "/usr/lib/python2.7/site-packages/ipaserver/install/dsinstance.py",
>> line 651, in __start_instance
>>     self.start(self.serverid)
>>   File "/usr/lib/python2.7/site-packages/ipaserver/install/dsinstance.py",
>> line 627, in start
>>     super(DsInstance, self).start(*args, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py",
>> line 401, in start
>>     self.service.start(instance_name, capture_output=capture_output,
>> wait=wait)
>>   File "/usr/lib/python2.7/site-packages/ipaplatform/redhat/services.py",
>> line 157, in start
>>     instance_name, capture_output=capture_output, wait=wait)
>>   File "/usr/lib/python2.7/site-packages/ipaplatform/base/services.py",
>> line 300, in start
>>     self.wait_for_open_ports(self.service_instance(instance_name))
>>   File "/usr/lib/python2.7/site-packages/ipaplatform/base/services.py",
>> line 270, in wait_for_open_ports
>>     self.api.env.startup_timeout)
>>   File "/usr/lib/python2.7/site-packages/ipapython/ipautil.py", line
>> 1227, in wait_for_open_ports
>>     raise socket.timeout("Timeout exceeded")
>> timeout: Timeout exceeded
>>
>> 2017-09-20T15:19:49Z DEBUG   [error] timeout: Timeout exceeded
>> 2017-09-20T15:19:49Z DEBUG   File 
>> "/usr/lib/python2.7/site-packages/ipapython/admintool.py",
>> line 172, in execute
>>     return_value = self.run()
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/cli.py", line
>> 333, in run
>>     cfgr.run()
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 368, in run
>>     self.execute()
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 392, in execute
>>     for _nothing in self._executor():
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 434, in __runner
>>     exc_handler(exc_info)
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 463, in _handle_execute_exception
>>     self._handle_exception(exc_info)
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 453, in _handle_exception
>>     six.reraise(*exc_info)
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 424, in __runner
>>     step()
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 421, 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 658, in _configure
>>     next(executor)
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 434, in __runner
>>     exc_handler(exc_info)
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 463, in _handle_execute_exception
>>     self._handle_exception(exc_info)
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 521, in _handle_exception
>>     self.__parent._handle_exception(exc_info)
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 453, in _handle_exception
>>     six.reraise(*exc_info)
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 518, in _handle_exception
>>     super(ComponentBase, self)._handle_exception(exc_info)
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 453, in _handle_exception
>>     six.reraise(*exc_info)
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 424, in __runner
>>     step()
>>   File "/usr/lib/python2.7/site-packages/ipapython/install/core.py",
>> line 421, 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 63, in _install
>>     for _nothing in self._installer(self.parent):
>>   File 
>> "/usr/lib/python2.7/site-packages/ipaserver/install/server/__init__.py",
>> line 578, in main
>>     master_install(self)
>>   File 
>> "/usr/lib/python2.7/site-packages/ipaserver/install/server/install.py",
>> line 248, in decorated
>>     func(installer)
>>   File 
>> "/usr/lib/python2.7/site-packages/ipaserver/install/server/install.py",
>> line 758, in install
>>     setup_pkinit=not options.no_pkinit)
>>   File "/usr/lib/python2.7/site-packages/ipaserver/install/dsinstance.py",
>> line 344, in create_instance
>>     self.start_creation(runtime=30)
>>   File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py",
>> line 504, in start_creation
>>     run_step(full_msg, method)
>>   File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py",
>> line 494, in run_step
>>     method()
>>   File "/usr/lib/python2.7/site-packages/ipaserver/install/dsinstance.py",
>> line 651, in __start_instance
>>     self.start(self.serverid)
>>   File "/usr/lib/python2.7/site-packages/ipaserver/install/dsinstance.py",
>> line 627, in start
>>     super(DsInstance, self).start(*args, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py",
>> line 401, in start
>>     self.service.start(instance_name, capture_output=capture_output,
>> wait=wait)
>>   File "/usr/lib/python2.7/site-packages/ipaplatform/redhat/services.py",
>> line 157, in start
>>     instance_name, capture_output=capture_output, wait=wait)
>>   File "/usr/lib/python2.7/site-packages/ipaplatform/base/services.py",
>> line 300, in start
>>     self.wait_for_open_ports(self.service_instance(instance_name))
>>   File "/usr/lib/python2.7/site-packages/ipaplatform/base/services.py",
>> line 270, in wait_for_open_ports
>>     self.api.env.startup_timeout)
>>   File "/usr/lib/python2.7/site-packages/ipapython/ipautil.py", line
>> 1227, in wait_for_open_ports
>>     raise socket.timeout("Timeout exceeded")
>>
>> 2017-09-20T15:19:49Z DEBUG The ipa-server-install command failed,
>> exception: timeout: Timeout exceeded
>> 2017-09-20T15:19:49Z ERROR Timeout exceeded
>> 2017-09-20T15:19:49Z ERROR The ipa-server-install command failed. See
>> /var/log/ipaserver-install.log for more information
>> _______________________________________________
>> FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
>> To unsubscribe send an email to freeipa-users-le...@lists.fedo
>> rahosted.org
>>
>
>
>
> --
> Best regards
>
> Maciej Drobniuch
> Network Security Engineer
> Collective-Sense,LLC
>
> _______________________________________________
> FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
> To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
>
>


-- 
Tiemen Ruiten
Systems Engineer
R&D Media
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org

Reply via email to