[ntp:questions] Synchronizing contrived time

William Unruh unruh at invalid.ca
Mon Mar 10 19:09:25 UTC 2014


On 2014-03-10, Amit Dor-Shifer <amit.dor.shifer at gmail.com> wrote:
> Thanks guys.
> However, I can't get ntpd to process the above.
>
> amit at zelda:~/test_ntpd$ ps -ef |grep ntpd
> amit      2066  1868  0 21:39 pts/2    00:00:00 grep --color=auto ntpd
> amit at zelda:~/test_ntpd$ cat ~/test_ntpd/ntp.conf
> server 127.127.1.0 minpoll 4 maxpoll 4
> amit at zelda:~/test_ntpd$ /usr/sbin/openntpd -f ~/test_ntpd/ntp.conf
> /home/amit/test_ntpd/ntp.conf:1: syntax error

You are not running ntpd, your are running openntp, which is a different
program with different configuration files and commands. 


>
> amit at zelda:~/test_ntpd$ dpkg -S /usr/sbin/openntpd
> openntpd: /usr/sbin/openntpd
> amit at zelda:~/test_ntpd$ dpkg -l openntpd
> Desired=Unknown/Install/Remove/Purge/Hold
>|
> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
>|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>||/ Name           Version        Description
> +++-==============-==============-============================================
> ii  openntpd       3.9p1+debian-9 OpenBSD NTP daemon
>
> Amit
>



More information about the questions mailing list