Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    NUT fails to start after 2.7.2 -> 2.8.0 upgrade

    Scheduled Pinned Locked Moved UPS Tools
    2 Posts 2 Posters 26 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jhg
      last edited by jhg

      NUT version is 2.8.2_5 (I've already tried reinstalling the package)

      NUT seems to think it can't find the UPS, but usbconfig shows it to be present:

      [2.8.0-RELEASE][admin@janus.jhmg.pvt]/usr/local/etc/rc.d: usbconfig
      ...
      ugen0.5: <PR1500LCDRT2U UPS Cyber Power System, Inc.> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (2mA)
      ...
      

      Below is the console log attempting to start NUT from the command line.

      [2.8.0-RELEASE][admin@janus.jhmg.pvt]/usr/local/etc/rc.d: ./nut.sh stop
      stopping NUT
      [2.8.0-RELEASE][admin@janus.jhmg.pvt]/usr/local/etc/rc.d: ./nut.sh start
      starting NUT
      Network UPS Tools - UPS driver controller 2.8.2
      Network UPS Tools upsd 2.8.2
      fopen /var/db/nut/upsd.pid: No such file or directory
      Could not find PID file '/var/db/nut/upsd.pid' to see if previous upsd instance is already running!
      Network UPS Tools - Generic HID driver 0.53 (2.8.2)
      listening on 127.0.0.1 port 3493
      USB communication driver (libusb 1.0) 0.47
      listening on ::1 port 3493
      Can't connect to UPS [CyberPower-1500] (usbhid-ups-CyberPower-1500): No such file or directory
      libusb1: Could not open any HID devices: no USB buses found
      No matching HID UPS found
      upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it
      Driver failed to start (exit status=1)
      Found 1 UPS defined in ups.conf
      Network UPS Tools upsmon 2.8.2
      kill: No such process
      UPS: CyberPower-1500 (primary) (power value 1)
      Using power down flag file /etc/killpower
      

      Also

      [2.8.0-RELEASE][admin@janus.jhmg.pvt]/usr/local/etc/nut: more ups.conf
      [CyberPower-1500]
      driver=usbhid-ups
      port=auto
      
      [2.8.0-RELEASE][admin@janus.jhmg.pvt]/usr/local/etc/nut: egrep -v '^#' nut.conf
      MODE=none
      

      and this, which singles out the usbhid-ups driver as the problem:

      [2.8.0-RELEASE][admin@janus.jhmg.pvt]/usr/local/etc/nut: /usr/local/libexec/nut/usbhid-ups -a CyberPower-1500
      Network UPS Tools - Generic HID driver 0.53 (2.8.2)
      USB communication driver (libusb 1.0) 0.47
      libusb1: Could not open any HID devices: no USB buses found
      No matching HID UPS found
      upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it
      

      pfSense CE on Beelink EQ12 (N100 CPU, dual 2.5Gbe Intel NICs)
      Hitron CODA56 - Comcast 2.5Gb cable

      dennypageD 1 Reply Last reply Reply Quote 0
      • dennypageD
        dennypage @jhg
        last edited by

        @jhg Please post the output of the following commands:

        pkg info | grep nut
        
        usbconfig dump_all_desc
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.