FreeBSD 11.0 AMD64, NUT 2.7.4 from packages
I installed the package without any errors.
Config files are as follows:
nut.conf
ups.conf
upsd.conf
upsd.users
upsmon.conf
I set all the NUT config files in /usr/local/etc/nut to uucp:uucp.
When I try to start NUT, I see:
So I try just upsd:
... and I am stumped.
What is the magical incantation that I need to recite in order to get NUT to run?
I installed the package without any errors.
Config files are as follows:
nut.conf
Code:
MODE=standalone
ups.conf
Code:
[cpups]
driver = "usbhid-ups"
port = auto
desc = "cp-ups"
upsd.conf
Code:
LISTEN 127.0.0.1 3493
upsd.users
Code:
[monmaster]
password = upsmasterpswd
upsmon master
[monuser]
password = upsuserpswd
upsmon slave
[admin]
password = bigpswd
actions = SET
instcmds = ALL
upsmon.conf
Code:
MONITOR cpups@127.0.0.1 1 monmaster upsmasterpswd master
I set all the NUT config files in /usr/local/etc/nut to uucp:uucp.
When I try to start NUT, I see:
Code:
# service nut onestart
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)
/usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut
So I try just upsd:
Code:
# upsd -DD
Network UPS Tools upsd 2.7.4
0.000000 fopen /var/db/nut/upsd.pid: No such file or directory
0.000602 /usr/local/etc/nut/upsd.conf is world readable
0.001108 listening on 127.0.0.1 port 3493
0.001687 Can't connect to UPS [cpups] (usbhid-ups-cpups): No such file or directory
... and I am stumped.
What is the magical incantation that I need to recite in order to get NUT to run?