ntpdate

Patrick Dupre Patrick.Dupre at univ-littoral.fr
Tue Mar 12 11:15:06 UTC 2013


Hello,

ntpdate does not start:


systemctl status ntpdate.service
ntpdate.service - Set time via NTP
	  Loaded: loaded (/usr/lib/systemd/system/ntpdate.service; enabled)
	  Active: failed (Result: exit-code) since Tue 2013-03-12 12:09:13  
CET; 1min 13s ago
	 Process: 2938 ExecStart=/usr/libexec/ntpdate-wrapper (code=exited,  
status=1/FAILURE)

Mar 12 12:08:43 Homere systemd[1]: Starting Set time via NTP...
Mar 12 12:09:13 Homere systemd[1]: ntpdate.service: main process  
exited, co...RE
Mar 12 12:09:13 Homere systemd[1]: Failed to start Set time via NTP.
Mar 12 12:09:13 Homere systemd[1]: Unit ntpdate.service entered failed state

journalctl -xn
-- Logs begin at Tue 2013-03-12 11:59:55 CET, end at Tue 2013-03-12  
12:11:01 CET
Mar 12 12:09:25 Homere ntpd[2968]: peers refreshed
Mar 12 12:09:25 Homere ntpd[2968]: Listening on routing socket on fd  
#22 for int
Mar 12 12:09:25 Homere ntpd[2968]: 0.0.0.0 c016 06 restart
Mar 12 12:09:25 Homere ntpd[2968]: 0.0.0.0 c012 02 freq_set kernel 13.019 PPM
Mar 12 12:09:36 Homere ntpd[2968]: 0.0.0.0 c615 05 clock_sync
Mar 12 12:11:01 Homere CROND[3087]: (root) CMD (run-parts /etc/cron.hourly)
Mar 12 12:11:01 Homere run-parts(/etc/cron.hourly)[3090]: starting 0anacron
Mar 12 12:11:01 Homere run-parts(/etc/cron.hourly)[3096]: finished 0anacron
Mar 12 12:11:01 Homere run-parts(/etc/cron.hourly)[3098]: starting mcelog.cron
Mar 12 12:11:01 Homere run-parts(/etc/cron.hourly)[3102]: finished mcelog.cron



To have it starting when booting, should I just enable the service?

Thank.


-- 
======================================================================
  Patrick DUPRÉ                          | |  email: pdupre at kegtux.org
  Laboratoire de Physico-Chimie de l'Atmosphère
  Université du Littoral-Côte d'Opale      | |
  Tel.  (33)-(0)3 28 23 76 12              | | Fax: 03 28 65 82 44
  189A, avenue Maurice Schumann            | | 59140 Dunkerque, France
======================================================================




More information about the users mailing list