Mint 18.1 hangs on shutdown

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
vinoman
Level 5
Level 5
Posts: 536
Joined: Wed Sep 05, 2007 8:46 am

Mint 18.1 hangs on shutdown

Post by vinoman » Wed Dec 21, 2016 11:24 am

For some reason Mint 18.1 Cinnamon will hang at shutdown. In 8 years of using Mint this never happened. What could cause this?

ro55mo
Level 1
Level 1
Posts: 31
Joined: Tue Dec 03, 2013 5:32 pm

Re: Mint 18.1 hangs on shutdown

Post by ro55mo » Wed Dec 21, 2016 3:17 pm

I am not getting hangs but the shutdown process is taking a lot longer, both on my desktop and laptop. I will be having a look at the logs tonight to see if anything is obviously wrong.

Laurent85
Level 15
Level 15
Posts: 5573
Joined: Tue May 26, 2015 10:11 am

Re: Mint 18.1 hangs on shutdown

Post by Laurent85 » Wed Dec 21, 2016 3:33 pm

On shutdown press the escape key when the Mint splash screen appears, can you see any error message ?
Image

ro55mo
Level 1
Level 1
Posts: 31
Joined: Tue Dec 03, 2013 5:32 pm

Re: Mint 18.1 hangs on shutdown

Post by ro55mo » Wed Dec 21, 2016 5:13 pm

Processes fighting over shutdown perhaps.

Dec 21 20:54:17 Polaris os-prober: debug: running /usr/lib/os-probes/mounted/90solaris on mounted /dev/sde1
Dec 21 21:03:15 Polaris cinnamon-session[2149]: WARNING: t+587.18870s: Unable to load desktop file '/home/ross-moutell/.dropbox-dist/dropbox-lnx.x86_64-16.4.29/dropbox.desktop': No such file or directory
Dec 21 21:03:15 Polaris cinnamon-session[2149]: Gtk-WARNING: t+587.26204s: gtk_window_set_titlebar() called on a realized window
Dec 21 21:03:16 Polaris cinnamon-session[2149]: WARNING: t+588.18134s: Requesting system restart...
Dec 21 21:03:16 Polaris cinnamon-session[2149]: WARNING: t+588.18180s: Attempting to restart using systemd...
Dec 21 21:03:16 Polaris cinnamon-session[2149]: WARNING: t+588.18196s: Requesting system restart...
Dec 21 21:03:16 Polaris cinnamon-session[2149]: WARNING: t+588.18215s: Attempting to restart using systemd...
Dec 21 21:03:16 Polaris cinnamon-session[2149]: WARNING: t+588.18245s: Requesting system restart...
Dec 21 21:03:16 Polaris cinnamon-session[2149]: WARNING: t+588.18264s: Attempting to restart using systemd...
Dec 21 21:03:16 Polaris cinnamon-session[2149]: WARNING: t+588.18290s: Requesting system restart...
Dec 21 21:03:16 Polaris cinnamon-session[2149]: WARNING: t+588.18321s: Attempting to restart using systemd...
Dec 21 21:03:16 Polaris cinnamon-session[2149]: WARNING: t+588.18948s: Unable to restart system via systemd: GDBus.Error:org.freedesktop.login1.OperationInProgress: There's already a shutdown or sleep operation in progress
Dec 21 21:03:16 Polaris cinnamon-session[2149]: WARNING: t+588.18953s: Using an MDM logout action to shutdown/reboot the system.
Dec 21 21:03:16 Polaris cinnamon-session[2149]: WARNING: t+588.18982s: Using an MDM logout action to shutdown/reboot the system.
Dec 21 21:03:16 Polaris systemd[2071]: Received SIGTERM from PID 1 (systemd).
Dec 21 21:03:16 Polaris systemd[2071]: Activating special unit exit.target
Dec 21 21:03:16 Polaris cinnamon-session[2149]: WARNING: t+588.19006s: Using an MDM logout action to shutdown/reboot the system.
Dec 21 21:03:16 Polaris cinnamon-session[2149]: WARNING: t+588.19025s: Using an MDM logout action to shutdown/reboot the system.
Dec 21 21:03:16 Polaris nvidia-persistenced: Received signal 15

