06-11-2009
if you can't reach the ntp server over your network, how can you get it synced? what is the "ntpq -p" output from the other server?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
ntpd.conf
NTPD.CONF(5) File Formats Manual NTPD.CONF(5)
NAME
ntpd.conf - Network Time Protocol daemon configuration file
DESCRIPTION
This manual page describes the format of the ntpd(8) configuration file.
The optional weight keyword permits finer control over the relative importance of time sources (servers or sensor devices). Weights are
specified in the range 1 to 10; if no weight is given, the default is 1. A server with a weight of 5, for example, will have five times
more influence on time offset calculation than a server with a weight of 1.
ntpd.conf has the following format:
Empty lines and lines beginning with the `#' character are ignored.
Keywords may be specified multiple times within the configuration file. They are as follows:
listen on address
OpenNTPd has the ability to sync the local clock to remote NTP servers and, if this directive is specified, can act as NTP server
itself, redistributing the local clock.
Specify a local IP address or a hostname the ntpd(8) daemon should listen on to enable remote clients synchronization. If it
appears multiple times, ntpd(8) will listen on each given address. If `*' is given as an address, ntpd(8) will listen on all local
addresses. ntpd(8) does not listen on any address by default. For example:
listen on *
or
listen on 127.0.0.1
listen on ::1
sensor device [correction microseconds] [weight weight-value]
Specify a timedelta sensor device ntpd(8) should use. The sensor can be specified multiple times: ntpd(8) will use each given sen-
sor that actually exists. Non-existent sensors are ignored. If `*' is given as device name, ntpd(8) will use all timedelta sensors
it finds. ntpd(8) does not use any timedelta sensor by default. For example:
sensor *
sensor udcf0
An optional correction in microseconds can be given to compensate for the sensor's offset. The maximum correction is 127 seconds.
For example, if a DCF77 receiver is lagging 15ms behind actual time:
sensor udcf0 correction 15000
server address [weight weight-value]
Specify the IP address or the hostname of an NTP server to synchronize to. If it appears multiple times, ntpd(8) will try to syn-
chronize to all of the servers specified. If a hostname resolves to multiple IPv4 and/or IPv6 addresses, ntpd(8) uses the first
address. If it does not get a reply, ntpd(8) retries with the next address and continues to do so until a working address is found.
For example:
server 10.0.0.2 weight 5
server ntp.example.org weight 1
To provide redundancy, it is good practice to configure multiple servers. In general, best accuracy is obtained by using servers
that have a low network latency.
servers address [weight weight-value]
As with server, specify the IP address or hostname of an NTP server to synchronize to. If it appears multiple times, ntpd(8) will
try to synchronize to all of the servers specified. Should the hostname resolve to multiple IP addresses, ntpd(8) will try to syn-
chronize to all of them. For example:
servers pool.ntp.org
FILES
/etc/openntpd/ntpd.conf
default ntpd(8) configuration file
SEE ALSO
ntpd(8), sysctl(8)
HISTORY
The ntpd.conf file format first appeared in OpenBSD 3.6 .
$Mdocdate: October 2 2007 $ NTPD.CONF(5)