Project

General

Profile

Actions

Bug #9849

closed

NUT not starting as root? Isn't loading USB drivers?

Added by Ryan McCullough about 5 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Nut
Target version:
-
Start date:
10/26/2019
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.4.4
Affected Plus Version:
Affected Architecture:

Description

It looks like the NUT/UPS driver isn't loading the USB driver unless I pass the "-u root" parameter to the command:

[2.4.4-RELEASE][admin@router.nooblink.com]/root: /usr/local/sbin/upsdrvctl start
Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
No matching HID UPS found
Driver failed to start (exit status=1)
[2.4.4-RELEASE][admin@router.nooblink.com]/root: /usr/local/sbin/upsdrvctl -u root start
Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
Using subdriver: CyberPower HID 0.4

Notice how the first time I run the command it has an error, but if I run it with the "-u root" parameter, it loads successfully and sees my UPS.

Also, if I make changes via the WebUI configurator, it seems to restart/reload the service and it can't find my UPS.

Actions

Also available in: Atom PDF