05-23-2013
perhaps xntpd is better solution. I think its more advanced, doesn't rely on cron. it synchronizes time only when necessary, taking drift into account (or something like that).
9 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. 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
3. 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
4. AIX
How to check the ntpd version of AIX 5.3 ? (3 Replies)
Discussion started by: alanlkw
3 Replies
5. 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
6. 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
7. 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
8. Solaris
Hi,
Could somebody please explain me.
why is it necessary to execute the "ntpdate" command only when ntp daemon is stopped , and also the probabale solution to reduce the high offset value.
Thanks !!
Laxxi (4 Replies)
Discussion started by: Laxxi
4 Replies
9. UNIX for Dummies Questions & Answers
Hi all. I'm new to this forum and Linux in general. Last month I ran into a problem at work and never got around to solving it.
We have an old Linux workstation that synchs its time to a Windows XP machine running w32time. The version of ntpdate is 4.2.0.a running on Linux kernel 2.6.17.6. It... (0 Replies)
Discussion started by: rathauneek
0 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)