Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ntpdate]

The tag has no usage guidance.

0
votes
1answer
16 views

Set up a NTP server which can be queried globally

I want to set up a server (hosted on aws/or a running system in some part of the world) as an NTP server that can be queried globally. Currently, I have modified the ntp.conf file on the node to be ...
0
votes
1answer
43 views

Query on NTP current time source

I have a query regarding ntpd options and the ntpq command. I have set up a local NTP Server in Ubuntu 14.04 PC and NTP Client is a custom development platform based on Renesas RZ/G1H. I have ...
1
vote
2answers
56 views

Red Hat Linux NTP Inconsistent Values

Recently I am experiencing NTP high delay and offset values on my server. $ ntpq -p remote refid st t when poll reach delay offset jitter =====================================...
1
vote
1answer
268 views

ntpdate take long time to sync (not ntpd)

I have referred ntpdate -d Server dropped Strata too high. This is a similar but different question. I having two devices. Freescale ARM board (NTP server) Tinker board (client) In the Freescale ...
2
votes
2answers
175 views

NTP 27 seconds Difference

I have DMZ server configured as NTP server to connect to external NTP servers and sync time in all devices in my corporate network. Below are the contents of my ntp.conf file in the DMZ server server ...
1
vote
3answers
2k views

Do “service ntpd restart” and “ntpdate <ntp-server-ip>” do the same work?

I often get large offsets when checking ntpd using ntpq -p, I generally restart the ntp daemon and it fixes the issue. I wanted to know if i can try the ntpdate <ntp-server-name> instead of ...
1
vote
2answers
2k views

How to force locally isolated ntpd update time

Objective I had locally isolated hosts. I'd like them all have the same time. One takes role of the time server, other syncs with it as clients. All machines has sporadic uptime. They are powered ...
1
vote
0answers
95 views

ntp client authentication fails with ntp server via symmetric key

I want to do ntp client authentication with ntp server using a symmetric key method, but after applying all the configuration on both side clients authentication is getting without key or on different ...
1
vote
0answers
244 views

NTP client reseting date to 1970

I have and debian running NTP client, but this cliente is reseting date to 1970.....and doesn't show any error in log. This is that I tried: 1) date (shows 1970) 2) stop NTP service 3) ntpdate with ...
-1
votes
1answer
69 views

building ntp without ntpdate

I would like to build ntp without ntpdate. I configured the installation with this command: --without-PACKAGE and replaced PACKAGE with ntpdate as it is done with the option --without-sntp. Somehow ...
1
vote
3answers
212 views

syslogd no such file or directory - OpenBSD 3.9

OK - long story short: I have OpenBSD box that was setup as a network appliance (long time ago) I have returned to life. Several errors I am working on and could use any help I can get. Errors on ...
1
vote
2answers
2k views

ntpdate, ntpd can update time from time.google.com but the ntpd service fails

I'm trying to synchronise my Ubuntu 12.04.5 instance with the Google timeservers at time{1,4}.google.com and I can successfully query using both ntpdate and ntpd but once I start ntp as a service it ...
6
votes
1answer
23k views

How to set up local ntp server without internet access on ubuntu?

I have tried several guides on how to set up a local ntp server on ubuntu but none seem to work correctly. My servers are drifting heavily in time for some reason and I have to keep their time close ...
0
votes
1answer
7k views

Getting an error when trying to start the “ntpdate.service” for RHEL7.1

I am trying to restart services for openstack, and under my /etc/systemd/system/multi-user.target.wants/ I run a systemctl start ntpdate.service and get the following error: May 31 12:05:39 ...
1
vote
1answer
3k views

Where can I see ntpd working status (log or message)

In my server the ntpd service is started but it does not seem to work. I can find nothing according to this ( Where are the ntpd log file located, and how can we configure the ntpd log file path? ) ...
2
votes
1answer
698 views

How can I synchronize system time with a NTP server continuously?

Is there a linux service that can synchronize system time with a NTP server with a given interval, such as 1 minute, 1 hour or 1 day ? Is it a good practice to run utpdate in a cron tab? e.g. */10 * ...
0
votes
0answers
337 views

Ntpdate is not running on my machine

I am trying to give IPv6 support for NTP server in my ntp scripts. Yet i have set the IPv6 NTP server directly by giving its IP in ntp.conf and restart the ntpd . Now in the logs of ntpq flash ...
0
votes
1answer
11k views

Ceph: HEALTH_WARN clock skew detected

