Linux
--
Questions
--
Followers
Top Experts
--------------------------
28 Apr 04:22:29 ntpd[20167]: time reset 0.364455 s
28 Apr 04:22:29 ntpd[20167]: kernel time discipline status change 41
28 Apr 04:22:29 ntpd[20167]: synchronisation lost
[root@rdserver ntp-4.1.1]# ntpq -p
remote refid st t when poll reach delay offset jitter
==========================
time.nist.gov .ACTS. 1 u 80m 137m 3 196.757 76.876 73.733
--------------------------
I have several windows clients (2k and XP) and they run a program called beatnik which will also sync to time.nist.gov (by attaching to it) but they won't sync off my server.
not sure the differnece between xnptd and ntpd, but I can't seem to find xntpd anyplace. I have also enabled the entries for time and time-udp in /etc/xinetd, but still no good (but the entries do not have a server line so they won't run anything)
When I try to telnet to the ntp port (123) I get "Could not open a connection to host on port 123 : Connect failed" which I am not totally surprised about.
what do I need to put in my ntp.conf (or install) file to allow my windows clients to sync to my Linux server?
I have been to the FAQ pages and they are very confusing, plus there are no man pages installed with the RPM's for ntpq, ntpd, ntp.conf, or ntpdate.
Here is my existing ntp.conf file...
--------------------------
# standard config options...
driftfile /etc/ntp/drift
logfile /var/log/ntp.log
# disable any authentication
disable auth
# set up external client access
restrict 127.0.0.1
restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap
# set up this server as a client elsewhere...
server chronos.csr.net prefer minpoll 11 maxpoll 13
server time.nist.gov minpoll 13 maxpoll 14
# don't know what these do... leaving out for now.
#server 127.127.1.0 # local clock
#fudge 127.127.1.0 stratum 10
--------------------------
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
works fine for me, you have what the config file says to use to allow hosts on the 192.168.1.0/24 network to connect to you, i have that commented out in mine






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Interstingly enough, I set my Samba server up to serve time as well, and the network can see it... not that that helps my linux machines sync.
Is there supposed to be som logging when a client attpemts to connect? I have added the line...
logconfig +sysall +clockall +peerall +syncall
and I don't seem to get anything.
is there some way that I have locked out the clients ability to connect and sync (since I get a connection refused message).
Is there a way in the config file to specify a version to run as? I know version 4 should automatically understand version 3, but then according to the box, "Microsoft Works"...
hmmm...
is there anything else I could check?
do the 2 new files in /etc/xinetd.d mean anything or just red herrings. '/etc/xinetd.d/time', and '/etc/xinetd.d/time-udp' both are disabled in the config, and neither of them have a server line.
Cheers.
28 Apr 23:53:31 ntpd[28579]: peer 192.43.244.18 event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0x8014)
This is time.nist.gov the second of my servers ???
And, that is the only entry when I do an ntpq -p
??
Is the whole thing stuffed?

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
ntpq> ntpversion
NTP version being claimed is 2
That can't be good???
just set up a handfull of servers that I can actually reach :)
I just installed a second machine with the same version of Linux and the same version of ntp and guess what... it works...
so how do I make my server respond to the other versions of NTP from my other clients?
Thanks.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
I have had clients not work with the config file, replaced it with a new one (they i inspected 500 times and found nothign wrong with) and suddenly it worked fine.
rdweb (linux, xnptd) no ntp sync
rdweb (linux, nptd 4.1) now syncs after upgrading
rdspace (linux, ntpd 4.1) syncs
rdterm01 (win2k, beatnik) no ntp sync
rdterm02 (winXP, beatnik) no ntp sync
ALL machines will sync from time.nist.gov, the failure to sync above are with my server running linux and ntpd 4.1.
Beatnik Internet Clock is the product I use to do my NTP sync, and probably uses an older version of the NTP protocol.
Also, my linux machines all attempts to peer with all the servers in their config once a day, despite the fact there are NO peer lines in it.
Grrr!!!!!
I suppose if this was easy, a lot of people will be out of a job.
:)
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
I will leave a recommendation in the Cleanup topic area that this question is to:
Be PAQ'd/Points Refunded
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Paul
EE Cleanup Volunteer
Linux
--
Questions
--
Followers
Top Experts
Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.