10-11-2012
the ntp client is running. if not the ntpq output won't work. for me it looks like the ntp server can not be reached or has no ntp service running. try to ping the ntp server, if that works check the configuration of the server.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I'm sure this question was asked before but I couldn't find what I was looking for in the 2 threads I found on here.
Here's my question/problem:
I have an isolated (no connection to outside world at all) Unix network. I want to have time sync between my other non-PC based system... (0 Replies)
Discussion started by: mariobernier
0 Replies
2. Windows & DOS: Issues & Discussions
All,
I have a Windows XP client which I need to get time synchronized from a Linux ntp server. What are the commands to perform the setup and configuration?
Thanks,
Mike (1 Reply)
Discussion started by: bubba112557
1 Replies
3. 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
4. Red Hat
Hi,
I'm trying to configure NTP client, however it failes to sync correctly.
Even after I manually set the time, once it connects with the NTP server, it pushes the time ahead by 4 hours.
We have set an AIX host as NTP server. It works fine for other AIX hosts, however fails on RHEL 5.4
... (4 Replies)
Discussion started by: max_min
4 Replies
5. Solaris
hi
Please give me the configuration steps for NTP server.
How do i sync other servers with this NTP server
thanks to all (1 Reply)
Discussion started by: sijocg
1 Replies
6. Solaris
How to add offset to NTP client so that, for eg., clock is -20 seconds? (2 Replies)
Discussion started by: orange47
2 Replies
7. UNIX for Dummies Questions & Answers
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;
ntpq -p
ntpq: read: Connection refused
Here this is the ntp.conf file:
cat /etc/ntp.conf
# BEGIN NTP SERVERS
server... (6 Replies)
Discussion started by: dyavuzy1
6 Replies
8. Red Hat
Hi,
Could you please explain about "restrict" parameters in /etc/ntp.conf in ntp client and ntp Servers.
Example:
restrict 127.0.0.1
restrict -6 ::1
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
Regards,
Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies
9. Red Hat
Dear concern,
I want to configure a yum client node. Yum configuration file (/etc/yum.repos.d/) is given below:
# cat server.repo
name=rhel6
baseurl=ftp://192.168.225.3/pub/Packages/
enabled=1
gpgcheck=0
We got following error message while executing yum list command.
# yum clean... (1 Reply)
Discussion started by: makauser
1 Replies
10. 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
ntp-wait(1) User Commands ntp-wait(1)
NAME
ntp-wait - Wait for ntpd to stabilize the system clock
SYNOPSIS
ntp-wait [-flags] [-flag [value]] [--option-name[[=| ]value]]
All arguments must be options.
DESCRIPTION
ntp-wait will send at most num-tries queries to ntpd(8), sleeping for secs-between-tries after each status return that says ntpd(8) has not
yet produced a synchronized and stable system clock.
ntp-wait will do this quietly, unless the -v flag is provided. This can be useful at boot time, to delay the boot sequence until after
ntpd -g has set the time.
OPTIONS
-n number, --tries=number
Number of times to check ntpd. This option takes an integer number as its argument. The default number for this option is:
100
The maximum number of times we will check ntpd to see if
it has been able to synchronize and stabilize the system clock.
-s secs-between-tries, --sleep=secs-between-tries
How long to sleep between tries. This option takes an integer number as its argument. The default secs-between-tries for this
option is:
6
We will sleep for secs-between-tries after each query
of ntpd that returns "the time is not yet stable".
-v, --verbose
Be verbose.
By default, ntp-wait is silent.
With this option, ntp-wait will provide status information.
-?, --help
Display usage information and exit.
-!, --more-help
Pass the extended usage information through a pager.
-v [{v|c|n --version [{v|c|n}]}]
Output version of program and exit. The default mode is `v', a simple version. The `c' mode will print copyright information and
`n' will print the full copyright notice.
EXIT STATUS
One of the following exit values will be returned:
0 (EXIT_SUCCESS)
Successful program execution.
1 (EXIT_FAILURE)
The operation failed or the command syntax was not valid.
70 (EX_SOFTWARE)
libopts had an internal operational error. Please report it to autogen-users@lists.sourceforge.net. Thank you.
AUTHORS
Harlan Stenn
NOTES
This document corresponds to version 4.2.8p13 of NTP.
This manual page was AutoGen-erated from the ntp-wait option definitions.
ntp (4.2.8p13) 20 Feb 2019 ntp-wait(1)