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 [ntpd]

The Network Time Protocol daemon (NTPd) is a daemon program that synchronizes the system time with time servers using the Network Time Protocol (NTP).

0
votes
1answer
20 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 ...
0
votes
4answers
52 views

ntp offset with stratum 1 , when using stratum 2

I was searching for a solution but didn't find clear answer. In my company, all our servers are syncing time with one of our private ntp servers (which are stratum 3 if I'm correct). These stratum 3 ...
0
votes
0answers
55 views

SOLVED NTP No Server Suitable For Synchronization Found Centos

I'm trying to set up an ntp server, and I can't query it. Whenever I try, I get this message: 6 Mar 18:57:01 ntpdate[27050]: no server suitable for synchronization found Here is my ntpd.conf file #...
1
vote
2answers
77 views

NTP Stratum Won't “Fudge”

I have two servers, blue and green. I want blue to pull time from green but it won't because the stratum on green is too high. Green has a regular internet connection. Blue does not. In googling ...
0
votes
1answer
60 views

Time is going too fast on FreeBSD 12 on compute engine

I have created a FreeBSD VM on Google cloud engine. The image is installed with ntpd configured and is running: $service ntpd status ntpd is running as pid 4950. But date is in the future, the time ...
1
vote
1answer
82 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
1answer
86 views

standalone NTP config

I am trying to setup local NTP server for some testing. I have installed NTP on Ubuntu 18.04 and commented server-pool block in the config file Here is the full config : driftfile /var/lib/ntp/ntp....
0
votes
1answer
20 views

Deny NTP servers with stratum more than specific level

How can I deny in my /etc/ntp/ntp.conf to sync with the NTP server with specific stratum level (e.g. more than 5 )? I have a bad NTP server in my local network and sometimes is going really wrong ...
1
vote
1answer
177 views

Behavior when not writing ntp.conf restrict

if I don't write restrict in ntp.conf , so ntp restrict is Unlimited? I wrote: interface ignore wildcard interface listen lo interface listen lan0 man page http://doc.ntp.org/current-stable/accopt....
5
votes
3answers
334 views

Ntpd on local network - Preventing clock drift causing high offsets

I have a local network with a microcontroller ARM as the NTP server and I have a desktop computer running with ubuntu 16.04 LTS as a NTP client. Once I start ntpd -g -c /etc/ntp.conf with the ...
0
votes
2answers
260 views

centOs : system time getting reset back to UTC after changing it using timedatectl

I have a Centos machine with version 7. I am trying to change the system time using the timedatectl command. The time gets changed but after a few seconds it gets reset back to it's original time. [...
3
votes
2answers
106 views

CentOS 4.6 Time Drift

I have a CentOS 4.6 box that was previously a physical device, and has been made into a VM, that has a cronjob to restart the server everyday at 23:00. Which is fine. However, since the shift to ...
0
votes
2answers
334 views

ntp doesn't sync - Server has gone too long without sync

I'm unable to sync with ntp server. Any suggestions on how to force the ntpdate to work and sync? ntp.conf on clients are default with only the server address changed. ntpdate -dv 10.10.10.10 26 Sep ...
-3
votes
1answer
366 views

Stop NTP from listening on ports.

On my server, the time should be fetched. It should no be provided to other servers. I would call this a client. But it seams that NTP is by default running in server mode, since it is opening ports ...
0
votes
2answers
285 views

Is ntp working or not?

I do not understand the output of ntpd. My question: Is the server foohost able to get the time from 30.251.32.1? Here is my config: foohost:/var/log # cat /etc/ntp.conf tinker panic 0 disable ...
1
vote
3answers
181 views

Does ntpd need to be enabled on Ubuntu 16.04

I recently noticed people attempting to ntpd reflection attacks on my server. So my questions are, how necessary is it that ntpd stays enabled, and how can I enable and disable it?
2
votes
1answer
75 views

ntpd -q lists no servers

