public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ntp problems
@ 2005-12-05  5:31 Gene Heskett
  2005-12-05 21:39 ` john stultz
  0 siblings, 1 reply; 23+ messages in thread
From: Gene Heskett @ 2005-12-05  5:31 UTC (permalink / raw)
  To: linux-kernel

Greetings everybody;

I seem to have an ntp problem.  I noticed a few minutes ago that if
my watch was anywhere near correct, then the computer was about 6
minutes fast.  Doing a service ntpd restart crash set it back nearly
6 minutes.

Kernel is 2.6.15-rc5, xp2800 athlon box, gig of ram.

Heres the log since yesterdays reboot, including the restart just
now.  What can be learned from it?

4 Dec 10:39:16 ntpd[1981]: logging to file /var/log/ntp.log
 4 Dec 10:39:16 ntpd[1981]: ntpd 4.2.0a@1.1190-r Fri Aug 26 04:27:20
EDT 2005 (1)
 4 Dec 10:39:16 ntpd[1981]: precision = 1.000 usec
 4 Dec 10:39:16 ntpd[1981]: Listening on interface wildcard,
0.0.0.0#123
 4 Dec 10:39:16 ntpd[1981]: Listening on interface lo, 127.0.0.1#123
 4 Dec 10:39:16 ntpd[1981]: Listening on interface eth0,
192.168.71.3#123
 4 Dec 10:39:16 ntpd[1981]: kernel time sync status 0040
 4 Dec 10:39:17 ntpd[1981]: frequency initialized 4.392 PPM from
/var/lib/ntp/drift
 4 Dec 10:42:32 ntpd[1981]: synchronized to LOCAL(0), stratum 10
 4 Dec 10:42:32 ntpd[1981]: kernel time sync disabled 0041
 4 Dec 10:43:36 ntpd[1981]: kernel time sync enabled 0001
 4 Dec 14:30:12 ntpd[1981]: synchronized to 80.96.120.249, stratum 2
 4 Dec 14:33:02 ntpd[1981]: synchronized to 64.109.43.141, stratum 2
 4 Dec 14:35:12 ntpd[1981]: synchronized to LOCAL(0), stratum 10
 4 Dec 20:35:32 ntpd[1981]: synchronized to 80.96.120.249, stratum 2
 4 Dec 20:37:40 ntpd[1981]: synchronized to 64.109.43.141, stratum 2
 4 Dec 20:38:56 ntpd[1981]: synchronized to LOCAL(0), stratum 10
 5 Dec 00:06:20 ntpd[1981]: ntpd exiting on signal 15
 5 Dec 00:00:38 ntpd[22610]: logging to file /var/log/ntp.log
 5 Dec 00:00:38 ntpd[22610]: ntpd 4.2.0a@1.1190-r Fri Aug 26 04:27:20
EDT 2005 (1)
 5 Dec 00:00:38 ntpd[22610]: precision = 1.000 usec
 5 Dec 00:00:38 ntpd[22610]: Listening on interface wildcard,
0.0.0.0#123
 5 Dec 00:00:38 ntpd[22610]: Listening on interface lo, 127.0.0.1#123
 5 Dec 00:00:38 ntpd[22610]: Listening on interface eth0,
192.168.71.3#123
 5 Dec 00:00:38 ntpd[22610]: kernel time sync status 0040
 5 Dec 00:00:39 ntpd[22610]: frequency initialized 4.392 PPM from
/var/lib/ntp/drift
 5 Dec 00:03:58 ntpd[22610]: synchronized to LOCAL(0), stratum 10
 5 Dec 00:03:58 ntpd[22610]: kernel time sync disabled 0041
 5 Dec 00:05:04 ntpd[22610]: kernel time sync enabled 0001

 Thanks for any hints anybody can throw my way.
 
-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.36% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.



^ permalink raw reply	[flat|nested] 23+ messages in thread
* NTP problems
@ 2004-01-24 22:08 Shaw, Marco
  2004-01-26  8:01 ` Erik Hensema
  0 siblings, 1 reply; 23+ messages in thread
From: Shaw, Marco @ 2004-01-24 22:08 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org'

I've not been able to get NTP working on some of my RH7.2 and RHAS2.1 systems.

Absolutely no TCP or UDP traffic shows in a tcpdump.  The command ntpdate gives me this
and nothing more:

15 Jan 10:06:59 ntpdate[22868]: poll(): nfound = 0, error: Success

I was intially thinking that this was a glibc-i386 vs glibc-i686 problem, but
it does not appears so after more research.

I decided to run lsof, and get the following whenver ntpdate fails (doesn't
send out any traffic at all when looking via tcpdump).  Note
the last line where I get "can't indentify protocol".

[root@server]# lsof|grep ntpdate
ntpdate     461     root  cwd    DIR        8,7     4096    144002 /root
ntpdate     461     root  rtd    DIR        8,7     4096         2 /
ntpdate     461     root  txt    REG        8,5    40460    128472 /usr/sbin/ntp
date
ntpdate     461     root  mem    REG        8,7   464409     65742 /lib/ld-2.2.4
.so
ntpdate     461     root  mem    REG        8,5    44851     64355 /usr/lib/libc
ap.so.1.10
ntpdate     461     root  mem    REG        8,7  5737154     64013 /lib/libc-2.2
.4.so
ntpdate     461     root    0u   CHR      136,3                  5 /dev/pts/3
ntpdate     461     root    1u   CHR      136,3                  5 /dev/pts/3
ntpdate     461     root    2u   CHR      136,3                  5 /dev/pts/3
ntpdate     461     root    3u  sock        0,0          175748304 can't identif
y protocol

I've checked the LSOF FAQ regarding this "can't indentify protocol", and I'm not
any further ahead.

I've not been able to reproduce this consistently, but when I shut down xinetd, ipchains,
and enter "ALL:ALL" in hosts.allow, *eventually* (but not consistently especially as 
far as a timeframe), eventually ntpdate works as expected.

Any ideas?

Marco

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2005-12-11 19:05 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-05  5:31 ntp problems Gene Heskett
2005-12-05 21:39 ` john stultz
2005-12-05 23:33   ` Gene Heskett
2005-12-06  0:14     ` john stultz
2005-12-06  2:07       ` Gene Heskett
2005-12-06  3:20         ` john stultz
2005-12-06  4:01           ` Gene Heskett
2005-12-06  7:33             ` jdow
2005-12-06 16:58               ` Gene Heskett
2005-12-07  0:48                 ` jdow
2005-12-06 11:44             ` Jean-Christian de Rivaz
2005-12-06 19:02               ` Gene Heskett
2005-12-06 21:22                 ` Gene Heskett
2005-12-07  5:14                   ` Kyle Moffett
2005-12-07  6:08                     ` Gene Heskett
2005-12-07 21:56                       ` Jean-Christian de Rivaz
2005-12-07 22:50                         ` Gene Heskett
2005-12-07 23:34                           ` Jean-Christian de Rivaz
2005-12-08  0:14                             ` Gene Heskett
2005-12-11 19:05                         ` Gene Heskett
2005-12-07  3:44           ` Gene Heskett
  -- strict thread matches above, loose matches on Subject: below --
2004-01-24 22:08 NTP problems Shaw, Marco
2004-01-26  8:01 ` Erik Hensema

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox