Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   ntp: .XFAC. refid (http://www.linux-archive.org/debian-user/494527-ntp-xfac-refid.html)

Jerome BENOIT 02-26-2011 09:04 PM

ntp: .XFAC. refid
 
Hello List,

I am configuring ntp on a little server Squeeze box:

After each boot, I need to restart manually ntp ( /etc/init,d/ntp restart)
to make is work properly. Otherwise is stuck, namely `ntpq -p' gives:

remote refid st t when poll reach delay offset jitter
================================================== ============================
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000


How can I avoid the manual restart ?

Thanks in advance,
Jerome


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D6978DF.5070508@rezozer.net">http://lists.debian.org/4D6978DF.5070508@rezozer.net

Ron Johnson 02-26-2011 09:49 PM

ntp: .XFAC. refid
 
On 02/26/2011 04:04 PM, Jerome BENOIT wrote:

Hello List,

I am configuring ntp on a little server Squeeze box:

After each boot, I need to restart manually ntp ( /etc/init,d/ntp restart)
to make is work properly. Otherwise is stuck, namely `ntpq -p' gives:

remote refid st t when poll reach delay offset jitter
================================================== ============================
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000


How can I avoid the manual restart ?


Any clues in syslog or /var/log/boot?

--
I prefer banana-flavored energy bars made from tofu.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D698395.8020303@cox.net">http://lists.debian.org/4D698395.8020303@cox.net

Jerome BENOIT 02-26-2011 10:10 PM

ntp: .XFAC. refid
 
On 26/02/11 23:49, Ron Johnson wrote:

On 02/26/2011 04:04 PM, Jerome BENOIT wrote:

Hello List,

I am configuring ntp on a little server Squeeze box:

After each boot, I need to restart manually ntp ( /etc/init,d/ntp
restart)
to make is work properly. Otherwise is stuck, namely `ntpq -p' gives:

remote refid st t when poll reach delay offset jitter
================================================== ============================

time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000


How can I avoid the manual restart ?


Any clues in syslog or /var/log/boot?


in syslog, at boot time:



Feb 26 21:29:10 rezozer ntpd[2515]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123

Feb 26 21:29:10 rezozer ntpd[2515]: Listen normally on 1 lo 127.0.0.1 UDP 123
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.xxxxx.de" invalid host address, ignored
Feb 26 21:29:10 rezozer ntpd[2515]: restrict: error in address 'time.xxxxx.de' on line 54. Ignoring...
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.xxxxx.de" invalid host address, ignored
Feb 26 21:29:10 rezozer ntpd[2515]: restrict: error in address 'time.xxxxx.de' on line 55. Ignoring...
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.xxxxx.es" invalid host address, ignored
Feb 26 21:29:10 rezozer ntpd[2515]: restrict: error in address 'time.xxxxx.es' on line 56. Ignoring...
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.xxxxx.fr" invalid host address, ignored
Feb 26 21:29:10 rezozer ntpd[2515]: restrict: error in address 'time.xxxxx.fr' on line 57. Ignoring...
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.xxxxx.fr" invalid host address, ignored
Feb 26 21:29:10 rezozer ntpd[2515]: restrict: error in address 'time.xxxxx.fr' on line 57. Ignoring...
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.xxxxx.nl" invalid host address, ignored
Feb 26 21:29:10 rezozer ntpd[2515]: restrict: error in address 'time.xxxxx.nl' on line 59. Ignoring...
Feb 26 21:29:10 rezozer ntpd[2515]: Deferring DNS for time.xxxxx.de 1
Feb 26 21:29:10 rezozer ntpd[2515]: Deferring DNS for time.xxxxx.de 1
Feb 26 21:29:10 rezozer ntpd[2515]: Deferring DNS for time.xxxxx.fr 1
Feb 26 21:29:10 rezozer ntpd[2515]: Deferring DNS for time.xxxxx.es 1
Feb 26 21:29:10 rezozer ntpd[2515]: Deferring DNS for time.xxxxx.fr 1
Feb 26 21:29:10 rezozer ntpd[2515]: Deferring DNS for time.xxxxx.nl 1
Feb 26 21:29:10 rezozer ntpd[2526]: signal_no_reset: signal 17 had flags 4000000
Feb 26 21:29:12 rezozer ntpd_intres[2526]: host name not found: time.xxxxx.de
Feb 26 21:29:12 rezozer ntpd_intres[2526]: host name not found: time.xxxxx.de
Feb 26 21:29:12 rezozer ntpd_intres[2526]: host name not found: time.xxxxx.fr
Feb 26 21:29:12 rezozer ntpd_intres[2526]: host name not found: time.xxxxx.es
Feb 26 21:29:12 rezozer ntpd_intres[2526]: host name not found: time.xxxxx.fr
Feb 26 21:29:12 rezozer ntpd_intres[2526]: host name not found: time.xxxxx.nl
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.de -> 130.xxx.xxx.10
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.de -> 131.xxx.xxx.223
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.fr -> 192.xxx.xxx.20
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.es -> 158.xxx.xxx.15
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.fr -> 193.xxx.xxx.211
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.nl -> 187.xxxx.xxx.11
Feb 26 21:30:15 rezozer ntpd[2515]: Listen normally on 2 gieth0 xxx.xxx.xxx.xxx UDP 123




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D69884E.3080505@rezozer.net">http://lists.debian.org/4D69884E.3080505@rezozer.net

Ron Johnson 02-26-2011 10:18 PM

ntp: .XFAC. refid
 
On 02/26/2011 05:10 PM, Jerome BENOIT wrote:



On 26/02/11 23:49, Ron Johnson wrote:

On 02/26/2011 04:04 PM, Jerome BENOIT wrote:

Hello List,

I am configuring ntp on a little server Squeeze box:

After each boot, I need to restart manually ntp ( /etc/init,d/ntp
restart)
to make is work properly. Otherwise is stuck, namely `ntpq -p'
gives:

remote refid st t when poll reach delay offset jitter
================================================== ============================


time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000


How can I avoid the manual restart ?


Any clues in syslog or /var/log/boot?


in syslog, at boot time:



Feb 26 21:29:10 rezozer ntpd[2515]: Listen and drop on 0
v4wildcard 0.0.0.0 UDP 123

Feb 26 21:29:10 rezozer ntpd[2515]: Listen normally on 1 lo
127.0.0.1 UDP 123
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.xxxxx.de"
invalid host address, ignored

[snip]

If this is a laptop, maybe the wireless connection isn't coming up
quickly enough?


If wired-but-dhcp, maybe the dhcp server isn't responding quickly
enough?


--
I prefer banana-flavored energy bars made from tofu.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D698A5A.2030805@cox.net">http://lists.debian.org/4D698A5A.2030805@cox.net

Jerome BENOIT 02-26-2011 10:33 PM

ntp: .XFAC. refid
 
Thanks for the replies.

On 27/02/11 00:18, Ron Johnson wrote:

On 02/26/2011 05:10 PM, Jerome BENOIT wrote:



On 26/02/11 23:49, Ron Johnson wrote:

On 02/26/2011 04:04 PM, Jerome BENOIT wrote:

Hello List,

I am configuring ntp on a little server Squeeze box:

After each boot, I need to restart manually ntp ( /etc/init,d/ntp
restart)
to make is work properly. Otherwise is stuck, namely `ntpq -p'
gives:

remote refid st t when poll reach delay offset jitter
================================================== ============================



time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000


How can I avoid the manual restart ?


Any clues in syslog or /var/log/boot?


in syslog, at boot time:



Feb 26 21:29:10 rezozer ntpd[2515]: Listen and drop on 0
v4wildcard 0.0.0.0 UDP 123

Feb 26 21:29:10 rezozer ntpd[2515]: Listen normally on 1 lo
127.0.0.1 UDP 123
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.xxxxx.de"
invalid host address, ignored

[snip]

If this is a laptop, maybe the wireless connection isn't coming up
quickly enough?


NA



If wired-but-dhcp, maybe the dhcp server isn't responding quickly enough?


I am agree.
In fact, dhcp seems to be called after ntp.
Is there a (Debian) way to launch ntp after dhcp ?
or to ``reload' ntp after a while ?

Jerome






--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D698DD1.9030700@rezozer.net">http://lists.debian.org/4D698DD1.9030700@rezozer.net

Ron Johnson 02-26-2011 10:57 PM

ntp: .XFAC. refid
 
On 02/26/2011 05:33 PM, Jerome BENOIT wrote:
[snip]


I am agree.
In fact, dhcp seems to be called after ntp.


I think I'd file a bug against ntp mentioning this.


Is there a (Debian) way to launch ntp after dhcp ?
or to ``reload' ntp after a while ?



Probably not the official method, but you can put the ntp restart in
/etc/rc.local.


--
I prefer banana-flavored energy bars made from tofu.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D69935A.6000609@cox.net">http://lists.debian.org/4D69935A.6000609@cox.net

Jerome BENOIT 02-26-2011 10:59 PM

ntp: .XFAC. refid
 
On 27/02/11 00:33, Jerome BENOIT wrote:

Thanks for the replies.

On 27/02/11 00:18, Ron Johnson wrote:

On 02/26/2011 05:10 PM, Jerome BENOIT wrote:



On 26/02/11 23:49, Ron Johnson wrote:

On 02/26/2011 04:04 PM, Jerome BENOIT wrote:

Hello List,

I am configuring ntp on a little server Squeeze box:

After each boot, I need to restart manually ntp ( /etc/init,d/ntp
restart)
to make is work properly. Otherwise is stuck, namely `ntpq -p'
gives:

remote refid st t when poll reach delay offset jitter
================================================== ============================




time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000


How can I avoid the manual restart ?


Any clues in syslog or /var/log/boot?


in syslog, at boot time:



Feb 26 21:29:10 rezozer ntpd[2515]: Listen and drop on 0
v4wildcard 0.0.0.0 UDP 123

Feb 26 21:29:10 rezozer ntpd[2515]: Listen normally on 1 lo
127.0.0.1 UDP 123
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.xxxxx.de"
invalid host address, ignored

[snip]

If this is a laptop, maybe the wireless connection isn't coming up
quickly enough?


NA



If wired-but-dhcp, maybe the dhcp server isn't responding quickly enough?


I am agree.
In fact, dhcp seems to be called after ntp.
Is there a (Debian) way to launch ntp after dhcp ?
or to ``reload' ntp after a while ?


In fact a closer look shows that ntp sems to manage it:


Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.de -> 130.xxx.xxx.10
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.de -> 131.xxx.xxx.223
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.fr -> 192.xxx.xxx.20
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.es -> 158.xxx.xxx.15
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.fr -> 193.xxx.xxx.211
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.nl -> 187.xxxx.xxx.11
Feb 26 21:30:15 rezozer ntpd[2515]: Listen normally on 2 gieth0 xxx.xxx.xxx.xxx UDP 123

so ntp pretends to ``Listen normally', but it does not as it stucks to .XFAC.

Jerome



Jerome









--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D6993E8.5060707@rezozer.net">http://lists.debian.org/4D6993E8.5060707@rezozer.net

Jerome BENOIT 02-27-2011 12:59 AM

ntp: .XFAC. refid
 
Hello List !



On 27/02/11 00:59, Jerome BENOIT wrote:



On 27/02/11 00:33, Jerome BENOIT wrote:

Thanks for the replies.

On 27/02/11 00:18, Ron Johnson wrote:

On 02/26/2011 05:10 PM, Jerome BENOIT wrote:



On 26/02/11 23:49, Ron Johnson wrote:

On 02/26/2011 04:04 PM, Jerome BENOIT wrote:

Hello List,

I am configuring ntp on a little server Squeeze box:

After each boot, I need to restart manually ntp ( /etc/init,d/ntp
restart)
to make is work properly. Otherwise is stuck, namely `ntpq -p'
gives:

remote refid st t when poll reach delay offset jitter
================================================== ============================





time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxxxxxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000


How can I avoid the manual restart ?


Any clues in syslog or /var/log/boot?


in syslog, at boot time:



Feb 26 21:29:10 rezozer ntpd[2515]: Listen and drop on 0
v4wildcard 0.0.0.0 UDP 123

Feb 26 21:29:10 rezozer ntpd[2515]: Listen normally on 1 lo
127.0.0.1 UDP 123
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.xxxxx.de"
invalid host address, ignored

[snip]

If this is a laptop, maybe the wireless connection isn't coming up
quickly enough?


NA



If wired-but-dhcp, maybe the dhcp server isn't responding quickly
enough?


I am agree.
In fact, dhcp seems to be called after ntp.
Is there a (Debian) way to launch ntp after dhcp ?
or to ``reload' ntp after a while ?


In fact a closer look shows that ntp sems to manage it:


Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.de ->
130.xxx.xxx.10
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.de ->
131.xxx.xxx.223
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.fr ->
192.xxx.xxx.20
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.es ->
158.xxx.xxx.15
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.fr ->
193.xxx.xxx.211
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.xxxxx.nl ->
187.xxxx.xxx.11
Feb 26 21:30:15 rezozer ntpd[2515]: Listen normally on 2 gieth0
xxx.xxx.xxx.xxx UDP 123

so ntp pretends to ``Listen normally', but it does not as it stucks to
.XFAC.



Finally I fixed it by reconfiguring my /etc/ntp.conf file from start:
I guess that my old configuration file needs to be upgraded.

Jerome


Jerome



Jerome












--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D69AFEC.5000903@rezozer.net">http://lists.debian.org/4D69AFEC.5000903@rezozer.net

Ron Johnson 02-27-2011 01:27 AM

ntp: .XFAC. refid
 
On 02/26/2011 07:59 PM, Jerome BENOIT wrote:
[snip]


Finally I fixed it by reconfiguring my /etc/ntp.conf file from start:
I guess that my old configuration file needs to be upgraded.



What exactly did you have to change?

--
I prefer banana-flavored energy bars made from tofu.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D69B693.7030103@cox.net">http://lists.debian.org/4D69B693.7030103@cox.net

Jerome BENOIT 02-27-2011 01:48 AM

ntp: .XFAC. refid
 
Hi !

On 27/02/11 03:27, Ron Johnson wrote:

On 02/26/2011 07:59 PM, Jerome BENOIT wrote:
[snip]


Finally I fixed it by reconfiguring my /etc/ntp.conf file from start:
I guess that my old configuration file needs to be upgraded.



What exactly did you have to change?


I performed the following kind of modification:




server time.xxxx.net iburst
server time.xxxx.org iburst

restrict -4 default ignore

restrict time.xxxx.net nomodify notrap nopeer noquery
restrict time.xxxx.org nomodify notrap nopeer noquery
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<<<<<<<

to




server time.xxxx.net iburst
server time.xxxx.org iburst

restrict -4 default kod notrap nomodify nopeer noquery

## empty
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<<<<<<<


hth,
Jerome






--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D69BB68.6000507@rezozer.net">http://lists.debian.org/4D69BB68.6000507@rezozer.net


All times are GMT. The time now is 04:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.