-----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. 3.6> 2021-04-16T12:08:21.783974+02:00 Isengard systemd 1 - - Starting Network UPS Tools - power device driver controller... <3.6> 2021-04-16T12:08:22.063019+02:00 Isengard upsdrvctl 1236 - - Supported UPS detected with megatec protocol <3.6> 2021-04-16T12:08:22.382613+02:00 Isengard upsdrvctl 1236 - - Vendor information unavailable <3.6> 2021-04-16T12:08:22.383145+02:00 Isengard upsdrvctl 1236 - - No values provided for battery high/low voltages in ups.conf <3.6> 2021-04-16T12:08:22.383624+02:00 Isengard upsdrvctl 1236 - - Using 'guestimation' (low: 10.400000, high: 13.000000)! <3.6> 2021-04-16T12:08:22.383976+02:00 Isengard upsdrvctl 1236 - - Battery runtime will not be calculated (runtimecal not set) <3.6> 2021-04-16T12:08:22.640210+02:00 Isengard blazer_usb 1241 - - Startup successful <3.6> 2021-04-16T12:08:22.640909+02:00 Isengard upsdrvctl 1236 - - Network UPS Tools - UPS driver controller 2.7.4 <3.6> 2021-04-16T12:08:22.641365+02:00 Isengard systemd 1 - - Started Network UPS Tools - power device driver controller. <3.6> 2021-04-16T12:08:22.644498+02:00 Isengard systemd 1 - - Starting Network UPS Tools - power devices information server... <3.6> 2021-04-16T12:08:22.652537+02:00 Isengard upsd 1244 - - fopen /var/lib/ups/upsd.pid: No such file or directory <3.6> 2021-04-16T12:08:22.653648+02:00 Isengard upsd 1244 - - listening on 127.0.0.1 port 3493 <3.6> 2021-04-16T12:08:22.654180+02:00 Isengard upsd 1244 - - listening on 127.0.0.1 port 3493 <3.6> 2021-04-16T12:08:22.654630+02:00 Isengard upsd 1244 - - Connected to UPS [salicru]: blazer_usb-salicru <3.6> 2021-04-16T12:08:22.655119+02:00 Isengard upsd 1244 - - Connected to UPS [salicru]: blazer_usb-salicru <3.6> 2021-04-16T12:08:22.658216+02:00 Isengard systemd 1 - - Started Network UPS Tools - power devices information server. <3.6> 2021-04-16T12:08:22.660530+02:00 Isengard upsd 1245 - - Startup successful But I removed the mains power, the UPS switched on, but no message anywhere, no action. I will continue reading. - -- Cheers, Carlos E. R. (from openSUSE 15.2 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCYHlkhRwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVllYAn3UPVZeoFOIsUgS0MZnj jQGXQRLgAKCK6k1QHtjbr06tfJ3SoqzhoUBuqg== =16+u -----END PGP SIGNATURE-----