I'm new with Linux Mint and I tried connecting my UPS with NUT.
I got everything configured but if I open
Code: Select all
systemctl status nut-server
Code: Select all
Can't connect to UPS [ups] (blazer_usb-ups): Permission denied
Code: Select all
● nut-server.service - Network UPS Tools - power devices information server
Loaded: loaded (/lib/systemd/system/nut-server.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-06-28 23:25:28 CEST; 1min 13s ago
Process: 3827 ExecStart=/sbin/upsd (code=exited, status=0/SUCCESS)
Main PID: 3828 (upsd)
Tasks: 1 (limit: 38294)
Memory: 524.0K
CGroup: /system.slice/nut-server.service
└─3828 /lib/nut/upsd
Jun 28 23:25:28 Rumhau-PC upsd[3827]: listening on 192.168.178.28 port 3493
Jun 28 23:25:28 Rumhau-PC upsd[3827]: listening on 127.0.0.1 port 3493
Jun 28 23:25:28 Rumhau-PC upsd[3827]: listening on 192.168.178.28 port 3493
Jun 28 23:25:28 Rumhau-PC upsd[3827]: listening on 127.0.0.1 port 3493
Jun 28 23:25:28 Rumhau-PC upsd[3827]: Can't connect to UPS [ups] (blazer_usb-ups): Permission denied
Jun 28 23:25:28 Rumhau-PC upsd[3827]: Can't connect to UPS [ups] (blazer_usb-ups): Permission denied
Jun 28 23:25:28 Rumhau-PC upsd[3827]: Can't open /etc/nut/upsd.users: Permission denied
Jun 28 23:25:28 Rumhau-PC upsd[3827]: Can't open /etc/nut/upsd.users: Permission denied
Jun 28 23:25:28 Rumhau-PC upsd[3828]: Startup successful
Jun 28 23:25:28 Rumhau-PC systemd[1]: Started Network UPS Tools - power devices information server.
I already checked, if nut has permission to the files in /etc/nut, and it has.
Code: Select all
journalctl -xe
Code: Select all
Jun 29 00:01:23 Rumhau-PC upsmon[1329]: Poll UPS [ups@127.0.0.1] failed - Driver not connected
Jun 29 00:01:28 Rumhau-PC upsmon[1329]: Poll UPS [ups@127.0.0.1] failed - Driver not connected
Jun 29 00:01:33 Rumhau-PC upsmon[1329]: Poll UPS [ups@127.0.0.1] failed - Driver not connected
Jun 29 00:01:34 Rumhau-PC kernel: [UFW BLOCK] IN=nordlynx.......
Jun 29 00:01:38 Rumhau-PC upsmon[1329]: Poll UPS [ups@127.0.0.1] failed - Driver not connected
Jun 29 00:01:39 Rumhau-PC kernel: [UFW BLOCK] IN=nordlynx......
Jun 29 00:01:42 Rumhau-PC kernel: [UFW BLOCK] IN=nordlynx......
Jun 29 00:01:43 Rumhau-PC upsmon[1329]: Poll UPS [ups@127.0.0.1] failed - Driver not connected
Jun 29 00:01:48 Rumhau-PC upsmon[1329]: Poll UPS [ups@127.0.0.1] failed - Driver not connected
Jun 29 00:01:53 Rumhau-PC upsmon[1329]: Poll UPS [ups@127.0.0.1] failed - Driver not connected
Jun 29 00:01:58 Rumhau-PC gnome-terminal-[3010]: g_menu_insert_item: assertion 'G_IS_MENU_ITEM (item)' failed
Jun 29 00:01:58 Rumhau-PC upsmon[1329]: Poll UPS [ups@127.0.0.1] failed - Driver not connected
Jun 29 00:01:59 Rumhau-PC kernel: [UFW BLOCK] IN=nordlynx......
Jun 29 00:02:03 Rumhau-PC upsmon[1329]: Poll UPS [ups@127.0.0.1] failed - Driver not connected
Jun 29 00:02:08 Rumhau-PC upsmon[1329]: Poll UPS [ups@127.0.0.1] failed - Driver not connected
Jun 29 00:02:13 Rumhau-PC upsmon[1329]: Poll UPS [ups@127.0.0.1] failed - Driver not connected
Jun 29 00:02:18 Rumhau-PC upsmon[1329]: Poll UPS [ups@127.0.0.1] failed - Driver not connected
Jun 29 00:02:23 Rumhau-PC rtkit-daemon[1362]: Supervising 5 threads of 3 processes of 1 users.
Jun 29 00:02:23 Rumhau-PC rtkit-daemon[1362]: Supervising 5 threads of 3 processes of 1 users.
Jun 29 00:02:23 Rumhau-PC upsmon[1329]: Poll UPS [ups@127.0.0.1] failed - Driver not connected
Jun 29 00:02:28 Rumhau-PC upsmon[1329]: Poll UPS [ups@127.0.0.1] failed - Driver not connected
If I start
Code: Select all
sudo upsdrvctl start
Code: Select all
Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - Megatec/Q1 protocol USB driver 0.12 (2.7.4)
Duplicate driver instance detected! Terminating other driver!
Supported UPS detected with megatec protocol
Vendor information unavailable
No values provided for battery high/low voltages in ups.conf
Using 'guestimation' (low: 10.400000, high: 13.000000)!
Battery runtime will not be calculated (runtimecal not set)
Here my config files:
Code: Select all
ups.conf:
user = root
pollinterval = 1
maxretry = 5
[ups]
driver = "blazer_usb"
port = auto
desc="Upsilon 2000"
vendorid = "0001"
productid = "0000"
Code: Select all
upsd.conf
LISTEN 127.0.0.1 3493
LISTEN 192.168.178.28 3493
Hope you can help me!
Thank you in advanced and sorry for my english