Displaying 20 results from an estimated 5000 matches similar to: "Why the command 'service ntpd stop' cause the time reversed?"
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
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
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
0
Why the command 'service ntpd stop' cause the time reversed?
On 2/11/2015 11:12 PM, David chen wrote:
> 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
2015 Feb 12
1
Why the command 'service ntpd stop' cause the time reversed?
Hi guys,
I don't use virtual machine.
The 192.168.0.191 is an internal ntpd server configured by administrator, so i can not see what ntp server it synchronizes to or what is its time reference.
But i have added a new line "server 192.168.0.191" into file "/etc/ntp.conf" on ntpd client machines, and the output to execute command ntpstat is as follows:
synchronised to NTP
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),
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
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:
2013 Oct 21
3
Puppet check ntpd change
Hi All,
I am using vms on gogrid and rackspace completely. I am decent but still
learning puppet. The biggest problem with vms, especially where I cant
control the Host is ntp time and date sync to be good.
Here is my config to sync ntp. Please dont tailor my code just help me fix
the problem. This code works 99% of the servers its on except for 2 centos
5 machines.
class base {
class {
2009 Jan 15
5
How to get djbdns to start early enough to satisfy ntpd at boot?
Hi there,
I've been a happy djbdns+tinydns user for many, many years. I
want to keep using it, so answers of the form "bletch! Use ISC
BIND the way BSD intended" will be ignored :-)
Having said that, one annoying consequence of my transition
some time ago to using ntpd, rather than just setting the clock
once-off with ntpdate as I used to, is that the /etc/rc.d
mechanism starts
2006 Apr 07
3
ntp server
I thought I'd play with making my system an ntp server.
I did the "service ntpd start" it started OK.
on my laptop I did "ntpdate IP" and it says no server for sync found.
My firewall has open ntp:udp
What did I miss?
Thanks,
Jerry
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
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
2009 Jun 06
13
dovecot and ntp: Fatal: Time just moved backwards
Hallo,
I am running dovecot on a PC (a workstation) to have a mail client
independent storage for my mails. Now I would like to have the system
clock set correctly by using ntpd or ntpdate (using debian/sid).
The problem is, that the PC is not online at boot time, but is set
online on demand manually using "pon" to start the pppd later. So ntpd
cannot sync the time on boot time
2007 Sep 03
5
Dom0 <> DomU clock sync
Hello !
Just a quick question about time synchronization between xen dom0 and
domUs...
We''re running Xen 3.1 64-bit, with 32 and 64 bits linux guests.
It''s up since 89 days and the domU''s time is around 5 minutes behind the
dom0,
which is updated via ntpdate...
Any idea why it doesn''t sync the guests even that
/proc/sys/xen/independent_wallclock is 0 ?
2011 Jan 20
1
Fwd: Re: Dotlock dovecot-uidlist errors / NFS / High Load
Stan,
Thanks for the reply. In our case we have actually already done most of
the work you suggested to no avail. We had rebuilt two new ntp servers
that sync against two stratum 1 sources, and all our nfs clients,
regardless of using dovecot, sync to those two machines. You bring up the
difference between bare metal and hypervisor, and we are running these
machines on vmware 4.0. All the
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
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
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
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