12-03-2012
fpmurphy is rigth, I'm not sure about all the NTP versions, but, in my experience, any time difference more than 5 minutes will produce a ntpd synchronization fail, it will back to the LOCAL time, so, if you have more than this difference, you must to do a ntpdate before to start the ntpd daemon.
This User Gave Thanks to hombreopaco For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to setup date / time sync on Solaris 8 using the command ntpdate. How do I set it up?
Thanks
Mark (1 Reply)
Discussion started by: miredale
1 Replies
2. Solaris
Hi experts,
I've a master server which sync to ntp time server daily by using xntpd daemon. Then my client servers will use ntpdate through cron job to synchronize the time hourly. (By using ntpupdate -s -B 'master server')
My question is, now I'll need to synchronize to a oracle server which... (2 Replies)
Discussion started by: kenzoo
2 Replies
3. SCO
Hi Guys,
A weird problem. I have disabled ntpd daemon on a HP server and placed
ntpdate in crontab instead and redirected the log to a file. This command
in cron synchronizes the server with a local time server every 15 minutes.
The weird part is that on 3 specific times (5:00 am, 10:00 am,... (2 Replies)
Discussion started by: Verifone
2 Replies
4. UNIX for Dummies Questions & Answers
hi,
i need to execute/visit a site to check if the site is up or not i have a server that have cron shedule that can execute a php file now how can i execute/visite a site using the same way as i execute a file?
thanks a lot for your help :) (1 Reply)
Discussion started by: jasonx22
1 Replies
5. Shell Programming and Scripting
Hi there,
Hi have a group of computers + a server (all debians) connected to each other on a LAN.
For some reasons that I've not decided and that I can't change, the computers cannot connect to the net. Moreover, the server has no ntp service.
Though, I need to find a way of setting all... (4 Replies)
Discussion started by: chebarbudo
4 Replies
6. Linux
All,
I need to write a script which can determine if my NTP client is X second off from the NTPD server time. I am looking for a crafty oneliner to calculate the time difference? (3 Replies)
Discussion started by: vada010
3 Replies
7. 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
8. Solaris
Hi,
Could someone Please clarify me here:
Is ntpdate command a part of ntpd, i mean does ntpdate command a dependent on ntpd? and can ntpdate be run in absence of ntpd service. (5 Replies)
Discussion started by: aksijain
5 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. UNIX for Dummies Questions & Answers
Good Morning
I need your help please, i tried to execute this script using nohup command but it gets in status stopped
nohup ./SapInterfases.sh > SapInterfases.log &
prodstg02$ jobs
+ Stopped(SIGTTOU) nohup ./SapInterfases.sh > SapInterfases.log &
I check out log:
$ more... (15 Replies)
Discussion started by: alexcol
15 Replies
LEARN ABOUT OSF1
ntp.drift
ntp.drift(4) Kernel Interfaces Manual ntp.drift(4)
NAME
ntp.drift - Network Time Protocol (NTP) drift file
DESCRIPTION
When the NTP daemon (xntpd) is first started, it computes the error in the intrinsic frequency of the clock on the computer it is running
on. This process usually takes about a day or two after the daemon is started to compute a good estimate of this (and it needs a good
estimate to synchronize closely to its server). Once the initial value is computed, it will change only by relatively small amounts during
the course of continued operation.
The driftfile declaration should always be included in the ntp.conf file. This provides xntpd with complete path name to a file in which
it can store the current value of the frequency error. That way, if the daemon is stopped and restarted, it can reinitialize itself to the
previous estimate without spending time recomputing the frequency estimate.
The ntp.drift file contains one line with the following format: freq_offset flag Specifies the nominal frequency offset. DO NOT modify
this field. Specifies the method used to improve system clock accuracy. Specifies that xntpd runs a Phase-Locked Loop (PLL) algorithm to
keep synchronized with other hosts. This is the default. Specifies the use of the PLL algorithm in the kernel. This requires the
NTP_TIME kernel option. After the option is configured in the kernel, edit the ntp.drift file and change the flag value to 1.
See System Administration for information on the NTP_TIME kernel option.
FILES
Conventional name of the drift file
RELATED INFORMATION
Commands: ntpdate(8), ntpq(8), xntpd(8), xntpdc(8)
Files: ntp.conf(4)
Network Administration, System Administration delim off
ntp.drift(4)