I am trying to set up ntpd on my servers, so that their clocks are kept in sync. I am running Ubuntu 16.04. I have followed these instructions, and everything seems fine until the end. It's now a ...
0
votes
1answer
324 views

NTP doesn't seem to be enabled and synchronised in Debian Jessie

When I follow steps below in Ubuntu, NTP is enabled and synchronised. However, the case is opposite in Debian Jessie. Anybody knows the reason why Debian says "no"? Also should I worry at all since ...
3
votes
2answers
343 views

How to do proper VPS timekeeping?

I'm configuring a VPS to log some time-series online data and I notice that the time is off. I'd like to have better than 10 second precision on this. I read somewhere that VPS timekeeping is ...
1
vote
3answers
1k 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 ...
0
votes
1answer
998 views

How to enable NTP module CentOS 7?

I have one server running CentOS 7 to install ntp module I followed the below steps: yum install -y ntp systemctl start ntpd systemctl enable ntpd systemctl status ntpd timedatectl set-timezone ...
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 ...
0
votes
0answers
458 views

Minimalistic Linux NTP configuration for broadcast server and broadcast client

I would like to have a minimalistic NTP configuration setup for multiple Linux computers that are completely isolated from the Internet, sitting on the same network, which synchronise their clock to ...
1
vote
0answers
73 views

NTP Autokey IFF not working as expected

A) TARGET ARCHITECTURE We have a project where the target NTP time synchronisation architecture is the following: Stratum 1 servers provided by the customer. Stratum 2 servers: Spectracom SecureSync ...
2
votes
2answers
1k views

CentOS 7 - ntp stuck .INIT

I've two ntp servers with one client server. NTP servers are sync time OK. The client stuck on .INIT. step but sync manually works. The client ping and have allowed policies with NTP servers. Alls ...
1
vote
1answer
168 views

NTP peer's upstream source has same IP causing sync loop

I have an NTP server configured to use another NTP server (10.128.0.10) as its time source. Due to some network address translation, my NTP server (192.0.2.1) has the same IP address as the peer's ...
0
votes
1answer
1k views

NTP rejecting upstream due to “peer_dist”

Currently NTP is rejecting its upstream and is drifting quite badly (15 seconds of offset so far and growing). When checking the reason using ntpq the flash code is flash=400 peer_dist. Checking the ...
1
vote
1answer
239 views

Timesyncd with NTP server using md5

I have a FreeBSD server used as an NTP server with md5 as authentication. If I want to connect to it from a FreeBSD/Linux machine which has ntpd, I can simply add something along the lines of server ...
12
votes
1answer
528 views

NTP Service Auto-Discovery

Are there any methods I could use to provide auto-discovery for NTP? I recently moved to a new job that has a parent company that recently started providing Active Directory. I've been implementing ...
3
votes
0answers
287 views

Why is my 1PPS GPS stratum-1 clock always ~100ms behind other ntp servers?

I am trying to set up a stratum-1 time server. I have a Navisys GR-701 GPS which is capable sending a 1 PPS signal. According to the spec sheet and sources such as this, I am under the impression I ...
0
votes
1answer
784 views

ntpq -pn gets timeout, (because i think) nptd doesn't bind to ::1, why?

Linux myhost 4.1.12-103.7.1.el7uek.x86_64 #(host edited) Red Hat Enterprise Linux Server release 7.4 (Maipo) ntpd - NTP daemon program - Ver. 4.2.6p5 ntp-4.2.6p5-25.0.1.el7_3.2.x86_64 /etc/ntp.conf: ...
0
votes
2answers
932 views

Using host as ntp-client and lxc-router as ntp-server

I installed ntpd on my Debian host machine to keep the hardware RTC "up-to-date". By sharing the system's clock the time gets automatically propagated to all installed containers (lxc). One of those ...
1
vote
0answers
950 views

ntp_gettime() returns code 5

I'm trying syncronize clock on ubuntu server with commands: $sudo apt-get install ntp $sudo service ntp stop $sudo ntpd -gq $sudo service ntp start But it anyway gives me: $sudo ntptime ...
2
votes
2answers
332 views

