Displaying 20 results from an estimated 10000 matches similar to: "Puppet check ntpd change"
2009 Jun 12
3
how to set ntpd listen only 127.0.0.1 ?
Hello, all.
I would like to use ntpd for time sync not rdate or ntpdate.
but after installation the ntpd, I found that listened at all interfaces like below.
udp 0 0 192.168.111.2:123 0.0.0.0:* 11528/ntpd
udp 0 0 xxx.xxx.62.20:123 0.0.0.0:* 11528/ntpd
udp 0 0
2015 Feb 12
4
Why the command 'service ntpd stop' cause the time reversed?
A shell script is deployed to synchronize time, the script is invoked hourly by crontab, and its content is as follows:
#!/bin/bash
service ntpd stop
ntpdate 192.168.0.191 #it's a valid ntpd server in LAN
service ntpd start
chkconfig ntpd on
Inspected the Linux log(Centos6.4 /var/log/messages), found the following fragment:
Jan 7 14:00:01 host1 ntpd[32101]: ntpd exiting on signal 15
Jan 7
2015 Feb 12
2
Why the command 'service ntpd stop' cause the time reversed?
Hi guys,
Thanks for your reply.
I originally used the following command to synchronize time:
ntpdate 192.168.0.191
but got the error: ntpdate[16715]: the NTP socket is in use, exiting
So i used the way of stopping ntpd service.
Now I have known that using command "ntpdate -u 192.168.0.191" can solve the above error, and also know using ntpdate command is an improper way, i.e. should use
2008 May 15
3
ntpd date sync before service startup
Hello,
in system-config-date i have checkbox synchronize date before service
startup.
Which config switch,file does it affect? I want to turn it on on my CentOS
machine without xauth , just editing config files , i was hoping it could be
in /etc/sysconfig/ntpd but no.
Thanks in advance!
D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Jan 19
5
Time just moved backwards error even with ntpd
Scenario: server PC abruptly switched off due to power cable problems
(an UPS cannot solve this issue), so during shutdown Linux was not
able to resinchronize the system clock. After a few hours the server
come back on, Linux booted and the services (ntpd, dovecot and many
others) started
But the system clock was 45 minutes ahead, so:
Jan 19 11:13:39 gw ntpd[2112]: synchronized to LOCAL(0),
2015 Feb 12
3
Why the command 'service ntpd stop' cause the time reversed?
I've seen situations where people have put ntpdate in a cronjob to get
around issues with big time jumps at boot or dodgy clocks under
virtualization. There are much better solutions to this problem, so
let us know if this is the case for you.
K
2014 Jan 15
3
Advice in Time Sync
Dear all,
I would need some advice as I am a beginner in CentOS.
The question is as follows:
How to set up timing if NTP was block by ISP?
I have try many way such as link the timezone , getting from the hardware
clock.However , it is not the solution.
Please advice.
--
Regards,
Ku Wei Xiong
0166365831
2009 Nov 30
2
timekeeping on VM - ntpd running
This is really stupid question. But referring to:
http://lists.centos.org/pipermail/centos/2009-October/083791.html
I don't see any line related to ntpd in my /var/log/messages . Do I need to
turn-on ntpd for timekeeping on VMs? Some people say not to use ntpd on VMs
for timekeeping or is it ntpdate cron job? Can someone please elaborate on
this?
Thanks,
Jonathan.
-------------- next part
2011 Feb 06
5
system clock
I am running CntOS 5 with Gnome. Every now and then I have noticed
that the computer will somehow get the time wrong by several hours. Is
there a simple way to adjust the time? So far the only way I have found
is to boot into windows (it is a dual boot system), make the change
there, and then get back into CentOS. Older versions of Red Hat and
Fedora let you do it by right-clicking on
2011 May 08
6
ntp revisited (so what to do ?)
OK,
So what you people say is :
1. Run "ntpdate" during startup only once
2. After that, keep time with ntpd
Right ?
Regards,
spyros
----
"I merely function as a channel that filters
music through the chaos of noise"
- Vangelis
2005 May 13
1
RE: NTP time issues DomU''s
I think it''s perfect the way it is.
Run NTP in dom0, all the domU''s then have synchronized time.
I can still set timezones on all of these boxes independantly.
Timezone has nothing to do with NTP synchronization.
Tim:>
> yeah, i''m already doing that, I was just saying, it *seemed*
> like they were getting their time from domain0, and weren''t
>
2007 Nov 09
5
System on time
Hi,
To get my system on time, I usually issue these two commands:
# ntpdate de.pool.ntp.org
# hwclock -w
And when I want this to be done on startup, I put the two lines in
rc.local.
I wonder if this is an orthodox way to do things. Or is there something
more appropriate?
Niki Kovacs
2006 Nov 24
19
Time/clock issues with Xen 3.0.3?
The time appears to be perfect inside dom0, however all the domU''s
tend to have a slightly faster date which gets further out of sync
every day.
I''m currently using Xen 3.0.3 with Gentoo Linux, under 3.0.2 I had no
problems with domU clocks. Are there any known issues which could
cause this? I''d strongly prefer not to run ntpd in every domU,
having all domU clocks in
2016 Jan 27
4
NTP Service Running on Local Host does not Sync System Time
Hi List
I have ntp running as a service on a PC, with the expectation that it
would keep time in synch to my ntp server.
However, while I can manually update the time using "ntpdate -u ...",
I find that if I manually force the wrong time, the ntpd service does
not automatically re-synch the system time with the ntp server:
- Current time:
[admin at lol ~]# date
Wed Jan 27 10:54:21
2011 Mar 04
3
Updating hardware clock from cron
Is there a package to do this?
Normally the hardware clock is set during shutdown if one is running ntpd.
But if a long-running server shuts down unexpectedly, this isn't done, and
the hardware clock might be off by a lot when it comes back up. So setting
it periodically from a cron job could be useful.
What do others do? Adding a one liner to /etc/cron.daily that invokes
2006 Oct 11
3
NTP and hardware clock
Hi,
I had the following problem today. Because of a misconfigured
network switch one system suddenly didn't have any network.
After a reboot (with the network still unavailable) NTPD refused to start.
Most likely because the initial ntpdate failed to work. I find this
troubling, because when the network was restored, NTPD could have resumed
working (like I'd expect from a true
2010 Nov 12
7
hwclock problem
Hi.
I run peridocally (from cron) on all of my machines
30 * * * * root /sbin/hwclock --systohc
All of those machines in question take their time via NTP
from the same local server, and that server gets its time
from a ntp pool.
Now I had to reboot a couple of them two days ago and to my surprise
all had problems with the time upon booting.
Here are the important files:
[root at XXXXXX ~]
2019 Apr 08
3
Questions about time synchronisation in a multi-DC Samba environment
Hi All,
I am currently running a setup with a main DC ad1, that has ntpd
installed and is currently configured to retrieve the time from the UK
NTP time pool. I also have a second backup AD DC, ad2, on which I have
not installed ntpd but I have installed ntpdate. My current
understanding is that the setup I have just described is in-line with
the recommended best practices outlined in the
2017 Feb 05
2
Chrony vd NTP
On 05/02/17 16:15, Richard wrote:
>
>> Date: Sunday, February 05, 2017 10:26:05 -0500
>> From: Robert Moskowitz <rgm at htt-consult.com>
>>
>> I have read:
>> http://thegeekdiary.com/centos-rhel-7-chrony-vs-ntp-differences-bet
>> ween-ntpd-and-chronyd/
>>
>> My server is up all the time and will serve time to internal
>> systems (via
2008 May 13
8
Time moved backwards
Hello,
I would like to suggest a change in handling of 'Time moved backwards'
problem.
Right now dovecot just dies. So, the scenario:
1) Colocation server is shut down for some reason. The internal time drifts.
2) Server is started again.
3) Dovecot starts successfully.
4) In about a minute, NTP daemon feels confident about adjusting the system
time.
5) Dovecot sees the changed time and