I have configured ntp on Ceph nodes and time is synchronized! But ceph status always shows clock skew. ceph health detail shows: mon.node2 aadr 192.168.56.102:6789/0 clock skew 7192.45s > max 0....
-1
votes
1answer
921 views

ntpdate -u ipaddress working but ntpd not updating the time

ntpdate -u ipaddress working fine but ntpd not updating the time. Please suggest what is the reason. [root@commander_a ~]# ntpdate -d 10.120.8.32 13 Jan 01:14:46 ntpdate[6172]: ntpdate 4.2.6p3@1.2290 ...
2
votes
1answer
10k views

NTP not syncing automatically with my internal NTP server

I installed ntp on a centos server. I modified /etc/ntp.conf replacing the default server entries with one entry to my internal NTP server's IP (1.2.3.4 is the IP of the NTP server): server 1.2.3.4 ...
4
votes
1answer
5k views

Different offset in “ntpq -p” and “ntpdate -q”

I'm sometimes notified by our system monitoring about too high offsets in ntpd. When issuing ntpdate, it shows none. As ntpd adjusts time slowly, it seems to "think" there is an offset which needs to ...
6
votes
2answers
8k views

NTP running, server time is wrong on VM

The server time was 7 hours off (instead of 10AM it was 3AM, even though date showed the correct timezone). The output for ntpq was: $ ntpq -p remote refid st t when poll reach ...
0
votes
1answer
2k views

“NTP socket is in use” messages from ntpdate in syslog

In cron.log I can see that ntpdate is being triggered from a cron job which is running daily at 23:15 Mar 10 23:15:01 seitan /USR/SBIN/CRON[22407]: (root) CMD (/etc/network/if-up.d/ntpdate) But I ...
1
vote
1answer
1k views

How should I manage and troubleshoot NTP issues?

For some time now I've been fighting with some NTP issues in my company's network and I'm having a hard time to understand how the commands combine with the service. For example: In the server's /etc/...
1
vote
0answers
4k views

ntp is not syncing on centos server but gets response from remote server

I have googled for days before asking and I feel like I have tried everything but ntp is still not updating the time of the system automatically. I have left it running for days and still I get the ...
-1
votes
1answer
2k views

how to skip ntpdate synchronization during boot on centos

I moved a centos server to a new IP and now it's stuck on ntpdate synch during boot. I just need it to boot once so I can assign the new IP. Going back to the old IP is not an option right now. CTL C ...
0
votes
0answers
2k views

Ubuntu 12.04 LTS ntp not working

I'm having major woes trying to get ntp working on several ubuntu 12.04 servers. Note this is NTP to keep the time set on those servers. Not to distribute the time! I've installed several of those ...
2
votes
1answer
14k views

ntpdate failing “Name or service not known”

I've got a NAS that is Linux-based (Linux version 2.6.32.11-svn70860) and it is not able to set its time using ntp. The previous SysAdmin is long gone so I have no idea whether this problem just ...
1
vote
2answers
558 views

Clock skew on my VPS server

I am having a problem with the time on my VPS hosted at Rackspace. Its running Red Hat Enterprise Linux 5.4. Date commands gives a time which is 11 minutes ahead of the actual time. I am running ntpd ...
0
votes
1answer
65 views

Debian Server System time and time used by processes are different

I have a dedicated server running debian 7, the system time shows "Wed Aug 7 04:28:26 EAT 2013" I have restarted the server several times but processes like deluge and apache return http headers ...
1
vote
3answers
11k views

enable/disable ntp service on ubuntu 12.04

Our application runs on Ubuntu 12.04 Precise. On this server, we have both ntpdate and ntp. How to enable and disable the NTP service on-demand? I tried # sudo update-rc.d -f ntp remove/default ...
2
votes
1answer
14k views

NTP can't synchronise or find a suitable server

The problem I'm trying to solve is that NTP won't synchronize: $ sudo ntpstat unsynchronised time server re-starting polling server every 64 s Edit: Here's some ntpq output: $ sudo ntpq -c ...
1
vote
1answer
458 views

ntpdate setting incorrect date after boot

I have a few Debian XEN virtual machines and upgraded them to wheezy(I need the 3.2 kernel for a project). Everything was okay until I rebooted on of the machines. My current problem is, that ntpdate ...
2
votes
3answers
1k views

CentOS VM, NTP synchronization problems

