Bekomme NUT nicht ans laufen

ipod86

Lt. Junior Grade
Registriert
Jan. 2009
Beiträge
433
Hallo,

ich habe heute einen neuen Rechner bekommen und versuche NUT ans laufen zu bekommen.
Habe eigentlich alle Einstellungen exakt von meinem alten Rechner übernommen, aber irgendwie mochte es nicht.

Beim Starten und abfragen, sieht man, dass er einiges meckert:

Code:
root@pve:~# upsdrvctl start
Network UPS Tools - UPS driver controller 2.8.0
Network UPS Tools - Megatec/Q1 protocol USB driver 0.14 (2.8.0)
Duplicate driver instance detected (PID file /run/nut/blazer_usb-qnapups.pid exi                                                                                                                                                 sts)! Terminating other driver!
Please note that this driver is deprecated and will not receive
new development. If it works for managing your devices - fine,
but if you are running it to try setting up a new device, please
consider the newer nutdrv_qx instead, which should handle all 'Qx'
protocol variants for NUT. (Please also report if your device works
with this driver, but nutdrv_qx would not actually support it with
any subdriver!)

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)
root@pve:~# upsd
Network UPS Tools upsd 2.8.0
fopen /run/nut/upsd.pid: No such file or directory
Could not find PID file '/run/nut/upsd.pid' to see if previous upsd instance is                                                                                                                                                  already running!

not listening on 192.168.99.58 port 3493
not listening on 192.168.99.67 port 3493
not listening on 127.0.0.1 port 3493
no listening interface available
root@pve:~# upsc ups@localhost
Init SSL without certificate database
Error: Unknown UPS
root@pve:~#

Das ist meine eigene Anleitung wo ich beim letzten mal all meine Schritte aufgeschrieben habe:

sudo apt install nut usbutils
Konfig bearbeiten (einfügen)
sudo nano /etc/nut/ups.conf

[qnapups]
driver = "blazer_usb"
port = "auto"
desc = "qnapups"
pollinterval = 10

dann
sudo reboot
sudo upsdrvctl start
sudo cp /lib/udev/rules.d/62-nut-usbups.rules /etc/udev/rules.d/
sudo reboot
sudo upsdrvctl start
sudo nano /etc/nut/nut.conf --> MODE=netserver eintragen
sudo upsd
Zum testen sudo upsc ups@localhost --> müssten einige angaben zur usv kommen
sudo nano /etc/nut/upsd.conf
Dort anhängen:
LISTEN 127.0.0.1 3493
LISTEN 192.168.99.33 3493
sudo upsd -c stop
sudo upsd
sudo nano /etc/nut/upsd.users -->dort anhängen
[usv]
password = usv
actions = SET
instcmds = ALL
upsmon master

[upsmon]
password = upsmon
upsmon slave

[admin]
password = 123456
actions = SET
instcmds = ALL
upsmon master
 
Zurück
Oben