|
|
Starting ntpd with no network
Hello
If I start ntpd at a time when the network is down then it synchronises
to itself as expected. However when the network connection is finally
established ntpd does not then start to use the servers which are defined
in ntp.conf. I'm using a recent Mandriva (10.1) which is ntp-4.2.0-10mdk,
is this a bug in ntpd or Mandriva?
Andrew
|
|
0
|
|
|
|
Reply
|
Andrew
|
4/24/2006 1:47:27 PM |
|
Andrew Brooks wrote:
> Hello
>
> If I start ntpd at a time when the network is down then it synchronises
> to itself as expected. However when the network connection is finally
> established ntpd does not then start to use the servers which are defined
> in ntp.conf. I'm using a recent Mandriva (10.1) which is ntp-4.2.0-10mdk,
> is this a bug in ntpd or Mandriva?
>
> Andrew
Do you specify DNS addresses or numeric IP addresses in your server
statements?
I believe that if a DNS lookup fails, it is not retried. If you specify
the numeric address, it will be retried first at the minimum poll
interval and ramp up to the maximum poll interval.
|
|
0
|
|
|
|
Reply
|
Richard
|
4/24/2006 2:51:35 PM
|
|
On Mon, 24 Apr 2006 15:51:35 +0100, Richard B. Gilbert
<rgilbert88@comcast.net> wrote:
> Do you specify DNS addresses or numeric IP addresses in your server
> statements? I believe that if a DNS lookup fails, it is not retried.
I used DNS names (that's the whole point of the DNS!). Now I can see
an older thread about DNS lookups failing but I can't access the bug
database at ntp.isc.org because of a MySQL error. It would be good if
this could be fixed otherwise there's no obvious ERROR message in syslog
to indicate that the computer is now running completely unsynchronised.
As a workaround I'll put IP addresses in my conf file for now ;-)
Andrew
|
|
0
|
|
|
|
Reply
|
Andrew
|
4/24/2006 3:29:54 PM
|
|
On 2006-04-24, Andrew Brooks <arb@sat.dundee.ac.uk> wrote:
> On Mon, 24 Apr 2006 15:51:35 +0100, Richard B. Gilbert
><rgilbert88@comcast.net> wrote:
>> Do you specify DNS addresses or numeric IP addresses in your server
>> statements? I believe that if a DNS lookup fails, it is not retried.
>
> I used DNS names (that's the whole point of the DNS!). Now I can see
> an older thread about DNS lookups failing but I can't access the bug
> database at ntp.isc.org because of a MySQL error.
It was actually a matter of Bugzilla not being able to talk to MySQL.
That's been corrected.
--
Steve Kostecke <kostecke@ntp.isc.org>
NTP Public Services Project - http://ntp.isc.org/
|
|
0
|
|
|
|
Reply
|
Steve
|
4/24/2006 4:16:12 PM
|
|
Andrew Brooks wrote:
> Hello
>
> If I start ntpd at a time when the network is down then it synchronises
> to itself as expected. However when the network connection is finally
> established ntpd does not then start to use the servers which are defined
> in ntp.conf. I'm using a recent Mandriva (10.1) which is ntp-4.2.0-10mdk,
> is this a bug in ntpd or Mandriva?
>
> Andrew
>
See bug #504. I'm working on a fix for something else that as a result
should also fix this.
Danny
_______________________________________________
questions mailing list
questions@lists.ntp.isc.org
https://lists.ntp.isc.org/mailman/listinfo/questions
|
|
0
|
|
|
|
Reply
|
mayer
|
4/24/2006 9:35:01 PM
|
|
|
4 Replies
234 Views
(page loaded in 2.381 seconds)
|
|
|
|
|
|
|
|
|