Sponsored Content
Full Discussion: 3 questions about NTP server
Top Forums UNIX for Dummies Questions & Answers 3 questions about NTP server Post 302182889 by era on Monday 7th of April 2008 04:56:42 PM
Old 04-07-2008
What do you mean by "point to"? The alias in /etc/hosts will let you refer to the server by the name you put in /etc/hosts instead of the IP address but this is not strictly necessary; you could simply set up your NTP client to connect by IP address, although of course it's a good habit to have a name for the server.

If you have an ntp client running continuously then it will likely need to be nudged to reread its configuration. Many daemons have a way to reinitialize without having to actually shut it down completely, often by sending a SIGUSR1, but read the documentation for whatever you are running.

You seem to be missing the step where you find out what NTP client software you are running, and read its documentation to see how you tell it which NTP server to use. That should also give some hints for your third question.

If you have ntpdate, it can be run with a diagnostic option which tells you which server it connected to and what the result was. If you are on Debian or Ubuntu, note the difference between ntpdate and ntpdate-debian
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Ntp Server

Hi. i was wondering if anyone can show me or direct me on setting up a ntp server under redhat.. Is there any howtos so i can get familar to it "any good sites" (3 Replies)
Discussion started by: souldier
3 Replies

2. Linux

newbie questions on ntp and routes

RH 7.2 I have 2 unrelated questions - 1.) I have been able to configure and run ntp but cannot figure out how to start the service upon reboot. I have read the man pages for ntsysv - this is a manual action, but I want to drop a tarball of config files on a new installation and cannot... (1 Reply)
Discussion started by: jalburger
1 Replies

3. Solaris

ntp server and ntp client

All, How do you set a Solaris 9 server which received ntp updates from a ntp server to broadcast them on a local subnet. I have created a /etc/inet/ntp.conf file to receive the updates from a server on network and need to make this server become like a ntp relay from the main server. Any... (1 Reply)
Discussion started by: bubba112557
1 Replies

4. IP Networking

server is not getting synchronized with ntp server

Hello Guys, i have a problem my local server is not getting synchronized with ntpd server. 1)ntpq -p is giving the following output remote refid st t when poll reach delay offset jitter ============================================================================== ... (9 Replies)
Discussion started by: mannam srinivas
9 Replies

5. Red Hat

NTP server

Hi All.... I need to configure NTP server in my network, which is heterogeneous, containing Linux as well as windows systems. I'm planning to configure it on RHEL 5.0. What are the prerequisites for this and do I need to register this server? Can anyone give me as many information as... (1 Reply)
Discussion started by: Amol21
1 Replies

6. Linux

How often does Linux NTP server update its time with the external NTP server?

All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies

7. Linux

Questions about the NTP time server sync

Hi folks, I have developed a Linux server for my customer. After migrating the server to my customer site, I was trying to sync its time to the NTP time servers at my customer site. Below is the ntp.conf: % vi /etc/ntp.conf # Permit time synchronization with our time source, but do not # permit... (2 Replies)
Discussion started by: kimurayuki
2 Replies

8. HP-UX

Setting up NTP HP-UX clients from solaris NTP server

Hi I wonder if its possible to setup NTP clients running HP-UX o.s. from a solaris 10 NTP server? FR (3 Replies)
Discussion started by: fretagi
3 Replies

9. Red Hat

Ntp client sync with local over ntp server

Hi, I have two ntp servers in my cluster and I want all the nodes in my cluster to sync with either of the ntp servers or just one. Unfortunately it keep rotating the sync, between my ntp server 1, ntp server 2 and local. Is there anyway I can change the sync to avoid local? # ntpq -p ... (3 Replies)
Discussion started by: pjeedu2247
3 Replies

10. Linux

What is the best OS for NTP server?

Hello I need to create NTP server for all my devices, What is the best OS for NTP Server? "CentOS, Redhat, Ubuntu " I tried before Ubuntu but some of device not detect the server Need your recommendation Thank you (2 Replies)
Discussion started by: moudmm
2 Replies
ntptrace(8)						      System Manager's Manual						       ntptrace(8)

NAME
ntptrace - Traces a chain of NTP hosts back to their master time source SYNOPSIS
/usr/sbin/ntptrace [-dnv] [-r retries] [-t timeout] [server] OPTIONS
Turns on some debugging output. Turns off the printing of host names; instead, host IP addresses are given. This may be necessary if a nameserver is down. Sets the number of retransmission attempts for each host; default = 5. Sets the retransmission timeout (in seconds); default = 2. Prints verbose information about the NTP servers. DESCRIPTION
The ntptrace command determines where a given Network Time Protocol (NTP) server gets its time from, and follows the chain of NTP servers back to their master time source. If given no arguments, it starts with localhost. The following is an example of the output from ntptrace: % ntptrace localhost: stratum 4, offset 0.0019529, synch distance 0.144135 server2.bozo.com: stratum 2, offset 0.0124263, synch distance 0.115784 usndh.edu: stratum 1, offset 0.0019298, synch distance 0.011993, refid 'WWVB' On each line, the fields are (left to right): the host name, the host's stratum, the time offset between that host and the local host (as measured by ntptrace; this is why it is not always zero for localhost), the host's synchronization distance, and (only for stratum-1 servers) the reference clock ID. All times are given in seconds. (Synchronization distance is a measure of the goodness of the clock's time.) SEE ALSO
Commands: xntpd(8), xntpdc(8) ntptrace(8)
All times are GMT -4. The time now is 05:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy