I recently encountered a strange phenomenon where my NAS computer (Linux NFS 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux) where I am running Linux Mint 20 Mate would shut itself down every few weeks. I first suspected power-outages or failing hardware but by looking at the logs, I can see that this is a software shutdown.
The thing is, based on those logs, I cannot determine what is causing these shutdowns.
There was nobody using the NAS at the times the shutdowns occurred and there was nothing special running there either. I am also the only one with physical access so nobody pressed the power button either. I also did some quick stress tests and there seem to be nothing wrong with the hardware.
Below, I am attaching the relevant portions of the logs and I would be very grateful for any ideas you can give me. Note that I selected portion of the logs from the point where it seem to start happening to a point where normal shutdown processes are underway.
Syslog:
Code: Select all
Apr 18 04:54:24 NFS rtkit-daemon[2202]: Supervising 2 threads of 1 processes of 1 users.
Apr 18 04:54:24 NFS rtkit-daemon[2202]: Successfully made thread 74840 of process 2121 owned by '1000' RT at priority 5.
Apr 18 04:54:24 NFS rtkit-daemon[2202]: Supervising 3 threads of 1 processes of 1 users.
Apr 18 04:54:27 NFS NetworkManager[1852]: <info> [1618714467.5956] manager: NetworkManager state is now CONNECTED_SITE
Apr 18 04:54:27 NFS dbus-daemon[1850]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.5' (uid=0 pid=1852 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Apr 18 04:54:27 NFS systemd[1]: Starting Network Manager Script Dispatcher Service...
Apr 18 04:54:27 NFS dbus-daemon[1850]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Apr 18 04:54:27 NFS systemd[1]: Started Network Manager Script Dispatcher Service.
Apr 18 04:54:27 NFS NetworkManager[1852]: <info> [1618714467.8640] manager: NetworkManager state is now CONNECTED_GLOBAL
Apr 18 04:54:34 NFS systemd[2112]: Stopping D-Bus User Message Bus...
Apr 18 04:54:34 NFS gvfsd[2462]: A connection to the bus can't be made
Apr 18 04:54:34 NFS systemd[2112]: gvfs-mtp-volume-monitor.service: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: gvfs-gphoto2-volume-monitor.service: Succeeded.
Apr 18 04:54:34 NFS xdg-desktop-por[2683]: Failed to close session implementation: The connection is closed
Apr 18 04:54:34 NFS systemd[1]: run-user-1000-gvfs.mount: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: run-user-1000-gvfs.mount: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: gvfs-goa-volume-monitor.service: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: xdg-permission-store.service: Main process exited, code=exited, status=1/FAILURE
Apr 18 04:54:34 NFS systemd[2112]: xdg-permission-store.service: Failed with result 'exit-code'.
Apr 18 04:54:34 NFS systemd[2112]: obex.service: Main process exited, code=exited, status=1/FAILURE
Apr 18 04:54:34 NFS systemd[2112]: obex.service: Failed with result 'exit-code'.
Apr 18 04:54:34 NFS evolution-calen[2758]: Error setting property 'ConnectionStatus' on interface org.gnome.evolution.dataserver.Source: The connection is closed (g-io-error-quark, 18)
Apr 18 04:54:34 NFS evolution-calen[2758]: Error setting property 'ConnectionStatus' on interface org.gnome.evolution.dataserver.Source: The connection is closed (g-io-error-quark, 18)
Apr 18 04:54:34 NFS evolution-addre[2785]: Error setting property 'ConnectionStatus' on interface org.gnome.evolution.dataserver.Source: The connection is closed (g-io-error-quark, 18)
Apr 18 04:54:34 NFS systemd[1]: run-user-1000-doc.mount: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: run-user-1000-doc.mount: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: gvfs-metadata.service: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: xdg-document-portal.service: Main process exited, code=exited, status=20/n/a
Apr 18 04:54:34 NFS systemd[2112]: xdg-document-portal.service: Failed with result 'exit-code'.
Apr 18 04:54:34 NFS systemd[2112]: gvfs-afc-volume-monitor.service: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: gvfs-udisks2-volume-monitor.service: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: xdg-desktop-portal.service: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: xdg-desktop-portal-gtk.service: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Stopping Session c1 of user salon.
Apr 18 04:54:34 NFS systemd[1]: Removed slice system-clean\x2dmount\x2dpoint.slice.
Apr 18 04:54:34 NFS systemd[2112]: evolution-source-registry.service: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Removed slice system-modprobe.slice.
Apr 18 04:54:34 NFS pulseaudio[2121]: ICE default IO error handler doing an exit(), pid = 2121, errno = 32
Apr 18 04:54:34 NFS systemd[1]: Removed slice system-postfix.slice.
Apr 18 04:54:34 NFS systemd[1]: Stopped target Graphical Interface.
Apr 18 04:54:34 NFS systemd[1]: Stopped target Multi-User System.
Apr 18 04:54:34 NFS systemd[1]: Stopped target Login Prompts.
Apr 18 04:54:34 NFS systemd[1]: Stopped target RPC Port Mapper.
Apr 18 04:54:34 NFS systemd[1]: Stopped target Sound Card.
Apr 18 04:54:34 NFS systemd[1]: Stopped target Timers.
Apr 18 04:54:34 NFS systemd[1]: anacron.timer: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Stopped Trigger anacron every hour.
Apr 18 04:54:34 NFS systemd[1]: apt-daily-upgrade.timer: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: dbus.service: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Stopped Daily apt upgrade and clean activities.
Apr 18 04:54:34 NFS systemd[1]: apt-daily.timer: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Stopped Daily apt download activities.
Apr 18 04:54:34 NFS systemd[2112]: Stopped D-Bus User Message Bus.
Apr 18 04:54:34 NFS systemd[1]: e2scrub_all.timer: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Stopped Periodic ext4 Online Metadata Check for All Filesystems.
Apr 18 04:54:34 NFS systemd[1]: fstrim.timer: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Stopped Discard unused blocks once a week.
Apr 18 04:54:34 NFS systemd[2112]: evolution-calendar-factory.service: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: fwupd-refresh.timer: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Stopped Refresh fwupd metadata regularly.
Apr 18 04:54:34 NFS systemd[1]: logrotate.timer: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Stopped Daily rotation of log files.
Apr 18 04:54:34 NFS systemd[1]: man-db.timer: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Stopped Daily man-db regeneration.
Apr 18 04:54:34 NFS systemd[1]: motd-news.timer: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Stopped Message of the Day.
Apr 18 04:54:34 NFS nm-dispatcher: Caught signal 15, shutting down...
Apr 18 04:54:34 NFS systemd[2112]: evolution-addressbook-factory.service: Succeeded.
Apr 18 04:54:34 NFS ModemManager[1980]: <info> Caught signal, shutting down...
Apr 18 04:54:34 NFS systemd[1]: systemd-tmpfiles-clean.timer: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Apr 18 04:54:34 NFS systemd[1]: lvm2-lvmpolld.socket: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Closed LVM2 poll daemon socket.
Apr 18 04:54:34 NFS systemd[1]: systemd-rfkill.socket: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Apr 18 04:54:34 NFS systemd[2112]: Started D-Bus User Message Bus.
Apr 18 04:54:34 NFS systemd[1]: Stopping Modem Manager...
Apr 18 04:54:34 NFS systemd[1]: Stopping Network Manager Script Dispatcher Service...
Apr 18 04:54:34 NFS systemd[1]: Stopping Accounts Service...
Apr 18 04:54:34 NFS systemd[1]: Stopping ACPI event daemon...
Code: Select all
Apr 18 04:54:34 NFS polkitd(authority=local): Unregistered Authentication Agent for unix-session:c1 (system bus name :1.37, object path /org/mate/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Apr 18 04:54:34 NFS systemd-logind[1897]: System is powering down.
Apr 18 04:54:34 NFS lightdm: pam_unix(lightdm-autologin:session): session closed for user salon
Code: Select all
Apr 18 04:54:27 NFS NetworkManager[1852]: <info> [1618714467.5956] manager: NetworkManager state is now CONNECTED_SITE
Apr 18 04:54:27 NFS dbus-daemon[1850]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.5' (uid=0 pid=1852 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Apr 18 04:54:27 NFS systemd[1]: Starting Network Manager Script Dispatcher Service...
Apr 18 04:54:27 NFS dbus-daemon[1850]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Apr 18 04:54:27 NFS systemd[1]: Started Network Manager Script Dispatcher Service.
Apr 18 04:54:27 NFS NetworkManager[1852]: <info> [1618714467.8640] manager: NetworkManager state is now CONNECTED_GLOBAL
Apr 18 04:54:34 NFS polkitd(authority=local)[1876]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.37, object path /org/mate/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Apr 18 04:54:34 NFS systemd[2112]: Stopping D-Bus User Message Bus...
Apr 18 04:54:34 NFS gvfsd[2462]: A connection to the bus can't be made
Apr 18 04:54:34 NFS systemd[2112]: gvfs-mtp-volume-monitor.service: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: gvfs-gphoto2-volume-monitor.service: Succeeded.
Apr 18 04:54:34 NFS xdg-desktop-por[2683]: Failed to close session implementation: The connection is closed
Apr 18 04:54:34 NFS systemd[1]: run-user-1000-gvfs.mount: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: run-user-1000-gvfs.mount: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: gvfs-goa-volume-monitor.service: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: xdg-permission-store.service: Main process exited, code=exited, status=1/FAILURE
Apr 18 04:54:34 NFS systemd[2112]: xdg-permission-store.service: Failed with result 'exit-code'.
Apr 18 04:54:34 NFS systemd[2112]: obex.service: Main process exited, code=exited, status=1/FAILURE
Apr 18 04:54:34 NFS systemd[2112]: obex.service: Failed with result 'exit-code'.
Apr 18 04:54:34 NFS evolution-calen[2758]: Error setting property 'ConnectionStatus' on interface org.gnome.evolution.dataserver.Source: The connection is closed (g-io-error-quark, 18)
Apr 18 04:54:34 NFS evolution-calen[2758]: Error setting property 'ConnectionStatus' on interface org.gnome.evolution.dataserver.Source: The connection is closed (g-io-error-quark, 18)
Apr 18 04:54:34 NFS evolution-addre[2785]: Error setting property 'ConnectionStatus' on interface org.gnome.evolution.dataserver.Source: The connection is closed (g-io-error-quark, 18)
Apr 18 04:54:34 NFS systemd[1]: run-user-1000-doc.mount: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: run-user-1000-doc.mount: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: gvfs-metadata.service: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: xdg-document-portal.service: Main process exited, code=exited, status=20/n/a
Apr 18 04:54:34 NFS systemd[2112]: xdg-document-portal.service: Failed with result 'exit-code'.
Apr 18 04:54:34 NFS systemd-logind[1897]: System is powering down.
Apr 18 04:54:34 NFS systemd[2112]: gvfs-afc-volume-monitor.service: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: gvfs-udisks2-volume-monitor.service: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: xdg-desktop-portal.service: Succeeded.
Apr 18 04:54:34 NFS systemd[2112]: xdg-desktop-portal-gtk.service: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Stopping Session c1 of user salon.
Apr 18 04:54:34 NFS systemd[1]: Removed slice system-clean\x2dmount\x2dpoint.slice.
Apr 18 04:54:34 NFS systemd[2112]: evolution-source-registry.service: Succeeded.
Apr 18 04:54:34 NFS systemd[1]: Removed slice system-modprobe.slice.
Apr 18 04:54:34 NFS pulseaudio[2121]: ICE default IO error handler doing an exit(), pid = 2121, errno = 32
Apr 18 04:54:34 NFS systemd[1]: Removed slice system-postfix.slice.
Apr 18 04:54:34 NFS systemd[1]: Stopped target Graphical Interface.
Apr 18 04:54:34 NFS systemd[1]: Stopped target Multi-User System.
Apr 18 04:54:34 NFS systemd[1]: Stopped target Login Prompts.
Apr 18 04:54:34 NFS systemd[1]: Stopped target RPC Port Mapper.
Apr 18 04:54:34 NFS systemd[1]: Stopped target Sound Card.
Apr 18 04:54:34 NFS systemd[1]: Stopped target Timers.