#3565 ipa-server install fails because ntp service fails to start
Closed: Invalid None Opened 10 years ago by nkrishnan.

ipa-server install fails, and have to use --no-ntp to work around the error below.

installed freeipa-server using cmd:
ipa-server-install  --setup-dns --forwarder=xx.xx.xxx.xx

this fails, and log has:
<snip>
2013-04-15T16:03:36Z DEBUG   [4/4]: starting ntpd
2013-04-15T16:03:36Z DEBUG Starting external process
2013-04-15T16:03:36Z DEBUG args=/bin/systemctl start ntpd.service
2013-04-15T16:03:36Z DEBUG Process finished, return code=1
2013-04-15T16:03:36Z DEBUG stdout=
2013-04-15T16:03:36Z DEBUG stderr=Job for ntpd.service failed. See 'systemctl status ntpd.service' and 'journalctl -xn' for details.

2013-04-15T16:03:36Z INFO   File "/usr/lib/python2.7/site-packages/ipaserver/install/installutils.py", line 613, in run_script
    return_value = main_function()

  File "/usr/sbin/ipa-server-install", line 985, in main
    ntp.create_instance()

  File "/usr/lib/python2.7/site-packages/ipaserver/install/ntpinstance.py", line 157, in create_instance
    self.start_creation()

  File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 359, in start_creation
    method()

  File "/usr/lib/python2.7/site-packages/ipaserver/install/ntpinstance.py", line 141, in __start
    self.start()

  File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 266, in start
    self.service.start(instance_name, capture_output=capture_output, wait=wait)

  File "/usr/lib/python2.7/site-packages/ipapython/platform/base/systemd.py", line 104, in start
    ipautil.run(["/bin/systemctl", "start", self.service_instance(instance_name)], capture_output=capture_output)

  File "/usr/lib/python2.7/site-packages/ipapython/ipautil.py", line 322, in run
    raise CalledProcessError(p.returncode, arg_string)

2013-04-15T16:03:36Z INFO The ipa-server-install command failed, exception: CalledProcessError: Command '/bin/systemctl start ntpd.service' returned non-zero exit status 1



# service ntpd status
Redirecting to /bin/systemctl status  ntpd.service
ntpd.service - Network Time Service
      Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
      Active: failed (Result: exit-code) since Mon 2013-04-15 12:03:36 EDT; 6min ago
     Process: 30051 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS (code=exited, status=127)

Apr 15 12:03:36 qe-blade-03.testrelm.com systemd[1]: Starting Network Time Service...
Apr 15 12:03:36 qe-blade-03.testrelm.com ntpd[30051]: /usr/sbin/ntpd: error while loading shared libraries: libopts.so.25: cannot open shared object file: No such file or directory
Apr 15 12:03:36 qe-blade-03.testrelm.com systemd[1]: ntpd.service: control process exited, code=exited status=127
Apr 15 12:03:36 qe-blade-03.testrelm.com systemd[1]: Failed to start Network Time Service.
Apr 15 12:03:36 qe-blade-03.testrelm.com systemd[1]: Unit ntpd.service entered failed state


Version used:
freeipa-server-3.1.99-0.20130412T1807Zgitb8b573a.fc18.x86_64

Not sure how this was installed but there are a bunch of unsatisfied dependencies. The missing dependency in this case is autogen-libopts which provides libopts.so.25.

This doesn't look like an ntp or ipa problem though.

#  rpm -V -a
S.5....T.  c /etc/login.defs
Unsatisfied dependencies for redhat-lsb-core-4.1-10.fc18.x86_64:
        /usr/bin/pax is needed by (installed) redhat-lsb-core-4.1-10.fc18.x86_64
.M.......    /sys
Unsatisfied dependencies for yum-3.4.3-54.fc18.noarch:
        pyxattr is needed by (installed) yum-3.4.3-54.fc18.noarch
S.5....T.  c /etc/libreport/plugins/mailx.conf
S.5....T.  c /etc/sysconfig/init
Unsatisfied dependencies for redhat-lsb-languages-4.1-10.fc18.x86_64:
        perl(Class::ISA) is needed by (installed) redhat-lsb-languages-4.1-10.fc18.x86_64
        perl(Pod::Plainer) is needed by (installed) redhat-lsb-languages-4.1-10.fc18.x86_64
Unsatisfied dependencies for ntp-4.2.6p5-8.fc18.x86_64:
        libopts.so.25()(64bit) is needed by (installed) ntp-4.2.6p5-8.fc18.x86_64
S.5....T.  c /etc/sysconfig/ntpd
S.5....T.  c /etc/libuser.conf
S.5....T.  c /etc/beah.conf
S.5....T.  c /etc/beah_beaker.conf
Unsatisfied dependencies for emacs-common-1:24.2-6.fc18.x86_64:
        liblockfile.so.1()(64bit) is needed by (installed) emacs-common-1:24.2-6.fc18.x86_64
S.5....T.  c /etc/abrt/abrt-action-save-package-data.conf
.....U...    /var/cache/tomcat6/temp
.....U...    /var/cache/tomcat6/work
....L....  c /etc/pam.d/fingerprint-auth
....L....  c /etc/pam.d/password-auth
....L....  c /etc/pam.d/postlogin
....L....  c /etc/pam.d/smartcard-auth
....L....  c /etc/pam.d/system-auth
.M.......    /run/svnserve
missing     /var/run/wpa_supplicant
S.5....T.  c /etc/openldap/ldap.conf
Unsatisfied dependencies for redhat-lsb-desktop-4.1-10.fc18.x86_64:
        qt3(x86-64) is needed by (installed) redhat-lsb-desktop-4.1-10.fc18.x86_64
Unsatisfied dependencies for emacs-1:24.2-6.fc18.x86_64:
        libotf.so.0()(64bit) is needed by (installed) emacs-1:24.2-6.fc18.x86_64
S.5....T.  c /etc/maven/maven2-depmap.xml

Not sure how we can help here as this installation should not be possible. Closing ticket.

Metadata Update from @nkrishnan:
- 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