Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #177385

can not set time

From Matthias Bodenbinder <matthias@bodenbinder.de>
Newsgroups linux.debian.user
Subject can not set time
Date 2017-02-04 14:10 +0100
Message-ID <t78gh-RG-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

I have a weird issue with one of my debian boxes (LMDE): I can not set the time. The time is off by ca. 14 min and whatever I try to fix it is failing. I tried ntp, ntpdate, date and rdate. Nothing helps.

ntpdate shows the offset but is not fixing it.

91# ntpdate 0.debian.pool.ntp.org
 4 Feb 14:03:55 ntpdate[8159]: step time server 85.114.132.52 offset -855.296824 sec


rdate is showing some interesting behaviour. If I run a command like "date && rdate -v  ptbtime1.ptb.de && date" to see the time before and after rdate, the output suggests that rdate was successful:

81# date && rdate -v  ptbtime1.ptb.de && date
Sat Feb  4 14:16:04 CET 2017
Sat Feb  4 14:01:49 CET 2017
rdate: adjust local clock by -855 seconds
Sat Feb  4 14:01:49 CET 2017

But in fact 1 second later the time is back to old values again:

82# date
Sat Feb  4 14:16:06 CET 2017


timedatectl is showing wrong time as well:

93# timedatectl
      Local time: Sat 2017-02-04 14:20:39 CET
  Universal time: Sat 2017-02-04 13:20:39 UTC
        RTC time: Sat 2017-02-04 13:20:39
       Time zone: Europe/Berlin (CET, +0100)


But is should be:
      Local time: Sa 2017-02-04 14:06:25 CET
  Universal time: Sa 2017-02-04 13:06:25 UTC
        RTC time: Sa 2017-02-04 13:06:25
       Time zone: Europe/Berlin (CET, +0100)


I am lost.

Matthias

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

can not set time Matthias Bodenbinder <matthias@bodenbinder.de> - 2017-02-04 14:10 +0100
  Re: can not set time Jude DaShiell <jdashiel@panix.com> - 2017-02-04 14:40 +0100
    Re: can not set time Matthias Bodenbinder <matthias@bodenbinder.de> - 2017-02-04 15:10 +0100
      Re: can not set time Jude DaShiell <jdashiel@panix.com> - 2017-02-04 17:50 +0100
        Re: can not set time Matthias Bodenbinder <matthias@bodenbinder.de> - 2017-02-04 18:10 +0100
  Re: can not set time Matthias Bodenbinder <matthias@bodenbinder.de> - 2017-02-04 15:50 +0100
    Re: can not set time Matthias Bodenbinder <matthias@bodenbinder.de> - 2017-02-04 17:50 +0100

csiph-web