As a first it doesn't seem like the mode is set properly. Start by editing nut.conf as follows:
$ sudo nano /etc/nut/nut.conf
Set the mode to standalone:
MODE=standalone
Also, remove the line MODE=none
from your ups.conf
!
When you're done with that you can try again with starting nut:
$ sudo upsdrvctl start
and
$ sudo systemctl start nut-server
Finally check to make sure everything works properly:
$ sudo systemctl status nut-server
You should see following:
● 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 Sat 2022-01-15 07:49:02 CET; 10min ago
Process: 136052 ExecStart=/sbin/upsd (code=exited, status=0/SUCCESS)
Main PID: 136064 (upsd)
Tasks: 1 (limit: 18903)
Memory: 1020.0K
CGroup: /system.slice/nut-server.service
└─136064 /lib/nut/upsd
Jan 15 07:49:02 server systemd[1]: Starting Network UPS Tools - power devices information server...
Jan 15 07:49:02 server upsd[136052]: fopen /run/nut/upsd.pid: No such file or directory
Jan 15 07:49:02 server upsd[136052]: listening on 127.0.0.1 port 3493
Jan 15 07:49:02 server upsd[136052]: listening on 127.0.0.1 port 3493
Jan 15 07:49:02 server upsd[136052]: listening on ::1 port 3493
Jan 15 07:49:02 server upsd[136052]: listening on ::1 port 3493
Jan 15 07:49:02 server upsd[136052]: Connected to UPS [kstar]: nutdrv_qx-kstar
Jan 15 07:49:02 server upsd[136052]: Connected to UPS [kstar]: nutdrv_qx-kstar
Jan 15 07:49:02 server upsd[136064]: Startup successful
Jan 15 07:49:02 server systemd[1]: Started Network UPS Tools - power devices information server.
If that doesn't help please post the full content of your config files: /etc/nut/ups.conf
and /etc/nut/nut.conf
.