Questions tagged [ntpdate]

ntpdate is a deprecated ntp client for unix/linux

ntpdate is a unix client used to quickly synchronize and set computers' date and time by querying a NTP (Network Time Protocol) server. As of 09/2012 it was deprecated.

Similar

25 questions
68
votes
12 answers

How to use ntpdate behind a proxy?

Is it possible to use ntpdate behind an HTTP proxy with authentication? In case it is not possible, are there any good alternatives?
6
votes
2 answers

linux "date -s" command not working to change date on a server

date +%T --set="12:19:06" 12:19:06 date Mon Nov 26 12:37:32 SAST 2012 date 112613232012 Mon Nov 26 13:23:00 SAST 2012 date Mon Nov 26 13:42:27 SAST 2012 I have tried many different forms of this command but nothing seems to work. In changing the…
nelaaro
  • 14,139
  • 30
  • 88
  • 115
6
votes
2 answers

Linux ntpd and ntpdate service

Running ntsysv on my CentOS terminal show both ntpd and ntpdate checked. Is it redundant to have both service to run at start-up?
MegaNairda
  • 709
  • 2
  • 9
  • 18
5
votes
2 answers

Why is my machine's time drifting so quickly?

I have an Ubuntu 14.04.4 LTS VM running under Vagrant and VirtualBox. When comparing its time to the server's I see things like this: $ ntpdate -q ntp.ubuntu.com server 91.189.94.4, stratum 2, offset -0.527602, delay 0.11812 server 91.189.89.198,…
John Bachir
  • 1,389
4
votes
1 answer

ntpdate[3912]: no server suitable for synchronization found

I've configured ntpd on a CentOs install with a simple /etc/ntp.conf with only 3 lines: server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org server 192.168.1.1 Unfortunately, no matter what host I run against I cannot get ntpdate to…
3
votes
1 answer

ntpdate command not found [only when using with cron]

I have a linux machine with ntpdate installed and it is working when i run it from my ssh terminal or from a shell script manually. However , when i add the shell script to crontab i get the error ntpdate: command not…
Arun
  • 174
  • 1
  • 1
  • 7
3
votes
2 answers

is there any option ntpq for the ntp server connectivity test like ntpdate -d command?

Is there any option ntpq for the ntp server connectivity test like the ntpdate -d command? ntpdate -d ntpserverip This command shows the suitable ntp server for synchronization. What the equivalent for the ntpq command? ntpdate -d ntpserverip …
arifisik
  • 312
2
votes
0 answers

Godaddy fails to properly configure NTP on their node server hosting my VPS

I have a few VPS servers with Godaddy and with every new server I contracted I had to ask them to set up NTP on the node hosting my container. They always did until now. It seems like their technicians don't have a clue when it comes to time…
2
votes
1 answer

system clock is 5.5 ahead although ntp

I've checked configs and even installed ntp server, nothing seem to fix this, sudo dpkg-reconfigure tzdata Current default time zone: 'Asia/Tehran' Local time is now: Thu May 9 00:49:38 IRDT 2013. Universal Time is now: Wed May 8 20:19:38…
Saeed
  • 251
2
votes
2 answers

How inaccurate is my system clock on Unix?

Is there a user-mode command that will tell how inaccurate my system clock is according to NTP servers? There's the ntpdate command, but the man page doesn't say what the numbers mean. What are offset and delay? Is it relative to system time? What…
yonran
  • 702
2
votes
1 answer

clockdiff versus ntpdate -q

I want to know the time difference between the clocks on two different hosts. I've found clockdiff and ntpdate -q both perform similar functions. Please provide some insight on the difference between the two in terms of accuracy, what they're…
ChaimKut
  • 553
1
vote
1 answer

Understanding time synchronization in Linux

My /etc/localtime on my Ubuntu gives my correct timezone - EAT which is UTC +3. The date command gives the time as 21:44:58 EAT which is about the correct time (I'm not concerned about accuracy to the second in this question). However, when I do…
krm
  • 135
1
vote
2 answers

How to find a process that runs hourly

CentOS 7, set it up about 3 years ago, so I might not remember every decision I made... Once an hour, something does a time update. I don't have ntp installed, only ntpdate. Don't have chrony installed either. There's nothing in /etc/crontab,…
1
vote
0 answers

Can I use the IP of an internal private NTP service instead pool.ntp.org spublic service with ntpdate?

I am not so into Linux and I have the following problem syncronzing two Linux machine using ntpdate. I know that I can do it running this command: ntpdate pool.ntp.org that creats the timesync.sh script using the time provided by the pool.ntp.org…
AndreaNobili
  • 7,381
1
vote
2 answers

I want to my ntpd update time more frequently and asap

I'm trying to config ntpserver and client.what should I do to ntpd sync time more frequently and asap? when I change the time in client manually and then restart ntpd service , after 16 s time is synced.but when I change time again without…
Ali
  • 25
1
2