Amit Dor-Shifer <amit.dor.shi...@gmail.com> wrote:
> When overwriting /etc/ntp.conf with the suggested configuration, server can
> read conf, and client manages to sync to server's (skewed) time.
> <server>
> amit@zelda:~$ cat /etc/ntp.conf
> server 127.127.1.0 minpoll 4 maxpoll 4
> fudge 127.127.1.0 stratum 10
> amit@zelda:~$ sudo /usr/sbin/ntpd -g -c /etc/ntp.conf
> </server>
>
> <client>
> $ date
> Sun 16 Mar 2014 22:18:33 EST
> $ sudo ntpdate 192.168.1.11
> 16 Mar 21:28:08 ntpdate[72542]: step time server 192.168.1.11 offset
> -3026.504122 sec
> $ date
> Sun 16 Mar 2014 21:28:10 EST
> </client>
>
> I'm wondering why attempting to configure via an alternative conf file
> fails.
> Amit

Maybe you have one of those pesky "enhanced security" configs that
have restricted the files that a specific application can open.
(e.g. "selinux")

Those often make programs fail in unexplainable ways, especially because
most programs do not expect such restrictions and do not handle the
errors they cause (both in the software and in the documentation).

_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Reply via email to