02-22-2014
I am going to guess that what you mean is that the startup script for ntpd takes a while during bootup. Some ntp startup script first invoke ntpdate to quickly set the clock to a very close correct time and then start ntpd. It may be that ntpdate to still trying to contact an ntp peer that is not accessible with the new IP address. With redhat, there is a separate config file for ntpdate called /etc/ntp/step-tickers. Don't know about Debian. Check for something like that.
This User Gave Thanks to Perderabo For This Post:
6 More Discussions You Might Find Interesting
1. HP-UX
Hello,
I'm looking for assitance on setting up network time protocol on my HP-ux boxes.
I have edit the .conf file accordingly. And /etc/services. But whenever I try and start the service nothing happens at all. No error message, nothing.
I have a SCO box as a time server and I wish... (0 Replies)
Discussion started by: satinet
0 Replies
2. Linux
Hi Linux Admin Guys
My onsite server is always 15 min slow and seems like NTPD (Network Time Protocol (NTP) daemon) not running properly. can anyone suggest me how to rectify this problem? we can't seem to get NTP to properly sync the clock.
Any help is resolving the issue will be helpful.... (12 Replies)
Discussion started by: csaha
12 Replies
3. AIX
How to check the ntpd version of AIX 5.3 ? (3 Replies)
Discussion started by: alanlkw
3 Replies
4. Shell Programming and Scripting
I need to replace the line daemon ntpd $OPTIONS in the following script with daemon ntpd $OPTIONS 2>&1 > /var/log/ntpd.log &
what will happen?
The idea of replacing is to capture the output on the console into ntpd.log file.
Will this work?
... (1 Reply)
Discussion started by: naive1977
1 Replies
5. Red Hat
as advised and documented, i'm trying to use the ntpd -gq instead of ntpdate. The result is that clock not set. as below. However ntpdate is working ok and had set the clock correctly
this is the ntp.conf file:
# cat /etc/ntp.conf
logfile /var/log/ntp.log
driftfile /var/lib/ntp/drift... (6 Replies)
Discussion started by: ahmad.zuhd
6 Replies
6. IP Networking
I have noticed that the initial congestion window in my traces is 8920bytes~=6*1448. rfc3390 states the initial cwand should be max 4000 bytes(around 3*1448).
At first i thought it might be because i'm running my server on mac os x, so apple might have modified the tcp stack. Therefore I tried... (2 Replies)
Discussion started by: ddayan
2 Replies
LEARN ABOUT MINIX
ntp-wait
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)