Jordi Espasa Clofent wrote:
# sync to a single server
server yes
server hora.roa.es

You shouldn't have this here like that.

> server yes

The man(5) ntpd.conf if pretty clear on that.


server address [weight weight-value]
        Specify the IP address or the hostname of an NTP server to syn-
        chronize to.  If it appears multiple times, ntpd(8) will try to
        synchronize to all of the servers specified.  If a hostname re-
        solves to multiple IPv4 and/or IPv6 addresses, ntpd(8) uses the
        first address.  If it does not get a reply, ntpd(8) retries with
        the next address and continues to do so until a working address
        is found.  For example:

              server 10.0.0.2 weight 5
              server ntp.example.org weight 1

server yes is neither an IP address or a full qualify name server.

So, as it say here, it will try to access "hora.roa.es" as well as "yes", witch it will not be able to obvioulsy and will give you errors.

So, just make your configuration properly and you will fix your problem.

Best,

Daniel

Reply via email to