[ntp:questions] Synchronizing contrived time

Per Hedeland per at hedeland.org
Tue Mar 11 21:45:23 UTC 2014

In article
<CAAznTxHZOPyu_dwCPvMye-WpaCMnMXZx3WK+rkgDPNuL0LwCxw at mail.gmail.com>
Amit Dor-Shifer <amit.dor.shifer at gmail.com> writes:
>$ cat ~/test_ntpd/ntp.conf
>server minpoll 4 maxpoll 4

>$ sudo ntpd -g -f ~/test_ntpd/ntp.conf

>Mar 11 19:54:06  ntpd[31081]: format error frequency file

$ man ntpd
     ntpd [-aAbDdgLmnPqx] [-c conffile] [-f driftfile] [-k keyfile]
          [-l logfile] [-p pidfile] [-r broadcastdelay] [-s statsdir] [-t key]
          [-v variable] [-V variable]

I.e. you need '-c' to give an alternate config file.

--Per Hedeland

More information about the questions mailing list