Am Dienstag 01 November 2005 11:09 schrieb Michal Hlavac 
<[EMAIL PROTECTED]>:
> 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

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to