ntp

Patrick Dupre patrick.dupre at york.ac.uk
Mon Feb 27 22:41:44 UTC 2012


On Mon, 27 Feb 2012, Patrick Dupre wrote:

> On Mon, 27 Feb 2012, Patrick Dupre wrote:
>
>> On Mon, 27 Feb 2012, Michael Cronenworth wrote:
>> 
>>> Patrick Dupre wrote:
>>>> My machine (fedora 16) does not synchronize its time.
>>>> ntpd is running, but ntpdate 0.fedora.pool.ntp.org
>>>> generate an error:
>>>> 27 Feb 21:44:29 ntpdate[3184]: the NTP socket is in use, exiting
>>> 
>>> Is chrony running?
>>> 
>>> $ systemctl status chrony.service
>>> 
>>> If it is, you cannot run ntp and chrony at the same time.
>>> 
>>> ntp has been deprecated in favor of chrony in Fedora 16.
>>> http://fedoraproject.org/wiki/Features/ChronyDefaultNTP
>>> 
>> OK,
>> But:
>> 
>> Redirecting to /bin/systemctl  restart chrony.service
>> Failed to issue method call: Unit chrony.service failed to load: No such 
>> file or directory. See system logs and 'systemctl status chrony.service' 
>> for details.
>> 
> systemctl  status chrony.service
> 	  Loaded: error (Reason: No such file or directory)
> 	  Active: inactive (dead)
>
>
OK, now
systemctl enable chronyd.service
[root at Homere ~]# systemctl status chronyd.service
chronyd.service - NTP client/server
 	  Loaded: loaded (/lib/systemd/system/chronyd.service; enabled)
 	  Active: active (running) since Mon, 27 Feb 2012 22:18:51 +0100; 
19min ago
 	Main PID: 3703 (chronyd)
 	  CGroup: name=systemd:/system/chronyd.service
 		  └ 3703 /usr/sbin/chronyd -u chrony

But still not on time

-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |  Phone: (44)-(0)-1904-434384
  The University of York             |   |  Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |  email: patrick.dupre at york.ac.uk
==========================================================================


More information about the users mailing list