We have three CentOS 5.9 VMs on an ESX3.5 host. Because of the nature of the services we provide it is required that the NTP time is synchronized and the time is correct on all three of them. ...
7
votes
2answers
811 views

how to auto-run ntdpdate command?

I have a few dedicated servers and for some reason they are totally unable to mantain the time properly synchronized, every few days they start having differences of minutes in the clock. So I have to ...
1
vote
2answers
3k views

ntpdate wrong date

Hi all I have an ubuntu8 server where I have problems with date. My current date (Europe/Rome) is 9:35 If I do date print me 11:12:34 I have seen my ntp.conf is: server 0.ubuntu.pool.ntp.org ...
1
vote
1answer
4k views

ntpdate and firewall: no server suitable for synchronization found

I'm behind a firewall and only have access to ports 80 and port 443. How can I sync my system's clock? Here's the command I issue: sudo ntpdate -u 1.debian.pool.ntp.org But I keep getting the ...
11
votes
2answers
47k views

ntpdate and ntpd failing to sync clock on Linux

I have a strange problem with one of my servers. ntpd and ntpdate fail to work, but debugging shows no errors at all. At first I thought maybe a local or network firewall was blocking UDP port 123, ...
0
votes
1answer
252 views

Need one time server clock sync for latency test, what should i use ntdate or ntpd

All machines are Ubuntu I need to sync clock one time for all machine in order to do a latency test. I read this article that said - ntpdate is a bit of a blunt instrument - it can only adjust ...
0
votes
1answer
237 views

Why running ntpdate one after one dosnt set offset to 0

I am running ntp update , one after one (with sec between them), In the log i see that there is always an offset , even if update was run few sec ago. Why is that?Is there a chance to get 0 offset? ...
4
votes
5answers
15k views

ntpdate works, but ntpd can't synchronize

This is in RHEL 5.5. First, ntpdate to the remote host works: $ ntpdate XXX.YYY.4.21 24 Oct 16:01:17 ntpdate[5276]: adjust time server XXX.YYY.4.21 offset 0.027291 sec Second, here are the server ...
5
votes
3answers
263 views

Is an ntpdate correction atomic?

I've got the following in /var/log/syslog, from yesterday (July 30th) Dec 16 22:54:05 omap ntpdate[432]: step time server 91.189.94.4 offset 12052648.821465 sec ntpdate 91.189.94.4 "corrected" my ...
1
vote
1answer
1k views

ntpdate cannot receive data

I have a problem where running ntpdate on my server doesn't return any data therefore I get the following error: [root@server etc]# ntpdate -d -u -v time.nist.gov 12 Apr 01:10:09 ntpdate[32072]: ...
1
vote
3answers
6k views

How to monitor the ntpd and ntpdate running status?

I have four servers running ntpd daemons, how can I monitor their running status? By the way, I am running ntpdate command with crontab.
2
votes
3answers
587 views

How to select a server when ntpd is syncing by a linux server?

The following is my ntpd configure file. I have no idea, which one ntpd will choice while it's syncing? /etc/ntp.conf server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org server pool.ntp....
1
vote
2answers
563 views

Server Time is *WAY* Off

The time on my server is about 19 hours behind and I cannot for the life of me figure out how to synchronize it. I did follow the steps here, and this is the output: [root@ip-72-167-39-231 ~]# /sbin/...
3
votes
3answers
506 views

ntpdate ignores my timezone

I'm trying to set up time sync on a CentOS 5.5 VDS but can't figure out why it won't update to the correct timezone. e.g. After manually setting the correct date and time when I run this: date &&...
0
votes
1answer
73 views

change priority of ntpdate

I managed to run ntpdate at a high priority. My initial thought is to use nice command, like: nice -n -10 ntpdate -p 8 -u $NTP_TIME_SERVER However, after checking the nice value of ntpdate command, ...
1
vote
3answers
741 views

Time cron not working

10 * * * * /usr/sbin/ntpdate pool.ntp.org >/dev/null 2>&1 The idea is to sync time every 10 minutes. However im waiting now for 15 minutes and nano /var/log/cron still returns empty. ...
5
votes
2answers
13k views

ntpdate: no server suitable for synchronization found

[root@myHost default]# ntpdate -d pool.ntp.org 15 Apr 11:21:18 ntpdate[6331]: ntpdate 4.2.0a@1.1190-r Thu Feb 24 20:39:57 EST 2011 (1) Looking for host pool.ntp.org and service ntp host found : magma....