Keeping server time in sync using ntpd

I understand ntpd has a -g option to allow a one time immediate clock set for large skews. Then the daemon runs and continuously adjusts. In the event of the skew becoming too large, the daemon exits ...
6
votes
2answers
373 views

NTP server architecture

I have a virtual environment running several Linux boxes and I'm planning how to manage all of the ntp architecture. As far as I know there is no use in having two servers in 'ntp.conf' file, there ...
0
votes
1answer
208 views

Why would NTP service successfully exit?

I am having recurrent problems with stalled datetime on my virtual Debian 8 machine running in Windows 8 Hyper-V. I haven't done much of a post-install configuration, it's a deliberately rather ...
3
votes
1answer
1k views

Trouble with NTPD on client-side

we have a problem with the ntp-client on several linux boxes. First of all, there three ntp servers in our network. On most of our boxes the synchronisation is fine. Since yesterday a handfull linux ...
1
vote
0answers
214 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
vote
1answer
615 views

ntpd synchronizes but chronyd fails

I am setting up a time server with chronyd but it fails to sync. # chronyc sources 210 Number of sources = 5 MS Name/IP address Stratum Poll Reach LastRx Last sample ==========================...
3
votes
4answers
440 views

ntp.conf: Is it reasonable to rely on default server list, exposed in CentOS?

Every time I setup a new Linux host (CentOS, lately), expecially when such an host will have some roles within our small datacenter (around 100 hosts), I take care to: install the ntp package; add, ...
3
votes
1answer
522 views

Enable NTP with clock slewing on RHEL6

I have a RHEL6 server running an Oracle database. When the server was built, NTP wasn't enabled or configured. My task is to do that without impacting the database. After doing some research, I was ...
1
vote
1answer
471 views

Is it possible to check NTPd status on a Busybox system?

I need to know if current date/time is reliable in a small embedded Linux system Busybox-based. I have Busybox ntpd running, but apparently there is no program to to query status. On a more ...
0
votes
0answers
39 views

AWS- Best way to control dates on distribuited systems?

I have a system that initially didn't need to control so tight the dates and times (it only worked in a single timezone), but as a requirement now we need to use multiple timezones on this system. ...
1
vote
1answer
560 views

Debian NTP Server cant synchronize

I have Debian 8 and NTP server. Problem is that, NTP Server use only "self" IP server and I don't know why ntpq -p: remote refid st t when poll reach delay offset jitter ========...
4
votes
2answers
794 views

ntpd uses wrong server

I recently moved my main time-server to another system, e.g. old.fqdn to new.fqdn. All subordinate ntpd daemons use ntp.fqdn as server, which is a CNAME now pointing to new.fqdn, i.e. host ntp.fqdn on ...
4
votes
0answers
519 views

After hours of running, NTP stops working

My NTP servers work great for a couple hours, then they stop working and show "reach: 0" for all hosts, like so: remote refid st t when poll reach delay offset jitter ========...
0
votes
1answer
1k views

ntpd high jitter and unable to sync

i have installed Linux Centos 7 in vmware workstation. i also have installed Quagga routing suite in centos and configured it to communicate with cisco Routers in GNS3 which is installed in Host (...
1
vote
1answer
1k views

NTP server permission denied when trying to read key file

I'm trying to set up an NTP timeserver for hosts on my internal network to synchronise against. I need to use authorisation in order to comply with PCI standards. I've created a set of keys using ...
1
vote
0answers
44 views

Server keep restarting after reaching 'starting web server'

Recently one of our server failed and wont start services. I looked over the /var/log/messages and found this: Dec 27 00:53:48 localhost apcupsd[3413]: apcupsd FATAL ERROR in linux-usb.c at line 609 ...
1
vote
1answer
322 views

SSHD, NTPD slow to respond

My server has been responding very slowly ever since I put it into production, however it's not slow how you might think. When I SSH to the physical virtualization server I receive the typical login ...