[Nut-upsuser] reboot of nut managment node resets Tripplite SMX1000LCD
Roger Price
roger at rogerprice.org
Sat Jun 27 16:11:51 BST 2020
I'm assuming that the results you report here correspond to the unexpected
UPS shutdown on a re-booting Ubuntu box.
On Sat, 27 Jun 2020, Yogesh Bhanu wrote:
> Following messages are logged by journalctl when powering off.
> --snip--
>
> Jun 25 11:26:32 fourpi01 systemd[1]: Stopping Network UPS Tools -
> power device driver controller...
> Jun 25 11:26:32 fourpi01 upsdrvctl[258149]: Network UPS Tools - UPS
> driver controller 2.7.4
> Jun 25 11:26:32 fourpi01 usbhid-ups[1472]: Signal 15: exiting
> Jun 25 11:26:32 fourpi01 systemd[1]: Starting Show Plymouth Reboot Screen...
> Jun 25 11:26:32 fourpi01 systemd[1]: nut-driver.service: Succeeded.
> snapd user session agent.
> Jun 25 11:26:32 fourpi01 systemd[1547]: Reached target Shutdown.
> Jun 25 11:26:32 fourpi01 systemd[1]: Stopped Network UPS Tools - power
> device driver controller.
> Jun 25 11:26:32 fourpi01 systemd[1]: Started Show Plymouth Reboot Screen.
> Jun 25 11:26:32 fourpi01 systemd[257521]: Reached target Shutdown.
> -- Reboot --
> --snip--
I do not see any delayed UPS shutdown messages. How do you call for a UPS
shutdown?
> # So the system does poweroff. RPi is using SSD
> # After this the UPS resets ...
>
> # Command used to perform reboot.
> --snip--
> shutdown -r now
> reboot
> --snip--
I do not see any command to stop nut-server. Did you stop NUT before rebooting
as suggested?
This is aside from your unwanted UPS shutdown problem. I do not understand why
you call "reboot" when you have already asked "shutdown" to reboot.
> # Following services are started by systemd at boot:
>
> --snip--
> root at fourpi01:~# systemctl list-units | grep nut
> nut-driver.service
> loaded active running Network UPS Tools - power device driver
> controller
> nut-server.service
> loaded active running Network UPS Tools - power devices information server
> --snip--
I would expect to see
nut-driver.service loaded active running Network UPS Tools - power device driver controller
nut-monitor.service loaded active running Network UPS Tools - power device monitor and shutdown controller
nut-server.service loaded active running Network UPS Tools - power devices information server
What happened to upsmon?
Roger
More information about the Nut-upsuser
mailing list