On Wed, 9 Nov 2016 18:48:26 +0100, Luca wrote:
>Ever since daylight saving time change my pc(with the right system
>time) won't shut down anymore (stuck). So i changed it manually in the
>BIOS (1 hour back), then it worked. Now after some days i wanted to
>try it again .. i put the BIOS time 1 hour in advance now it won't
>shutdown again, any ideas?
>
>I'm using xubuntu 16.04  4.4.0-45-generic #66-Ubuntu

I can't imagine any reason why the time should be related to a
shutdown, as long as you don't run something like

  shutdown -hP 28

;).

What's the output of

  timedatectl status

?

Don't worry, even if you should use "RTC in local TZ: yes" as I do, it
unlikely does cause an issue, at least not related to the shutdown.

Btw. you can set all clocks by command line. I'm using old scripts,
so I don't do it the way most people do.
  
  sudo -i
  systemctl stop systemd-timesyncd.service
  timedatectl set-local-rtc 1
  timedatectl set-timezone Europe/Berlin
  apt-get update -qq && apt install ntpdate
  ntpdate ntp.favey.ch && hwclock --set --date "$(date)"

Don't do the same, unless you have a reason to do so. I only want do
demonstrate, that even exotic set-ups usually don't cause issues.

What's the output, if you run
  
  journalctl -r | grep down | head

and

  shutdown -h now

?

Apropos exotic set-up, I get

  $ shutdown -h now 
  Failed to set wall message, ignoring: Interactive authentication
  required. Failed to power off system via logind: Interactive
  authentication required. Failed to talk to init daemon.

Root privileges are required to shutdown my machine. Your machine should
shutdown or at least provide some informative output.

Any chance that you customized your install, too, or that you sync time
of several machines?

Regards,
Ralf

-- 
xubuntu-users mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users

Reply via email to