Today, I tried to update a zfs kernal (something, just one package). And errors appeared.
First, the zfs plugin could not detect pools.
Second, when I log out the Web GUI, I could not open the website anymore.
Third, I try to reboot. After reboot, I found lots of services failed to start, including `rrdcached`, `openmediavault iptables firewall`, `chrony` and `chronyd`.
Error message is like:
1. rrdcached
4:12 PM rrdcached.service: Failed with result 'exit-code'.
4:12 PM rrdcached.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
4:12 PM failed!
4:12 PM rrdcached FAILED ...
4:12 PM /sbin/start-stop-daemon: unable to stat /usr/bin/rrdcached (No such file or directory)
4:12 PM Starting LSB: start or stop rrdcached...
Reboot
4:03 PM Failed to start LSB: start or stop rrdcached.
4:03 PM rrdcached.service: Failed with result 'exit-code'.
4:03 PM rrdcached.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
4:03 PM rrdcached FAILED ... failed!
rrdcached
4:03 PM /sbin/start-stop-daemon: unable to stat /usr/bin/rrdcached (No such file or directory)
4:03 PM Starting LSB: start or stop rrdcached...
4:00 PM Failed to start LSB: start or stop rrdcached.
Display More
2. openmediavault iptables firewall
4:12 PM Failed to start openmediavault iptables firewall service.
4:12 PM openmediavault-firewall.service: Failed with result 'exit-code'.
4:12 PM openmediavault-firewall.service: Main process exited, code=exited, status=127/n/a
4:12 PM /etc/iptables/openmediavault-firewall.sh: 4: .: Can't open /usr/share/openmediavault/scripts/helper-functions
4:12 PM Starting openmediavault iptables firewall service...
Reboot
4:10 PM Stopped openmediavault iptables firewall service.
4:10 PM openmediavault-firewall.service: Failed with result 'exit-code'.
4:10 PM openmediavault-firewall.service: Control process exited, code=exited, status=127/n/a
4:10 PM /etc/iptables/openmediavault-firewall.sh: 4: .: Can't open /usr/share/openmediavault/scripts/helper-functions
4:10 PM Stopping openmediavault iptables firewall service...
Display More
3. chrony & chronyd‘s error could be solved with methods in here: Chronyd and Chrony services failed to start
(1) Edit /etc/default/chrony and change DAEMON_OPTS="-F -1" to DAEMON_OPTS=""
(2) Start chronyd systemctl start chronyd check status systemclt status chronyd
But I'm not sure whether the error of chrony & chronyd would appear again in the next reboot.
Any helps? Thanks a lot!
By the way, when trying to update a package in OMV (in the update management section), it's a matter of life and death. Are there any safer way to do this?