[Nut-upsuser] UPS Reboots when Pi Reboots!

James Fischl jdefalconr at gmail.com
Sun Aug 16 04:39:58 BST 2020


OS: Raspbian Lite 4.19 (Linux 5.4.51-v7l+ armv7l)
NUT version: 2.7.4
Install Method: Package (apt-get)
Device Name: CyberPower CP1500PFCLCD, connected via USB
Problem: This is a brand-new installation; the only step I've taken is my
initial edit of /etc/nut/ups.conf (which I'll post below). I started the
driver and after doing so issued a reboot command to my Raspberry Pi (sudo
reboot). After doing so my UPS rebooted itself, quite a problem given all
the other equipment connected to it. How do I prevent that from happening?
Thanks in advance for your help!

ups.conf content:
[CP1500PFCLCD]
        driver = usbhid-ups
        port = auto
        desc = "CyberPower CP1500PFCLCD"

Driver status content (systemctl status nut-driver):
● nut-driver.service - Network UPS Tools - power device driver controller
   Loaded: loaded (/lib/systemd/system/nut-driver.service; static; vendor
preset: enabled)
   Active: inactive (dead) since Sat 2020-08-15 20:09:51 PDT; 29min ago
  Process: 549 ExecStart=/sbin/upsdrvctl start (code=exited,
status=0/SUCCESS)
  Process: 558 ExecStop=/sbin/upsdrvctl stop (code=exited, status=0/SUCCESS)
 Main PID: 556 (code=exited, status=0/SUCCESS)

Aug 15 20:09:49 PiNut upsdrvctl[549]: Network UPS Tools - Generic HID
driver 0.41 (2.7.4)
Aug 15 20:09:49 PiNut upsdrvctl[549]: USB communication driver 0.33
Aug 15 20:09:49 PiNut upsdrvctl[549]: Network UPS Tools - UPS driver
controller 2.7.4
Aug 15 20:09:49 PiNut usbhid-ups[556]: Startup successful
Aug 15 20:09:49 PiNut systemd[1]: Started Network UPS Tools - power device
driver controller.
Aug 15 20:09:49 PiNut systemd[1]: Stopping Network UPS Tools - power device
driver controller...
Aug 15 20:09:49 PiNut upsdrvctl[558]: Network UPS Tools - UPS driver
controller 2.7.4
Aug 15 20:09:51 PiNut usbhid-ups[556]: Signal 15: exiting
Aug 15 20:09:51 PiNut systemd[1]: nut-driver.service: Succeeded.
Aug 15 20:09:51 PiNut systemd[1]: Stopped Network UPS Tools - power device
driver controller.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200815/a4171b55/attachment.html>


More information about the Nut-upsuser mailing list