NTP takes a while to synchronize once it starts.
You might want to take a look at Dan Bernstiens clockspeed
programs. They can do the same type of thing with less
overhead and security risk.

Ken Jones


Tony Harris wrote:
> 
> Hi all,
> 
> Well, I was a happy camper - was ready to look for what Sam suggested to fix
> the problem with my sqwebmail.  Then last night there was a storm.  power
> went out beyond what our battery backups could do.
> 
> I brought all the servers up, and the ntp server appeared to come up right,
> but I can't get things to talk to it properly any more (all other aspects of
> the ntp server, and the clients work)
> 
> ntp is totally local, everything is synced off of one machine.
> 
> Basic setup:
> 
> mspl - nfs server, ntp server
> mail - nfs client, sqwebmail server, ntp client.
> 
> on mail:
> ntpdate returns:
> [root@mail /root]# ntpdate mspl.elroynet.com
> 12 Jun 14:54:30 ntpdate[26233]: no server suitable for synchronization found
> 
> ntpd -d returns:
> [root@mail /etc]# ntpd -d
> create_sockets(123)
> interface <lo> OK
> interface <eth0> OK
> bind() fd 4, family 2, port 123, addr 0.0.0.0, flags=1
> bind() fd 5, family 2, port 123, addr 127.0.0.1, flags=0
> bind() fd 6, family 2, port 123, addr 208.143.146.5, flags=1
> init_io: maxactivefd 6
> resolving mspl.elroynet.com
> sys_bclient
> report_event: system event 'event_restart' (0x01) status 'sync_alarm,
> sync_unspe
> c, 1 event, event_unspec' (0xc010)
> auth_agekeys: at 1 keys 1 expired 0
> peer_clear: at 2
> mobilize 32444 1 next 54
> peer_config: 208.143.146.14 mode 3 vers 4 min 6 max 10 flags 0x0081 ttl 0
> key 00
> 000000
> transmit: at 56 208.143.146.14 mode 3
> receive: at 56 208.143.146.14 mode 4 code 1
> packet: bad header 020
> auth_agekeys: at 60 keys 1 expired 0
> 
> ON MSPL:
> 
> running ntpd -d during the executions above:
> 
> [root@mspl /root]# ntpd -d
> create_sockets(123)
> interface <lo> OK
> interface <eth0> OK
> bind() fd 4, family 2, port 123, addr 0.0.0.0, flags=1
> bind() fd 5, family 2, port 123, addr 127.0.0.1, flags=0
> bind() fd 6, family 2, port 123, addr 208.143.146.14, flags=1
> init_io: maxactivefd 6
> peer_clear: at 0
> mobilize 24580 1 next 55
> peer_config: 127.127.1.0 mode 3 vers 4 min 6 max 6 flags 0x0021 ttl 0 key
> 000000
> 00
> loop_config: state 2 freq 0.000
> report_event: system event 'event_restart' (0x01) status 'sync_alarm,
> sync_unspe
> c, 1 event, event_unspec' (0xc010)
> auth_agekeys: at 1 keys 1 expired 0
> receive: at 13 208.143.146.5 mode 3 code 2
> transmit: at 13 208.143.146.5 mode 4
> receive: at 13 208.143.146.5 mode 3 code 2
> transmit: at 13 208.143.146.5 mode 4
> receive: at 13 208.143.146.5 mode 3 code 2
> transmit: at 13 208.143.146.5 mode 4
> receive: at 13 208.143.146.5 mode 3 code 2
> transmit: at 13 208.143.146.5 mode 4
> refclock_transmit: at 55 127.127.1.0
> refclock_receive: at 55 127.127.1.0
> peer LOCAL(0) event 'event_reach' (0x84) status 'unreach, conf, 1 event,
> event_r
> each' (0x8014)
> refclock_sample: n 1 offset 0.000000 disp 0.010000 std 0.000000
> clock_filter: offset 0.000000 delay 0.000000 disp 7.937504 std 0.000000, age
> 0
> auth_agekeys: at 60 keys 1 expired 0
> refclock_transmit: at 119 127.127.1.0
> refclock_receive: at 119 127.127.1.0
> refclock_sample: n 1 offset 0.000000 disp 0.010000 std 0.000000
> clock_filter: offset 0.000000 delay 0.000000 disp 3.937746 std 0.000000, age
> 0
> auth_agekeys: at 120 keys 1 expired 0
> receive: at 149 208.143.146.5 mode 3 code 2
> transmit: at 149 208.143.146.5 mode 4
> auth_agekeys: at 180 keys 1 expired 0
> refclock_transmit: at 182 127.127.1.0
> refclock_receive: at 182 127.127.1.0
> refclock_sample: n 1 offset 0.000000 disp 0.010000 std 0.000000
> clock_filter: offset 0.000000 delay 0.000000 disp 1.937981 std 0.000000, age
> 0
> 
> Any help would be appreciated.
> 
> -Tony

Reply via email to