Sponsored Content
Special Forums IP Networking server is not getting synchronized with ntp server Post 302324615 by DukeNuke2 on Thursday 11th of June 2009 08:23:52 AM
Old 06-11-2009
what does a "ping ntp1" or "ping ntp2" returns on your system?
 

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. 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

3. UNIX for Dummies Questions & Answers

3 questions about NTP server

Folks; I'm setting up a new NTP server to sync time for our network. I have one Linux server that needs to point to that NTP server My 3 questions are: 1. I added the IP address for the NTP server to the "/etc/hosts" file on the Linux server. Is that all i need to do to make the Linux server... (5 Replies)
Discussion started by: Katkota
5 Replies

4. UNIX for Dummies Questions & Answers

ntp server setup

Not connected to the internet so I would like to set up 1 unix machine to be the ntp server and have it sync time to about 30 other machines that are all on an private 10net network?:confused: (3 Replies)
Discussion started by: parrisjr
3 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. UNIX for Advanced & Expert Users

NTP server can not be reached

hello Guys, I have an NTP problem on my SUN N240 server. External NTP server is being used for this box and when i run 'ntpq -p' i get connection refused message; Code: ntpq -p ntpq: read: Connection refused Here this is the ntp.conf file: Code: cat /etc/ntp.conf # BEGIN NTP... (1 Reply)
Discussion started by: dyavuzy1
1 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
NTPD(8) 						 Clockwatcher's Programming Manual						   NTPD(8)

NAME
ntpd - time synchronization daemon implementing NTP SYNOPSIS
ntpd [-d] [-s] [-t] OPTIONS
-d will bump the debug level by one. May be specified more than once to increment debug level by one each time. Has no effect if ntpd has not been compiled with DEBUG defined. -s will cause ntpd to not adjust the the local clock. -t will cause ntpd to modify the value of tickadj in your kernel. This will have no effect unless ntpd was compiled with SETTICKADJ defined. DESCRIPTION
NTPD is the network time synchronization daemon and is normally invoked at boot time from the /etc/rc(8) file. It implements a new revi- sion of the Network Time Protocol first described in RFC-958. It maintains the host's time synchronized with a set of distributed time servers, each with varying accurracy and reliability. Multiple time server masters may exist, but there is no requirement for election of a single master. Ntpd uses the adjtime(2) system call to slew the clock of the host by small amount in order to keep the clock synchronized. If the local clock exceeds the ``correct'' time by some threshold, then settimeofday(2) is used to make a step adjustment of the local clock. When ntpd(8) is started on the machine, it reads configuration information from /etc/ntp.conf which contains information about other ntp time servers and host specific information. Configuration information is listed one entry per line, with fields separated by whitespace. Lines which begin with a ``#'' character are treated as comments. Here is a sample configuration file: # # Local clock parameters # # Precision of the local clock to the nearest power of 2 # ex. # 60-HZ = 2**-6 # 100-HZ = 2**-7 # 1000-HZ = 2**-10 precision -7 # # intrinsic drift of local clock # tickadj 1 # # Peers Type Name # peer foo.umd.edu peer 192.5.39.94 peer bar.arpa server bogon.umd.edu passive bozo.umd.edu There are two major types of information specified in the configuration file: local host information, and remote timer server specifica- tion. The local host information is used to describe the intrinsic properties of the local host's timekeeping machinary. The commands in this group are precision, and tickadj. The precision command takes a number which describes the resolution of the local clock, as a power of two. For example, a VAX system typi- cally has a 100 HZ clock and thus a precision of -7. If the symbol _hz is defined in the namelist of /vmunix, this value is automatically set based on the value of hz. The tickadj command is used to specify the granularity of clock adjustment done by the adjtime(2) system call. If the -s option is speci- fied when ntpd is invoked, the kernel variable _tickadj is modified via /dev/kmem. The preferred method of setting tickadj is by changing the value in the kernel file conf.c instead of having ntpd set in this rude fashion. On a VAX, a value of 1 is usually used. See the README file for typical values of tickadj on various hardware platforms. Currently three timer server specifications are supported. They are peer, server and passive. Each command takes either a dotted-quad internet address or a host name. Each host specified in any one of the three commands is elligable to be synchronized to, while random hosts which set up a peer relationship are not. The peer and server commands create an active polling situation; in the case of peer, the NTP packets are sourced in Symmetric-Active mode, while using server causes the packets to be in Client mode. When reachability is lost with a configured host in either of these two cases, the daemon will continue to poll to re-acquire that host. A host specified in the passive command will not continue to be polled. If that host begins to poll us, it will be eligable as to be synchronized but will not be polled if reachability is lost. It is recommended that the bulk of the peers configured should be specified with the client keyword; this will minimize resource usage on the remote NTP server. If your host will be serving as a redistribution point for a cluster of hosts, you should set up peer relation- ships with higher quality clocks (lower stratums) and other equal stratum clocks. In other words, if you are not redistributing time to others, you shouldn't need to configure any peers in your NTP configuration; client specifications are more appropriate. NOTES
Please choose your NTP peers carefully; send mail to ntp@TRANTOR.UMD.EDU for assitance. There exists a broadcast command which will exercise completely untested code. Use at your own risk. There is no reason to believe that the hpux code which was added still works. In general, this code and adaptations of the NTPD to plat- forms without the adjtime(2) system call are not likely to be very satisfying. BUGS
No doubt. FILES
/etc/ntp.conf NTP daemon configuration file SEE ALSO
adjtime(2), settimeofday(2), RFC-958, Network Time Protocol (Version 1) Specification and Implementation, Revised 17 September 1988 AUTHORS
Louis A. Mamakos, louie@TRANTOR.UMD.EDU Michael G. Petry, petry@TRANTOR.UMD.EDU The University of Maryland, Computer Science Center. LOCAL
27 November 1996 NTPD(8)
All times are GMT -4. The time now is 04:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy