Networking Forums

Networking Forums > Computer Networking > Linux Networking > NTP will not syncronize

Reply
Thread Tools Display Modes

NTP will not syncronize

 
 
=?ISO-8859-1?Q?J=F8rn?= Dahl-Stamnes
Guest
Posts: n/a

 
      10-04-2004, 03:49 PM
I just install RH 7.3 on a testmachine, and then compiled NTP. But I cannot
get it to syncronize with my other linxu-box.

This is what ntpdate write:
[root@r2d2 etc]# ntpdate -qv jedi.<mydomain>
4 Oct 17:43:19 ntpdate[22511]: ntpdate 4.2.0@1.1161-r Mon Oct 4 15:42:50
GMT+1 2004 (1)
Looking for host jedi.<mydomain> and service ntp
host found : jedi.<mydomain>
server xxx.xxx.xxx.xxx, stratum 16, offset 19.252031, delay 0.02628
4 Oct 17:43:19 ntpdate[22511]: no server suitable for synchronization found

The jedi machine is syncronized with an external source. So I wonder why the
new machine won't syncronize. Looking at the network traffice, the two
machines are communicating on port 123.

Any idea what's wrong?

--
Jørn Dahl-Stamnes
http://80.203.206.37/dahls/index.html
 
Reply With Quote
 
 
 
 
Andrew Schulman
Guest
Posts: n/a

 
      10-04-2004, 07:11 PM
> I just install RH 7.3 on a testmachine, and then compiled NTP. But I
cannot
> get it to syncronize with my other linxu-box.
>
> This is what ntpdate write:
> [root@r2d2 etc]# ntpdate -qv jedi.<mydomain>
> 4 Oct 17:43:19 ntpdate[22511]: ntpdate 4.2.0@1.1161-r Mon Oct 4 15:42:50
> GMT+1 2004 (1)
> Looking for host jedi.<mydomain> and service ntp
> host found : jedi.<mydomain>
> server xxx.xxx.xxx.xxx, stratum 16, offset 19.252031, delay 0.02628
> 4 Oct 17:43:19 ntpdate[22511]: no server suitable for synchronization found
>
> The jedi machine is syncronized with an external source. So I wonder why the
> new machine won't syncronize. Looking at the network traffice, the two
> machines are communicating on port 123.
>
> Any idea what's wrong?


Post your /etc/ntp.conf. If you have "restrict default ignore", then
you'll have to specifically unrestrict access from your designated
upstream servers, e.g. "restrict xxx.xxx.xxx.xxx nomodify".

--
To reply by email, change "deadspam.com" to "alumni.utexas.net"
 
Reply With Quote
 
=?ISO-8859-1?Q?J=F8rn?= Dahl-Stamnes
Guest
Posts: n/a

 
      10-04-2004, 09:38 PM
Andrew Schulman wrote:

>> I just install RH 7.3 on a testmachine, and then compiled NTP. But I

> cannot
>> get it to syncronize with my other linxu-box.
>>
>> This is what ntpdate write:
>> [root@r2d2 etc]# ntpdate -qv jedi.<mydomain>
>> 4 Oct 17:43:19 ntpdate[22511]: ntpdate 4.2.0@1.1161-r Mon Oct 4
>> 15:42:50
>> GMT+1 2004 (1)
>> Looking for host jedi.<mydomain> and service ntp
>> host found : jedi.<mydomain>
>> server xxx.xxx.xxx.xxx, stratum 16, offset 19.252031, delay 0.02628
>> 4 Oct 17:43:19 ntpdate[22511]: no server suitable for synchronization
>> found
>>
>> The jedi machine is syncronized with an external source. So I wonder why
>> the new machine won't syncronize. Looking at the network traffice, the
>> two machines are communicating on port 123.
>>
>> Any idea what's wrong?

>
> Post your /etc/ntp.conf. If you have "restrict default ignore", then
> you'll have to specifically unrestrict access from your designated
> upstream servers, e.g. "restrict xxx.xxx.xxx.xxx nomodify".


Here is the ntp.conf file at the "server" (xxx.xxx.xxx.xxx):
restrict default ignore

restrict 127.0.0.1

restrict 192.168.2.0 mask 255.255.255.0 nomodify
restrict 194.213.166.136 mask 255.255.255.248 nomodify
restrict 194.213.163.80 mask 255.255.255.240 nomodify

server oslo-gw1.uninett.no

driftfile /etc/ntp/drift
broadcastdelay 0.008

authenticate yes

keys /etc/ntp/keys
# END OF FILE

And there is the ntp.conf file at the "client":
server xxx.xxx.xxx.xxx
# END OF FILE

But when I tried to write "ntpd -d" I got:
[root@r2d2 etc]# ntpd -d
ntpd 4.2.0@1.1161-r Mon Oct 4 15:42:45 GMT+1 2004 (1)
addto_syslog: ntpd 4.2.0@1.1161-r Mon Oct 4 15:42:45 GMT+1 2004 (1)
addto_syslog: signal_no_reset: signal 13 had flags 4000000
addto_syslog: precision = 2.000 usec
create_sockets(123)
addto_syslog: no IPv6 interfaces found
bind() fd 4, family 2, port 123, addr 0.0.0.0, flags=8
bind() fd 5, family 2, port 123, addr 127.0.0.1, flags=0
bind() fd 6, family 2, port 123, addr 192.168.2.21, flags=8
init_io: maxactivefd 6
local_clock: at 0 state 0
key_expire: at 0
peer_clear: at 0 assoc ID 25740 refid INIT
newpeer: 192.168.2.21->xxx.xxx.xxx.xxx mode 3 vers 4 poll 6 10 flags 0x1 0x1
ttl 0 key 00000000
report_event: system event 'event_restart' (0x01) status 'sync_alarm,
sync_unspec, 1 event, event_unspec' (0xc010)
transmit: at 1 192.168.2.21->xxx.xxx.xxx.xxx mode 3
auth_agekeys: at 1 keys 1 expired 0
timer: refresh ts 0
receive: at 1 192.168.2.21<-xxx.xxx.xxx.xxx mode 4 code 1
packet: bad header 020
addto_syslog: ntpd exiting on signal 2


Does this make any sense?

--
Jørn Dahl-Stamnes
http://80.203.206.37/dahls/index.html
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirected folder syncronize gkhubbar@gmail.com Windows Networking 0 04-02-2007 09:14 PM
How to setup and use a secure ftp connection to syncronize files Joe Windows Networking 1 04-10-2005 03:28 PM
SMC7004VBR Clock doesn't syncronize with NPT windsurferLA Network Routers 1 03-27-2005 12:15 AM
Syncronize database file remotely Joe Windows Networking 0 02-12-2005 12:07 AM



1 2 3 4 5 6 7 8 9 10 11