Ankündigung

Einklappen

Serverwartung 21.2.



Am 21.2. im Laufe des späten Abends wird eine Serverwartung durchgeführt. Das Forum ist dadurch für gut zwei Stunden nicht erreichbar.
Es wird eine Wartungsseite geschaltet.

Mehr anzeigen
Weniger anzeigen

[Solved] KNX connection "connection refused"

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

    [Solved] KNX connection "connection refused"

    SOLVED:
    Problem was eibd start script was set as a debian machine - not ubuntu. Changed script -
    all worked

    Maybe someone could use the information later


    Hello Guys.
    I've installed the Sh.py from the guide in the wiki on a fresh Ubuntu 14 installation.
    I can't get the eibd function to connect to my KNX....

    When starting sh.py in -d mode, it says:
    ERROR Connections KNX: could not connect to 127.0.0.1:6720 (TCP): [Errno 111] Connection refused -- connection.py:connect:382

    When trying to do a groupswrite ip:localhost 0/0/1 1 i get the same error "Open Failed - Connection Refused"

    What can be wrong here?

    My plugin.cong:
    Code:
    # plugin.conf
    [knx]
       class_name = KNX
       class_path = plugins.knx
       host = 127.0.0.1
       port = 6720
    #   send_time = 600 # update date/time every 600 seconds, default none
    #   time_ga = 1/1/1 # default none
    #   date_ga = 1/1/2 # default none
    #[ow]
    My eidb config:
    Code:
      GNU nano 2.2.6                   File: /etc/default/eibd                                            
    
    EIB_ARGS="--daemon --Server --Tunnelling --Discovery --GroupCache --listen-tcp"
    EIB_ADDR="0.0.1"
    EIB_IF="ipt:192.168.50.10"
    EIB_UID="rasmus"
    But when starting the eibd deamon manually with:

    Code:
    eibd -c -R -S -T -t1023 ipt:192.168.50.7
    i get a lot of KNX data

    Seems like the eibd deamon isn't running.... When starting it manually i can see following when
    Code:
    ps ax | grep eibd
    i get:
    Code:
     3239 pts/1    S+     0:00 eibd -c -R -S -T -t1023 ipt:192.168.50.10
     3265 pts/0    S+     0:00 grep --color=auto eibd
    But when starting with the script defined in etc/init.d/eibd start i only get
    Code:
      3265 pts/0    S+     0:00 grep --color=auto eibd
    When starting /etc/init.d/eibd start:
    Code:
    root@smarthome:/etc/init.d# eibd start
    No listen-address given
    Zuletzt geändert von Rasmus7700; 11.10.2015, 15:39.

    #2
    Maybe you could outline the actual differences between the given Ubuntu and the final solving debian scripts ...?

    Regards,
    Bernd

    Kommentar


      #3
      Ofcourse
      In the /etc/init.d/eibd file following must be choosen:

      Code:
      PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
      #Ubuntu: DAEMON=/usr/bin/$NAME
      #Debian: DAEMON=/usr/local/bin/$NAME
      DAEMON=/usr/local/bin/$NAME PIDFILE=/var/run/$NAME.pid
      SCRIPTNAME=/etc/init.d/$NAME
      Remember:
      #Ubuntu: DAEMON=/usr/bin/$NAME
      #Debian: DAEMON=/usr/local/bin/$NAME

      Kommentar

      Lädt...
      X