Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. KNX adapter?

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    KNX adapter?

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LJTom last edited by

      Da passiert:

      E00000013: OpenInetSocket 6720: bind: Address already in use
      initialisation of the knxd inet protocol failed: Address already in use
      
      
      1 Reply Last reply Reply Quote 0
      • ruhigundrelaxed
        ruhigundrelaxed last edited by

        Aha!

        Was sagt:````
        sudo netstat -tulpen|grep 6720

        1 Reply Last reply Reply Quote 0
        • L
          LJTom last edited by

          Das meint:

          tcp6       0      0 :::6720                 :::*                    LISTEN      0          7512        1/init
          
          
          1 Reply Last reply Reply Quote 0
          • ruhigundrelaxed
            ruhigundrelaxed last edited by

            sudo ps aux |grep eibd
            

            und

            sudo ps aux |grep knxd
            
            1 Reply Last reply Reply Quote 0
            • L
              LJTom last edited by

              root      1060  0.2  3.1 125832 29520 ?        Sl   11:57   0:05 io.eibd.0      
              root      2650  0.0  0.1   4300  1840 pts/0    S+   12:41   0:00 grep eibd
              
              
              root      2662  0.0  0.1   4296  1812 pts/0    S+   12:41   0:00 grep knxd
              
              
              1 Reply Last reply Reply Quote 0
              • ruhigundrelaxed
                ruhigundrelaxed last edited by

                Ich bin verwirrt….

                Warum ist den der socket offen?

                Was sagt:

                systemctl -all list-sockets |grep 6720
                
                1 Reply Last reply Reply Quote 0
                • L
                  LJTom last edited by

                  Der sagt:

                  [::]:6720                       knxd.socket                     knxd.service
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • ruhigundrelaxed
                    ruhigundrelaxed last edited by

                    Aber trotzdem sagt systemd das der Dienst nicht startet…

                    Machmal:

                    > systemctl stop knxd

                    dannach nochmal schauen ob der socket zu ist:

                    systemctl -all list-sockets |grep 6720

                    1 Reply Last reply Reply Quote 0
                    • L
                      LJTom last edited by

                      Jetzt schauts so aus:

                      root@raspberrypi:~# systemctl stop knxd
                      Warning: Stopping knxd.service, but it can still be activated by:
                        knxd.socket
                      root@raspberrypi:~# systemctl -all list-sockets |grep 6720
                      [::]:6720                       knxd.socket                     knxd.service
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • ruhigundrelaxed
                        ruhigundrelaxed last edited by

                        Ich erinnere mich dunkel an einen cre podcast mit Lennart Poettering dem maintainer von systemd. Ein neues feature von systemd ist wohl, dass dienste "ondemand" gestartet werden können….

                        Das ist wohl hier der fall..

                        Versuch mal:

                        systemctl disable knxd
                        
                        1 Reply Last reply Reply Quote 0
                        • L
                          LJTom last edited by

                          Mal kein fehler:

                          Synchronizing state for knxd.service with sysvinit using update-rc.d...
                          Executing /usr/sbin/update-rc.d knxd defaults
                          Executing /usr/sbin/update-rc.d knxd disable
                          insserv: warning: current start runlevel(s) (empty) of script `knxd' overrides LSB defaults (2 3 4 5).
                          insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `knxd' overrides LSB defaults (0 1 6).
                          Removed symlink /etc/systemd/system/sockets.target.wants/knxd.socket.
                          
                          
                          1 Reply Last reply Reply Quote 0
                          • ruhigundrelaxed
                            ruhigundrelaxed last edited by

                            Ok…

                            jetzt nochmal:

                            sudo /usr/bin/knxd --eibaddr=0.0.230 -u /tmp/eib -u /var/run/knx -i -DTRS -b ipt:192.168.1.106
                            

                            Wenn alles gut ist, meckert er wegen root… egal...

                            Gruß

                            1 Reply Last reply Reply Quote 0
                            • L
                              LJTom last edited by

                              Neeee leider

                              E00000013: OpenInetSocket 6720: bind: Address already in use
                              initialisation of the knxd inet protocol failed: Address already in use
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • ruhigundrelaxed
                                ruhigundrelaxed last edited by

                                Pfff.. Renitente Kiste…

                                Dann auf die harte nummer:

                                In "/etc/default/knxd" den daemon deaktivieren und neustarten (reboot).

                                also:

                                START_KNXD=YES -> START_KNXD=NO

                                reboot

                                dann nochmal:

                                sudo /usr/bin/knxd --eibaddr=0.0.230 -u /tmp/eib -u /var/run/knx -i -DTRS -b ipt:192.168.1.106

                                1 Reply Last reply Reply Quote 0
                                • L
                                  LJTom last edited by

                                  Und wieder das selbe wie oben schon geschrieben.

                                  1 Reply Last reply Reply Quote 0
                                  • ruhigundrelaxed
                                    ruhigundrelaxed last edited by

                                    OK! Wieder was gelernt…

                                    Also:

                                    cd /etc/systemd/system/sockets.target.wants/
                                    mv knxd.socket knxd.socket_tmp
                                    reboot
                                    
                                    

                                    Probieren ob es nun geht…

                                    1 Reply Last reply Reply Quote 0
                                    • L
                                      LJTom last edited by

                                      Mal wieder was neues:

                                      root@raspberrypi:/etc/systemd/system/sockets.target.wants# mv knxd.socket knxd.socket_tmp
                                      mv: der Aufruf von stat für „knxd.socket“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • ruhigundrelaxed
                                        ruhigundrelaxed last edited by

                                        Sehr verwunderlich….

                                        was sagt: sudo systemctl disable knxd.socket

                                        was sagt: systemctl list-unit-files

                                        1 Reply Last reply Reply Quote 0
                                        • L
                                          LJTom last edited by

                                          deaktivieren hat funktioniert.

                                          Bei LIST wirft er mir eine ganze liste aus, ich schätze mal dich interessirt knxd:

                                          knxd.service disabled

                                          schätze mal das gehört jetzt so?!?!

                                          1 Reply Last reply Reply Quote 0
                                          • ruhigundrelaxed
                                            ruhigundrelaxed last edited by

                                            Der ganze Trick nur, um das Ding testweise im Vordergrund zu starten. Wenn der Dienst deaktiviert ist: sudo /usr/bin/knxd –eibaddr=0.0.230 -u /tmp/eib -u /var/run/knx -i -DTRS -b ipt:192.168.1.106

                                            Was passiert dann?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            472
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            93
                                            14373
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo