max2770 Posted July 25, 2022 Share Posted July 25, 2022 I am brand new to Unraid and obviously setup UPS shutdown as one of my first steps. The system eventually shut down, but when I started it back it indicated an unclean shut down (and started a very long parity check). I am attaching the syslogs. Important to note that the UPS stayed on long after the Unraid box shut down, so that is not part of the issue. Jul 24 21:36:38 R1NAS apcupsd[5938]: Power failure. Jul 24 21:36:44 R1NAS apcupsd[5938]: Running on UPS batteries. Jul 24 21:37:59 R1NAS apcupsd[5938]: Reached remaining time percentage limit on batteries. Jul 24 21:37:59 R1NAS apcupsd[5938]: Initiating system shutdown! Jul 24 21:37:59 R1NAS apcupsd[5938]: User logins prohibited Jul 24 21:37:59 R1NAS root: /usr/local/sbin/powerdown has been deprecated Jul 24 21:37:59 R1NAS init: Switching to runlevel: 0 Jul 24 21:37:59 R1NAS init: Trying to re-exec init Jul 24 21:38:00 R1NAS kernel: mdcmd (41): nocheck cancel Jul 24 21:38:01 R1NAS emhttpd: Spinning up all drives... Jul 24 21:38:01 R1NAS emhttpd: read SMART /dev/sdg Jul 24 21:38:01 R1NAS emhttpd: read SMART /dev/sdd Jul 24 21:38:01 R1NAS emhttpd: read SMART /dev/sde Jul 24 21:38:01 R1NAS emhttpd: read SMART /dev/sdf Jul 24 21:38:01 R1NAS emhttpd: read SMART /dev/sdc Jul 24 21:38:01 R1NAS emhttpd: read SMART /dev/nvme0n1 Jul 24 21:38:01 R1NAS emhttpd: read SMART /dev/sda Jul 24 21:38:01 R1NAS emhttpd: Stopping services... Jul 24 21:38:01 R1NAS emhttpd: shcmd (49686): /etc/rc.d/rc.docker stop Jul 24 21:38:01 R1NAS root: "docker stop" requires at least 1 argument. Jul 24 21:38:01 R1NAS root: See 'docker stop --help'. Jul 24 21:38:01 R1NAS root: Jul 24 21:38:01 R1NAS root: Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...] Jul 24 21:38:01 R1NAS root: Jul 24 21:38:01 R1NAS root: Stop one or more running containers Jul 24 21:38:15 R1NAS root: stopping dockerd ... Jul 24 21:38:16 R1NAS root: waiting for docker to die ... Jul 24 21:38:17 R1NAS avahi-daemon[13009]: Interface docker0.IPv4 no longer relevant for mDNS. Jul 24 21:38:17 R1NAS avahi-daemon[13009]: Leaving mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1. Jul 24 21:38:17 R1NAS avahi-daemon[13009]: Withdrawing address record for 172.17.0.1 on docker0. Jul 24 21:38:17 R1NAS emhttpd: shcmd (49687): umount /var/lib/docker Jul 24 21:38:18 R1NAS winbindd[18226]: [2022/07/24 21:38:18.334215, 0] ../../source3/winbindd/idmap_hash/idmap_hash.c:115(idmap_hash_initialize) Jul 24 21:38:18 R1NAS winbindd[18226]: idmap_hash_initialize: The idmap_hash module is deprecated and should not be used. Please migrate to a different plugin. This module will be removed in a future version of Samba Jul 24 21:38:18 R1NAS winbindd[18226]: [2022/07/24 21:38:18.334324, 0] ../../source3/winbindd/idmap_hash/idmap_hash.c:115(idmap_hash_initialize) Jul 24 21:38:18 R1NAS winbindd[18226]: idmap_hash_initialize: The idmap_hash module is deprecated and should not be used. Please migrate to a different plugin. This module will be removed in a future version of Samba Jul 24 21:38:18 R1NAS winbindd[18226]: [2022/07/24 21:38:18.334425, 0] ../../source3/winbindd/idmap_hash/idmap_hash.c:115(idmap_hash_initialize) Jul 24 21:38:18 R1NAS winbindd[18226]: idmap_hash_initialize: The idmap_hash module is deprecated and should not be used. Please migrate to a different plugin. This module will be removed in a future version of Samba Jul 24 21:38:19 R1NAS unassigned.devices: Unmounting All Devices... Jul 24 21:38:19 R1NAS unassigned.devices: Remote SMB/NFS share '10.20.100.1:/Files' is not mounted. Jul 24 21:38:19 R1NAS unassigned.devices: Remote SMB/NFS share '10.20.100.1:/Downloads' is not mounted. Jul 24 21:38:19 R1NAS unassigned.devices: Remote SMB/NFS share '10.20.100.1:/Standby' is not mounted. Jul 24 21:38:19 R1NAS emhttpd: shcmd (49688): /etc/rc.d/rc.samba stop Jul 24 21:38:19 R1NAS wsdd2[12984]: 'Terminated' signal received. Jul 24 21:38:19 R1NAS winbindd[12987]: [2022/07/24 21:38:19.638629, 0] ../../source3/winbindd/winbindd.c:247(winbindd_sig_term_handler) Jul 24 21:38:19 R1NAS winbindd[12992]: [2022/07/24 21:38:19.638625, 0] ../../source3/winbindd/winbindd.c:247(winbindd_sig_term_handler) Jul 24 21:38:19 R1NAS winbindd[12989]: [2022/07/24 21:38:19.638618, 0] ../../source3/winbindd/winbindd.c:247(winbindd_sig_term_handler) Jul 24 21:38:19 R1NAS winbindd[12987]: Got sig[15] terminate (is_parent=1) Jul 24 21:38:19 R1NAS winbindd[12992]: Got sig[15] terminate (is_parent=0) Jul 24 21:38:19 R1NAS winbindd[12989]: Got sig[15] terminate (is_parent=0) Jul 24 21:38:19 R1NAS wsdd2[12984]: terminating. Jul 24 21:38:19 R1NAS winbindd[18226]: [2022/07/24 21:38:19.638867, 0] ../../source3/winbindd/winbindd.c:247(winbindd_sig_term_handler) Jul 24 21:38:19 R1NAS winbindd[18226]: Got sig[15] terminate (is_parent=0) Jul 24 21:38:19 R1NAS emhttpd: shcmd (49689): rm -f /etc/avahi/services/smb.service Jul 24 21:38:19 R1NAS avahi-daemon[13009]: Files changed, reloading. Jul 24 21:38:19 R1NAS avahi-daemon[13009]: Service group file /services/smb.service vanished, removing services. Jul 24 21:38:19 R1NAS emhttpd: shcmd (49692): /etc/rc.d/rc.nfsd stop Jul 24 21:38:19 R1NAS rpc.mountd[6047]: Caught signal 15, un-registering and exiting. Jul 24 21:38:20 R1NAS emhttpd: Stopping mover... Jul 24 21:38:20 R1NAS emhttpd: shcmd (49693): /usr/local/sbin/mover stop Jul 24 21:38:20 R1NAS kernel: nfsd: last server has exited, flushing export cache Jul 24 21:38:20 R1NAS root: mover: not running Jul 24 21:38:20 R1NAS emhttpd: Sync filesystems... Jul 24 21:38:20 R1NAS emhttpd: shcmd (49694): sync Jul 24 21:39:30 R1NAS root: Status of all loop devices Jul 24 21:39:30 R1NAS root: /dev/loop1: [2049]:11 (/boot/bzmodules) Jul 24 21:39:30 R1NAS root: /dev/loop0: [2049]:9 (/boot/bzfirmware) Jul 24 21:39:30 R1NAS root: Active pids left on /mnt/* Jul 24 21:39:30 R1NAS root: USER PID ACCESS COMMAND Jul 24 21:39:30 R1NAS root: /mnt/disk1: root kernel mount /mnt/disk1 Jul 24 21:39:30 R1NAS root: /mnt/disk2: root kernel mount /mnt/disk2 Jul 24 21:39:30 R1NAS root: root 12892 F.... shfs Jul 24 21:39:30 R1NAS root: /mnt/disk3: root kernel mount /mnt/disk3 Jul 24 21:39:30 R1NAS root: /mnt/disks: root kernel mount /mnt/disks Jul 24 21:39:30 R1NAS root: /mnt/remotes: root kernel mount /mnt/remotes Jul 24 21:39:30 R1NAS root: /mnt/rootshare: root kernel mount /mnt/rootshare Jul 24 21:39:30 R1NAS root: /mnt/user: root kernel mount /mnt/user Jul 24 21:39:30 R1NAS root: unraidftp 30892 F.c.. vsftpd Jul 24 21:39:30 R1NAS root: /mnt/user0: root kernel mount /mnt/user0 Jul 24 21:39:30 R1NAS root: Active pids left on /dev/md* Jul 24 21:39:30 R1NAS root: Generating diagnostics... Quote Link to comment
Solution JorgeB Posted July 25, 2022 Solution Share Posted July 25, 2022 Try adding 30 secs or so to the shutdown timeout. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.