ro55mo
Level 1
Level 1
Posts: 31
Joined: Tue Dec 03, 2013 5:32 pm

Re: Mint 18.1 hangs on shutdown

Post by ro55mo » Wed Dec 21, 2016 5:34 pm

The issue only seems to persist on the desktop where the above error is from. The laptop does not have the same error in the log and shuts down fast after I ran

sudo apt-get update
sudo apt-get upgrade

Both are running the 4.9 kernel but the problem only surfaced after the upgrade to Mint 18.1

The laptop is an ASUS UX305CA while the desktop is a custom built PC.

ro55mo
Level 1
Level 1
Posts: 31
Joined: Tue Dec 03, 2013 5:32 pm

Re: Mint 18.1 hangs on shutdown

Post by ro55mo » Wed Dec 21, 2016 6:02 pm

I opened the driver manager and went from nvidia-370 to nvidia-375

ec 21 21:56:47 Polaris cinnamon-session[2151]: WARNING: t+98.35674s: Unable to load desktop file '/home/ross-moutell/.dropbox-dist/dropbox-lnx.x86_64-16.4.29/dropbox.desktop': No such file or directory
Dec 21 21:56:47 Polaris cinnamon-session[2151]: Gtk-WARNING: t+98.45428s: gtk_window_set_titlebar() called on a realized window
Dec 21 21:56:48 Polaris cinnamon-session[2151]: WARNING: t+99.35717s: Requesting system shutdown...
Dec 21 21:56:48 Polaris cinnamon-session[2151]: WARNING: t+99.35753s: Attempting to shutdown using systemd...
Dec 21 21:56:48 Polaris systemd[1]: Stopping Console Manager...
Dec 21 21:56:48 Polaris systemd[1]: Unmounting /mnt/sde1...
Dec 21 21:56:48 Polaris systemd[1]: Stopping Save/Restore Sound Card State...
Dec 21 21:56:48 Polaris systemd[1]: Unmounting /mnt/RAID1...
Dec 21 21:56:48 Polaris systemd[1]: Stopping Authenticate and Authorize Users to Run Privileged Tasks...
Dec 21 21:56:48 Polaris systemd[1]: Stopped target Sound Card.
Dec 21 21:56:48 Polaris systemd[1]: Stopped Stop ureadahead data collection 45s after completed startup.
Dec 21 21:56:48 Polaris systemd[1]: Stopping Session c1 of user ross-moutell.
Dec 21 21:56:48 Polaris dbus[1234]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkitd.service'
Dec 21 21:56:48 Polaris systemd[1]: Stopping Manage, Install and Generate Color Profiles...
Dec 21 21:56:48 Polaris nvidia-persistenced: Received signal 15
Dec 21 21:56:48 Polaris systemd[1]: Stopping RealtimeKit Scheduling Policy Service...
Dec 21 21:56:48 Polaris nvidia-persistenced: Socket closed.
Dec 21 21:56:48 Polaris systemd[1]: Stopping NVIDIA Persistence Daemon...
Dec 21 21:56:48 Polaris nvidia-persistenced: PID file unlocked.
Dec 21 21:56:48 Polaris systemd[1]: Stopped target Mail Transport Agent.
Dec 21 21:56:48 Polaris nvidia-persistenced: PID file closed.
Dec 21 21:56:48 Polaris systemd[1]: Stopping Daemon for generating UUIDs...
Dec 21 21:56:48 Polaris nvidia-persistenced: The daemon no longer has permission to remove its runtime data directory /var/run/nvidia-persistenced
Dec 21 21:56:48 Polaris systemd[1]: Starting Unattended Upgrades Shutdown...
Dec 21 21:56:48 Polaris nvidia-persistenced: Shutdown (2033)

Shuts down fast now.

ro55mo
Level 1
Level 1
Posts: 31
Joined: Tue Dec 03, 2013 5:32 pm

Re: Mint 18.1 hangs on shutdown

Post by ro55mo » Wed Dec 21, 2016 6:04 pm

vinoman

Do you have an Nvidia GPU in your PC or laptop?

Post Reply

Return to “Software & Applications”