Autor Thema: knxd.conf vs. knxd.ini  (Gelesen 734 mal)

Offline Isnogud0815

  • New Member
  • *
  • Beiträge: 24
knxd.conf vs. knxd.ini
« am: 24 September 2019, 11:12:09 »
Hallo zusammen,


ich habe folgendes Problem: nach der Umstellung von Debian Stretch auf Debian Buster nutze ich nun den knxd, der über apt-get mitkommt. Soweit so gut.

In Fhem lassen sich meine 3 TULs auch anlegen.

Internals:
   AckLineDef
   Clients    :KNX:EIB:
   DEF        knxd:localhost 1.1.254
   DevType    EIBD
   DeviceAddress 011fe
   DeviceName knxd:localhost
   FD         9
   FUUID      5d70ecbf-f33f-58b4-0b82-9de56e457ec37755
   KNX_MSGCNT 248
   KNX_TIME   2019-09-24 11:03:03
   NAME       KNX
   NR         24
   PARTIAL   
   RAWMSG     C01201w001020e0e
   REFUSED   
   STATE      Initialized
   TYPE       TUL
   .clientArray:
     KNX
   MatchList:
     2:KNX      ^C.*
     3:EIB      ^B.*
Attributes:
   room       TUL

Ab und zu, aber nicht unbedingt regelmäßig, fällt aber offensichtlich der knxd Prozess runter und wird wieder gestartet.
Laut unserem Netzzwerg  ::) liegt kein Netzwerkproblem vor, da soll alles ok sein.

more /var/log/syslog

Sep 23 00:35:55 DEKHER2LDS02 knxd[67675]: F00000105: [19:D.ipt] Link down, terminating
Sep 23 00:35:55 DEKHER2LDS02 systemd[1]: knxd.service: Main process exited, code=exited, status=1/FAILURE
Sep 23 00:35:55 DEKHER2LDS02 systemd[1]: knxd.service: Failed with result 'exit-code'.
Sep 23 00:36:05 DEKHER2LDS02 systemd[1]: knxd.service: Service RestartSec=10s expired, scheduling restart.
Sep 23 00:36:05 DEKHER2LDS02 systemd[1]: knxd.service: Scheduled restart job, restart counter is at 41.
Sep 23 00:36:05 DEKHER2LDS02 systemd[1]: Stopped KNX Daemon.
Sep 23 00:36:05 DEKHER2LDS02 systemd[1]: Starting KNX Daemon...
Sep 23 00:36:05 DEKHER2LDS02 systemd[1]: Started KNX Daemon.
Sep 23 00:47:13 DEKHER2LDS02 knxd[68090]: F00000105: [19:D.ipt] Link down, terminating
Sep 23 00:47:13 DEKHER2LDS02 systemd[1]: knxd.service: Main process exited, code=exited, status=1/FAILURE
Sep 23 00:47:13 DEKHER2LDS02 systemd[1]: knxd.service: Failed with result 'exit-code'.
Sep 23 00:47:24 DEKHER2LDS02 systemd[1]: knxd.service: Service RestartSec=10s expired, scheduling restart.
Sep 23 00:47:24 DEKHER2LDS02 systemd[1]: knxd.service: Scheduled restart job, restart counter is at 42.
Sep 23 00:47:24 DEKHER2LDS02 systemd[1]: Stopped KNX Daemon.
Sep 23 00:47:24 DEKHER2LDS02 systemd[1]: Starting KNX Daemon...
Sep 23 00:47:24 DEKHER2LDS02 systemd[1]: Started KNX Daemon.
Sep 23 00:57:58 DEKHER2LDS02 knxd[68300]: F00000105: [19:D.ipt] Link down, terminating
Sep 23 00:57:58 DEKHER2LDS02 systemd[1]: knxd.service: Main process exited, code=exited, status=1/FAILURE
Sep 23 00:57:58 DEKHER2LDS02 systemd[1]: knxd.service: Failed with result 'exit-code'.
Sep 23 00:58:08 DEKHER2LDS02 systemd[1]: knxd.service: Service RestartSec=10s expired, scheduling restart.
Sep 23 00:58:08 DEKHER2LDS02 systemd[1]: knxd.service: Scheduled restart job, restart counter is at 43.
Sep 23 00:58:08 DEKHER2LDS02 systemd[1]: Stopped KNX Daemon.
Sep 23 00:58:08 DEKHER2LDS02 systemd[1]: Starting KNX Daemon...
Sep 23 00:58:08 DEKHER2LDS02 systemd[1]: Started KNX Daemon.
Sep 23 01:08:58 DEKHER2LDS02 knxd[68504]: F00000105: [19:D.ipt] Link down, terminating
Sep 23 01:08:58 DEKHER2LDS02 systemd[1]: knxd.service: Main process exited, code=exited, status=1/FAILURE
Sep 23 01:08:58 DEKHER2LDS02 systemd[1]: knxd.service: Failed with result 'exit-code'.
Sep 23 01:09:08 DEKHER2LDS02 systemd[1]: knxd.service: Service RestartSec=10s expired, scheduling restart.
Sep 23 01:09:08 DEKHER2LDS02 systemd[1]: knxd.service: Scheduled restart job, restart counter is at 44.
Sep 23 01:09:08 DEKHER2LDS02 systemd[1]: Stopped KNX Daemon.

Die Version des knxd ist 0.14.30  (knxd -V)

Nun wollte ich schön brav weg von der Konfiguration in der /etc/knxd.conf hin zur /etc/knxd.ini (so wie beschrieben)
Wenn ich nun aber den knxd Prozess starte, scheint der zu laufen, in FHEM sind aber die TULs auf disconnected.

Auszug aus der knxd.conf:
root@DEKHER2LDS02:/etc# more knxd.conf
# configuration for knxd.service
#KNXD_OPTS="-e 0.0.1 -E 0.0.2:8 -u /tmp/eib -b ip:"
KNXD_OPTS="-e 0.0.1 -E 0.0.2:8 -u /tmp/eib -b ipt:141.73.93.62:3671:3672 -b ipt:141.73.99.39:3671:3673 -b ipt:141.73.93.29:3671:3674"

#KNXD_OPTS="-u /tmp/eib -u /var/run/knx -i -b ipt:141.73.93.62:3671:3672 -b ipt:141.73.99.39:3671:3673 -b ipt:141.73.93.29:3671:3674"


# configuration for knxd.service using new configuration format in /etc/knxd.ini
# use only this line if you used knxd_args to convert your old startup options
##### KNXD_OPTS=/etc/knxd.ini

knxd.ini:
root@DEKHER2LDS02:/etc# more knxd.ini
[main]
addr = 0.0.1
client-addrs = 0.0.2:8
connections = X.ipt,Y.ipt,Z.ipt

[X.ipt]
driver = ipt
ip-address = 141.73.93.62
dest-port = 3671
src-port = 3672

[Y.ipt]
driver = ipt
ip-address = 141.73.99.39
dest-port = 3671
src-port = 3673


[Z.ipt]
driver = ipt
ip-address = 141.73.93.29
dest-port = 3671
src-port = 3674

Habe ich in der knxd.ini was falsch gemacht?
kann mir da jemand helfen?
oder hat jemand Ideen, warum der knxd Prozess über die knxd.conf ab und zu abstürzt?


Danke für jede Hilfe

Isno

 

decade-submarginal