#3581 ipa-server-install says: error: [Errno 110] Connection timed out
Closed: Fixed None Opened 11 years ago by rcritten.

Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 953957

freeipa-server-3.2.0-0.2.beta1.fc19

# ipa-server-install --setup-dns
2013-04-19T14:27:37Z DEBUG Loading StateFile from
'/var/lib/ipa/sysrestore/sysrestore.state'
2013-04-19T14:27:37Z DEBUG Loading Index file from
'/var/lib/ipa/sysrestore/sysrestore.index'
2013-04-19T14:27:37Z DEBUG httpd is not configured
2013-04-19T14:27:37Z DEBUG kadmin is not configured
2013-04-19T14:27:37Z DEBUG dirsrv is not configured
2013-04-19T14:27:37Z DEBUG pki-cad is not configured
2013-04-19T14:27:37Z DEBUG pki-tomcatd is not configured
2013-04-19T14:27:37Z DEBUG install is not configured
2013-04-19T14:27:37Z DEBUG krb5kdc is not configured
2013-04-19T14:27:37Z DEBUG ntpd is not configured
2013-04-19T14:27:37Z DEBUG named is not configured
2013-04-19T14:27:37Z DEBUG ipa_memcached is not configured
2013-04-19T14:27:37Z DEBUG filestore is tracking no files
2013-04-19T14:27:37Z DEBUG Loading Index file from
'/var/lib/ipa-client/sysrestore/sysrestore.index'
2013-04-19T14:27:37Z DEBUG /sbin/ipa-server-install was invoked with options:
{'zone_refresh': 0, 'reverse_zone': None, 'setup_pkinit': True, 'mkhomedir':
False, 'create_sshfp': True, 'conf_sshd': True, 'conf_ntp': True, 'subject':
None, 'no_forwarders': False, 'persistent_search': True, 'ui_redirect': True,
'domain_name': None, 'idmax': 0, 'hbac_allow': False, 'no_reverse': False,
'dirsrv_pkcs12': None, 'unattended': False, 'pkinit_pkcs12': None,
'trust_sshfp': False, 'external_ca_file': None, 'no_host_dns': False,
'http_pkcs12': None, 'zone_notif': False, 'realm_name': None, 'forwarders':
None, 'idstart': 1981600000, 'external_ca': False, 'ip_address': None,
'conf_ssh': True, 'serial_autoincrement': True, 'zonemgr': None,
'root_ca_file': None, 'setup_dns': True, 'host_name': None, 'debug': False,
'external_cert_file': None, 'uninstall': False, 'pkinit_pin': None}
2013-04-19T14:27:37Z DEBUG missing options might be asked for interactively
later

2013-04-19T14:27:37Z DEBUG Loading Index file from
'/var/lib/ipa/sysrestore/sysrestore.index'
2013-04-19T14:27:37Z DEBUG Loading StateFile from
'/var/lib/ipa/sysrestore/sysrestore.state'
2013-04-19T14:27:37Z DEBUG Starting external process
2013-04-19T14:27:37Z DEBUG args=/bin/systemctl is-enabled chronyd.service
2013-04-19T14:27:37Z DEBUG Process finished, return code=0
2013-04-19T14:27:37Z DEBUG stdout=enabled

2013-04-19T14:27:37Z DEBUG stderr=
2013-04-19T14:27:40Z DEBUG Check if dc.gorn.thewalter.lan is a primary hostname
for localhost
2013-04-19T14:27:40Z INFO   File
"/usr/lib/python2.7/site-packages/ipaserver/install/installutils.py", line 613,
in run_script
    return_value = main_function()

  File "/sbin/ipa-server-install", line 811, in main
    host_name = read_host_name(host_default,options.no_host_dns)

  File "/sbin/ipa-server-install", line 413, in read_host_name
    verify_fqdn(host_name,no_host_dns)

  File "/usr/lib/python2.7/site-packages/ipaserver/install/installutils.py",
line 124, in verify_fqdn
    ex_name = socket.gethostbyaddr(host_name)

2013-04-19T14:27:40Z INFO The ipa-server-install command failed, exception:
error: [Errno 110] Connection timed out
2013-04-19T14:27:40Z DEBUG Restoring system configuration file '/etc/hosts'

I wasn't able to reproduce the timeout error but I did reproduce this by clearing /etc/resolv.conf and /etc/hosts.

Metadata Update from @rcritten:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 3.2 - 2013/04-05 (GA)

7 years ago

Login to comment on this ticket.

Metadata