Ankündigung

Einklappen
Keine Ankündigung bisher.

knxd beendet sich

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • knxd beendet sich

    Guten Morgen,

    Habe seit ein paar Tagen das Problem dass meine Smartvisu 2.9 nicht mehr funktioniert (ohne dass irgendwas am System geändert wurde).

    Ich starte knxd wie hier beschrieben https://github.com/smarthomeNG/smart...plettanleitung

    Im Backend sehe ich dann auch "Dienst für die KNX Unterstützung: knxd".

    Sobald ich dann aber Smartvisu starte und z.B. Licht schalten oder die Rollo Seite öffne änder sich dieser Status auf "Dienst für die KNX Unterstützung: Nicht aktiv"

    sudo /etc/init.d/knxd status 08:29:42
    ● knxd.service - KNX Daemon
    Loaded: loaded (/lib/systemd/system/knxd.service; enabled)
    Active: activating (auto-restart) (Result: exit-code) since Mi 2017-07-12 08:30:38 CEST; 536ms ago
    Process: 2747 ExecStart=/usr/bin/knxd $KNXD_OPTS (code=exited, status=1/FAILURE)
    Main PID: 2747 (code=exited, status=1/FAILURE)

    Jul 12 08:30:38 raspberrypi knxd[2747]: Layer 5 [ 6:systemd_/systemd 9.999] up => >down
    Jul 12 08:30:38 raspberrypi knxd[2747]: Layer 8 [ 6:systemd_/systemd 9.999] StopServer
    Jul 12 08:30:38 raspberrypi knxd[2747]: Layer 5 [ 6:systemd_/systemd 9.999] >down => down
    Jul 12 08:30:38 raspberrypi knxd[2747]: Layer 4 [ 6:systemd_/systemd 9.999] down
    Jul 12 08:30:38 raspberrypi knxd[2747]: Layer 4 [ 6:systemd_/systemd 9.999] down
    Jul 12 08:30:38 raspberrypi knxd[2747]: Layer 4 [ 9:systemd_/systemd 9.999] is down
    Jul 12 08:30:38 raspberrypi knxd[2747]: Layer 4 [ 6:systemd_/systemd 10.000] is down
    Jul 12 08:30:38 raspberrypi systemd[1]: knxd.service: main process exited, code=exited, status=1/FAILURE
    Jul 12 08:30:38 raspberrypi systemd[1]: Unit knxd.service entered failed state.
    Jul 12 08:30:38 raspberrypi knxd[2747]: Layer 8 [ 6:systemd_/systemd 10.000] StopServer
    Wo kann ich ansetzen damit ich den Grund finde?


    Beim 2. Mal absetzen siehts so aus:

    sudo /etc/init.d/knxd status 08:30:38
    ● knxd.service - KNX Daemon
    Loaded: loaded (/lib/systemd/system/knxd.service; enabled)
    Active: active (running) since Mi 2017-07-12 08:45:01 CEST; 77ms ago
    Main PID: 3109 (knxd)
    CGroup: /system.slice/knxd.service
    └─3109 /usr/bin/knxd -e 1.2.3 -E 1.2.4:10 -u/tmp/eib -b ipt:10.0.0.2 -DTRS -c -t 0xffc -f 9

    Jul 12 08:45:01 raspberrypi knxd[3109]: Layer 4 [29:systemd_/LineDr 0.004] OpenGroupSocket RW
    Jul 12 08:45:01 raspberrypi knxd[3109]: Layer 7 [27:systemd_@1.2.4/GS 0.004] OpenGroupSocket complete
    Jul 12 08:45:01 raspberrypi knxd[3109]: Layer 3 [28:systemd_/ConnS 0.004] registerLink: 28:systemd__28
    Jul 12 08:45:01 raspberrypi knxd[3109]: Layer 3 [28:systemd_/ConnS 0.004] Start: cfg:systemd_
    Jul 12 08:45:01 raspberrypi knxd[3109]: Layer 5 [28:systemd_/ConnS 0.005] down => >up
    Jul 12 08:45:01 raspberrypi knxd[3109]: Layer 5 [28:systemd_/ConnS 0.005] Starting
    Jul 12 08:45:01 raspberrypi knxd[3109]: Layer 5 [28:systemd_/ConnS 0.005] >up => up
    Jul 12 08:45:01 raspberrypi knxd[3109]: Layer 4 [28:systemd_/ConnS 0.005] up
    Jul 12 08:45:01 raspberrypi knxd[3109]: Layer 5 [28:systemd_/ConnS 0.005] Started
    Jul 12 08:45:01 raspberrypi knxd[3109]: Layer 4 [28:systemd_/ConnS 0.005] up
    Das Spiel beginnt dann wieder von vorne.


    Auszug journalctl -u knxd
    Jul 12 08:54:29 raspberrypi systemd[1]: Started KNX Daemon.
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 5 [ 9:systemd_/systemd 0.002] down => >up
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 8 [ 9:systemd_/systemd 0.002] OpenSystemdSocket 4
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 8 [ 9:systemd_/systemd 0.002] SystemdSocket 4 opened
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 5 [ 9:systemd_/systemd 0.002] >up => up
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 4 [ 9:systemd_/systemd 0.002] up
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 5 [ 9:systemd_/systemd 0.003] Started
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 4 [ 9:systemd_/systemd 0.003] up
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 3 [ 6:systemd_/systemd 0.003] Start: cfg:systemd_
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 5 [ 6:systemd_/systemd 0.003] down => >up
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 8 [ 6:systemd_/systemd 0.003] OpenSystemdSocket 3
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 8 [ 6:systemd_/systemd 0.003] SystemdSocket 3 opened
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 5 [ 6:systemd_/systemd 0.003] >up => up
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 4 [ 6:systemd_/systemd 0.003] up
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 5 [ 6:systemd_/systemd 0.003] Started
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 4 [ 6:systemd_/systemd 0.003] up
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 8 [ 9:systemd_/systemd 0.003] New Connection
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 8 [26:systemd_/CConn 0.003] ClientConnection Init
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 3 [26:systemd_/CConn 0.003] Allocate 1.2.4
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 7 [27:systemd_@1.2.4/GS 0.004] OpenGroupSocket
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 4 [29:systemd_/LineDr 0.004] OpenGroupSocket RW
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 7 [27:systemd_@1.2.4/GS 0.004] OpenGroupSocket complete
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 3 [28:systemd_/ConnS 0.004] registerLink: 28:systemd__28
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 3 [28:systemd_/ConnS 0.004] Start: cfg:systemd_
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 5 [28:systemd_/ConnS 0.004] down => >up
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 5 [28:systemd_/ConnS 0.004] Starting
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 5 [28:systemd_/ConnS 0.004] >up => up
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 4 [28:systemd_/ConnS 0.004] up
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 5 [28:systemd_/ConnS 0.004] Started
    Jul 12 08:54:29 raspberrypi knxd[3368]: Layer 4 [28:systemd_/ConnS 0.004] up
    Jul 12 08:54:39 raspberrypi knxd[3368]: F00000000: [15:B.ipt] Link down, terminating
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 4 [ 9:systemd_/systemd 9.995] Stopping
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 5 [ 9:systemd_/systemd 9.995] up => >down
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 8 [ 9:systemd_/systemd 9.995] StopServer
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 8 [26:systemd_/CConn 9.995] ClientConnection 1.2.4 closing
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 3 [28:systemd_/ConnS 9.995] unregisterLink: systemd__28
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 8 [26:systemd_/CConn 9.995] Exiting
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 7 [26:systemd_/CConn 9.995] CloseGroupSocket
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 4 [29:systemd_/LineDr 9.995] CloseGroupSocket
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 5 [ 9:systemd_/systemd 9.995] >down => down
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 4 [ 9:systemd_/systemd 9.995] down
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 4 [ 9:systemd_/systemd 9.995] down
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 4 [ 6:systemd_/systemd 9.995] Stopping
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 5 [ 6:systemd_/systemd 9.995] up => >down
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 8 [ 6:systemd_/systemd 9.995] StopServer
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 5 [ 6:systemd_/systemd 9.995] >down => down
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 4 [ 6:systemd_/systemd 9.995] down
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 4 [ 6:systemd_/systemd 9.995] down
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 4 [ 9:systemd_/systemd 9.995] is down
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 4 [ 6:systemd_/systemd 9.995] is down
    Jul 12 08:54:39 raspberrypi knxd[3368]: Layer 8 [ 6:systemd_/systemd 9.996] StopServer
    Jul 12 08:54:39 raspberrypi systemd[1]: knxd.service: main process exited, code=exited, status=1/FAILURE
    Jul 12 08:54:39 raspberrypi systemd[1]: Unit knxd.service entered failed state.
    Jul 12 08:54:49 raspberrypi systemd[1]: knxd.service holdoff time over, scheduling restart.
    Jul 12 08:54:49 raspberrypi systemd[1]: Stopping KNX Daemon...
    Jul 12 08:54:49 raspberrypi systemd[1]: Starting KNX Daemon...
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 3 [ 6:systemd_/systemd 0.000] registerLink: 6:systemd_
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 3 [ 9:systemd_/systemd 0.000] registerLink: 9:systemd_
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 3 [ 9:systemd_/systemd 0.001] Start: cfg:systemd_
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 5 [ 9:systemd_/systemd 0.001] down => >up
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 8 [ 9:systemd_/systemd 0.001] OpenSystemdSocket 4
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 8 [ 9:systemd_/systemd 0.001] SystemdSocket 4 opened
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 5 [ 9:systemd_/systemd 0.001] >up => up
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 4 [ 9:systemd_/systemd 0.001] up
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 5 [ 9:systemd_/systemd 0.001] Started
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 4 [ 9:systemd_/systemd 0.001] up
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 3 [ 6:systemd_/systemd 0.001] Start: cfg:systemd_
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 5 [ 6:systemd_/systemd 0.001] down => >up
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 8 [ 6:systemd_/systemd 0.001] OpenSystemdSocket 3
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 8 [ 6:systemd_/systemd 0.001] SystemdSocket 3 opened
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 5 [ 6:systemd_/systemd 0.002] >up => up
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 4 [ 6:systemd_/systemd 0.002] up
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 5 [ 6:systemd_/systemd 0.002] Started
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 4 [ 6:systemd_/systemd 0.002] up
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 8 [ 9:systemd_/systemd 0.002] New Connection
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 8 [26:systemd_/CConn 0.002] ClientConnection Init
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 3 [26:systemd_/CConn 0.002] Allocate 1.2.4
    Jul 12 08:54:49 raspberrypi systemd[1]: Started KNX Daemon.
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 7 [27:systemd_@1.2.4/GS 0.002] OpenGroupSocket
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 4 [29:systemd_/LineDr 0.002] OpenGroupSocket RW
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 7 [27:systemd_@1.2.4/GS 0.003] OpenGroupSocket complete
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 3 [28:systemd_/ConnS 0.003] registerLink: 28:systemd__28
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 3 [28:systemd_/ConnS 0.003] Start: cfg:systemd_
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 5 [28:systemd_/ConnS 0.003] down => >up
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 5 [28:systemd_/ConnS 0.003] Starting
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 5 [28:systemd_/ConnS 0.003] >up => up
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 4 [28:systemd_/ConnS 0.003] up
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 5 [28:systemd_/ConnS 0.003] Started
    Jul 12 08:54:49 raspberrypi knxd[3374]: Layer 4 [28:systemd_/ConnS 0.003] up
    Jul 12 08:54:59 raspberrypi knxd[3374]: F00000000: [15:B.ipt] Link down, terminating
    Danke
    Martin
    Zuletzt geändert von DiePolle; 12.07.2017, 07:56.

  • #2
    Aha.

    Code:
    Jul 12 08:54:39 raspberrypi knxd[3368]: F00000000: [15:B.ipt] Link down, terminating
    Dein -t/-f am Ende der Befehlszeile wirkt sich nur auf die systemd-Sockets aus, aber nicht auf das "-b ipt:" das du eigentlich debuggen willst. Siehe Doku.

    Ich würde als Erstes mal das Interface zurücksetzen.
    1wire, KNX, OpenHAB, Python, Asterisk, SMD-Lötkolben

    Kommentar

    Lädt...
    X