[systemd-devel] Failed to restart ntpd

Reindl Harald h.reindl at thelounge.net
Thu May 12 08:51:05 UTC 2016


Am 12.05.2016 um 09:17 schrieb liuxueping:
> Hi:
> It failed when i restarted ntpd service,the log showed:ntpd[3163]:
> unable to bind to wildcard address 0.0.0.0 - another process may be
> running - EXITING,and the ps command result showed:
> ntp       3993  0.0  0.0      0     0 ?        Ds   10:21   0:00 [ntpd]
> root      3995  0.0  0.0      0     0 ?        Z    10:21   0:00 [ntpd]
> <defunct>
> Maybe it failed because a ntpd process was still in system when started
> a new ntpd service.If so, how does systemctl judge that a process is
> over and start a new process?

most likely the running one was not started by ntpd.service and hence is 
also not killed by systemctl - systemd is not a blind butcher like 
shell-scripts - it *knows* which processes are part of a 
service/service-group

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160512/af239a32/attachment.sig>


More information about the systemd-devel mailing list