
hello, I have running xntpd daemon. But clocks are not synchronized with ntp server. When xntpd is running I cannot run ntpdate: 1 Nov 11:05:36 ntpdate[12922]: the NTP socket is in use, exiting How can I setup every hour synchronization from another ntp server??? thanks, miso

Michal Hlavac wrote:
1) You run ntpdate once an hour, triggered by cron or 2) you keep running xntpd as you do now and only use ntpdate at boot-up /Per Jessen, Zürich -- http://www.spamchek.co.uk/ - managed anti-spam and anti-virus solution. For government, businesses and individuals.

Am Dienstag 01 November 2005 11:09 schrieb Michal Hlavac <michal.hlavac@dactos.com>:
Hi Michal, just wait 2 or 3 minutes and retry. The socket should be free than.
How can I setup every hour synchronization from another ntp server???
No ntp daemon needed: # crontab -l >$$;echo "* 42 * * * /usr/sbin/ntpdate -su ntp1.ptb.de">>$$;crontab $$;rm $$ With ntp daemon: # rcntpd stop # vi /etc/ntp.conf there should be a line starting with 'server', e.g. server ntp1.ptb.de # rcntpd start # ntpq -p this lists your peers -- mdc
participants (4)
-
meister@netz00.com
-
Michal Hlavac
-
Per Jessen
-
Philipp Thomas