On Fri, 16 Apr 2021 12:18:45 +0200 (CEST)
"Carlos E. R."
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thursday, 2021-04-15 at 22:25 -0500, David C. Rankin wrote:
On 4/15/21 4:31 AM, Carlos E. R. wrote:
But what command is supposed to start it? The documentation says commands that do not exist!
Oh, the nut-server.service E.g.
# systemctl start nut-server
Thanks.
Isengard:~ # systemctl start nut-server Isengard:~ # Isengard:~ # systemctl status nut-server ● nut-server.service - Network UPS Tools - power devices information server Loaded: loaded (/usr/lib/systemd/system/nut-server.service; disabled; vendor preset: disabled) Active: active (running) since Fri 2021-04-16 12:08:22 CEST; 1min 2s ago Process: 1244 ExecStart=/usr/sbin/upsd (code=exited, status=0/SUCCESS) Main PID: 1245 (upsd) Tasks: 1 CGroup: /system.slice/nut-server.service └─1245 /usr/sbin/upsd
Apr 16 12:08:22 Isengard systemd[1]: Starting Network UPS Tools - power devices information server... Apr 16 12:08:22 Isengard upsd[1244]: fopen /var/lib/ups/upsd.pid: No such file or directory Apr 16 12:08:22 Isengard upsd[1244]: listening on 127.0.0.1 port 3493 Apr 16 12:08:22 Isengard upsd[1244]: listening on 127.0.0.1 port 3493 Apr 16 12:08:22 Isengard upsd[1244]: Connected to UPS [salicru]: blazer_usb-salicru Apr 16 12:08:22 Isengard upsd[1244]: Connected to UPS [salicru]: blazer_usb-salicru Apr 16 12:08:22 Isengard systemd[1]: Started Network UPS Tools - power devices information server. Apr 16 12:08:22 Isengard upsd[1245]: Startup successful Isengard:~ #
Well, it does start.
nut-driver is started automatically, but not nut-monitor.
Didn't somebody say earlier that nut-monitor also had to be started, just like nut-driver? Presumably once enabled and started they'll restart after boot. [snip]