NEWS
(gelöst)Nut fehler
-
Hallo Freunde,
es funktioniert ja alles soweit aber wenn ich mich auf der Konsole einlogge bekomme ich diese Meldung.UPS serverups@localhost is unavailable
Was kann ich da tun um den Localhost wieder verfügbar zu machen.
-
Ich weiss nicht was die Meldung die du postest im Detail bedeutet. Ich gehe aber davon aus das der "localhost", sprich der Rechner auf dem du dich eingeloggt hast auch verfügbar ist. Das ist also nicht das problem. Ob das stimmt kannst du einfach durch ein
ping localhost
auf der Konsole verifizieren.
Des weiteren gehe ich mal davon aus das das System eine UPS besitzt / erwartet. Die Meldung könnte besagen das der dazu gehörende Systemdienst mit dieser nicht kommunizieren kann.
Ob diese Annahme korrekt ist müsstest Du sagen. Mehr Informationen sind auf jeden Fall notwendig.
A.
-
@asgothian
also ich weiß auch nicht wie es aussieht findet er die UPS nicht. Die Frage ist Warum?localhost ping statistics --- 112 packets transmitted, 112 received, 0% packet loss, time 757ms rtt min/avg/max/mdev = 0.072/0.106/0.231/0.027 ms
nach der Eingabe von sudo upsd
Network UPS Tools upsd 2.7.4 Fatal error: A previous upsd instance is already running! Either stop the previous instance first, or use the 'reload' command.
sudo upsc ups@localhost
Fatal error: A previous upsd instance is already running! Either stop the previous instance first, or use the 'reload' command.
-
- was für ein System ?
- wie ist der upsd konfiguriert ?
- was passiert bei
sudo systemctl upsd restart
?
A.
-
@asgothian sagte in Nut fehler:
sudo systemctl
Debian System da daruf ist der Nut-server.
[sudo] Passwort für andy: UNIT LOAD ACTIVE SUB DESCRIPTION proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable sys-devices-pci0000:00-0000:00:01.1-sound-card0.device loaded active plugged sys-devices-pci0000:00-0000:00:11.0-ata3-host2-target2:0:0-2:0:0:0-block-sda-s sys-devices-pci0000:00-0000:00:11.0-ata3-host2-target2:0:0-2:0:0:0-block-sda-s sys-devices-pci0000:00-0000:00:11.0-ata3-host2-target2:0:0-2:0:0:0-block-sda-s sys-devices-pci0000:00-0000:00:11.0-ata3-host2-target2:0:0-2:0:0:0-block-sda.d sys-devices-pci0000:00-0000:00:12.0-usb2-2\x2d4-2\x2d4:1.0-tty-ttyACM0.device sys-devices-pci0000:00-0000:00:12.2-usb1-1\x2d1-1\x2d1:1.0-host3-target3:0:0-3 sys-devices-pci0000:00-0000:00:12.2-usb1-1\x2d1-1\x2d1:1.0-host3-target3:0:0-3 sys-devices-pci0000:00-0000:00:14.2-sound-card1.device loaded active plugged sys-devices-pci0000:00-0000:00:15.2-0000:03:00.0-net-enp3s0.device loaded acti sys-devices-pci0000:00-0000:00:15.3-0000:04:00.0-usb3-3\x2d1-3\x2d1:1.0-blueto sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/ sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/ sys-devices-pnp0-00:07-tty-ttyS0.device loaded active plugged /sys/devices/p sys-devices-pnp0-00:08-tty-ttyS1.device loaded active plugged /sys/devices/p sys-devices-virtual-misc-rfkill.device loaded active plugged /sys/devices/vi sys-subsystem-bluetooth-devices-hci0.device loaded active plugged /sys/subsy sys-subsystem-net-devices-enp3s0.device loaded active plugged NetLink BCM577 -.mount loaded active mounted Root Mount boot-efi.mount loaded active mounted /boot/efi dev-hugepages.mount loaded active mounted Huge Pages File System lines 1-23...skipping... UNIT LOAD ACTIVE SUB DESCRIPTION proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File sys-devices-pci0000:00-0000:00:01.1-sound-card0.device loaded active plugged Wrestler HDMI Audio sys-devices-pci0000:00-0000:00:11.0-ata3-host2-target2:0:0-2:0:0:0-block-sda-sda1.device loaded active plugged TCSUNBOW_X1_32GB 1 sys-devices-pci0000:00-0000:00:11.0-ata3-host2-target2:0:0-2:0:0:0-block-sda-sda2.device loaded active plugged TCSUNBOW_X1_32GB 2 sys-devices-pci0000:00-0000:00:11.0-ata3-host2-target2:0:0-2:0:0:0-block-sda-sda3.device loaded active plugged TCSUNBOW_X1_32GB 3 sys-devices-pci0000:00-0000:00:11.0-ata3-host2-target2:0:0-2:0:0:0-block-sda.device loaded active plugged TCSUNBOW_X1_32GB sys-devices-pci0000:00-0000:00:12.0-usb2-2\x2d4-2\x2d4:1.0-tty-ttyACM0.device loaded active plugged SB7x0/SB8x0/SB9x0 USB OHC sys-devices-pci0000:00-0000:00:12.2-usb1-1\x2d1-1\x2d1:1.0-host3-target3:0:0-3:0:0:0-block-sdb-sdb1.device loaded active plugged External_USB_3.0 INTENSO sys-devices-pci0000:00-0000:00:12.2-usb1-1\x2d1-1\x2d1:1.0-host3-target3:0:0-3:0:0:0-block-sdb.device loaded active plugged External_USB_3.0 sys-devices-pci0000:00-0000:00:14.2-sound-card1.device loaded active plugged SBx00 Azalia (Intel HDA) sys-devices-pci0000:00-0000:00:15.2-0000:03:00.0-net-enp3s0.device loaded active plugged NetLink BCM57781 Gigabit sys-devices-pci0000:00-0000:00:15.3-0000:04:00.0-usb3-3\x2d1-3\x2d1:1.0-bluetooth-hci0.device loaded active plugged /sys/devices/pci0000:00/0 sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/ser sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/ser sys-devices-pnp0-00:07-tty-ttyS0.device loaded active plugged /sys/devices/pnp0/00:07/t sys-devices-pnp0-00:08-tty-ttyS1.device loaded active plugged /sys/devices/pnp0/00:08/t sys-devices-virtual-misc-rfkill.device loaded active plugged /sys/devices/virtual/misc sys-subsystem-bluetooth-devices-hci0.device loaded active plugged /sys/subsystem/bluetooth/ sys-subsystem-net-devices-enp3s0.device loaded active plugged NetLink BCM57781 Gigabit -.mount loaded active mounted Root Mount boot-efi.mount loaded active mounted /boot/efi dev-hugepages.mount loaded active mounted Huge Pages File System dev-mqueue.mount loaded active mounted POSIX Message Queue File run-user-1000.mount loaded active mounted /run/user/1000 sys-kernel-debug.mount loaded active mounted Kernel Debug File System systemd-ask-password-console.path loaded active waiting Dispatch Password Request systemd-ask-password-wall.path loaded active waiting Forward Password Requests init.scope loaded active running System and Service Manage session-40.scope loaded active running Session 40 of user andy apparmor.service loaded active exited Load AppArmor profiles bluetooth.service loaded active running Bluetooth service console-setup.service loaded active exited Set console font and keym cron.service loaded active running Regular background progra dbus.service loaded active running D-Bus System Message Bus getty@tty1.service loaded active running Getty on tty1 grafana-server.service loaded active running Grafana instance ifup@enp3s0.service loaded active exited ifup for enp3s0 ifupdown-pre.service loaded active exited Helper to synchronize boo influxdb.service loaded active running InfluxDB is an open-sourc iobroker.service loaded active running ioBroker Server keyboard-setup.service loaded active exited Set the console keyboard kmod-static-nodes.service loaded active exited Create list of required s networking.service loaded active exited Raise network interfaces ● nut-driver.service loaded failed failed Network UPS Tools - power nut-monitor.service loaded active running Network UPS Tools - power nut-server.service loaded active running Network UPS Tools - power rsyslog.service loaded active running System Logging Service ssh.service loaded active running OpenBSD Secure Shell serv
andy@debian:~$ sudo upsd restart Network UPS Tools upsd 2.7.4 Fatal error: A previous upsd instance is already running! Either stop the previous instance first, or use the 'reload' command.
-
Wenn ich dann den Treiber starten will
andy@debian:~$ sudo upsdrvctl start [sudo] Passwort für andy: Network UPS Tools - UPS driver controller 2.7.4 Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 No matching HID UPS found Driver failed to start (exit status=1)
-
Bin ich ein Depp ich habe den falschen USB-Stecker an den Server angeschlossen.
Ich glaube das war es.