Ankündigung

Einklappen
Keine Ankündigung bisher.

8383 im Dauerbetrieb

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

    8383 im Dauerbetrieb

    Ich schaffe es nicht mehr aus der 8383-Falle herauszukommen.

    Die sudo netstat- Abfrage zeigt brav immer wieder eine Nummer an, die sich auch mit kill löschen lässt.
    Aber unmittelbar danach ist 8383 wider vergeben.

    Ich sehe etwas auf dem Schlauch mit den Namen in der module.yaml
    Ich füge meinen Stand weiter unten an.


    [smarthome@SmartHomeNG-4-8-IP40 ~]$ /usr/local/smarthome/bin/smarthome.py -s
    Stopping SmartHomeNG, please wait...
    [smarthome@SmartHomeNG-4-8-IP40 ~]$ sudo netstat -tulpn|grep 8383
    tcp 0 0 192.168.178.40:8383 0.0.0.0:* LISTEN 3111/python
    [smarthome@SmartHomeNG-4-8-IP40 ~]$ kill -9 3111
    [smarthome@SmartHomeNG-4-8-IP40 ~]$ sudo netstat -tulpn|grep 8383
    tcp 0 0 192.168.178.40:8383 0.0.0.0:* LISTEN 3189/python
    [smarthome@SmartHomeNG-4-8-IP40 ~]$ kill -9 3189
    [smarthome@SmartHomeNG-4-8-IP40 ~]$ sudo netstat -tulpn|grep 8383
    tcp 0 0 192.168.178.40:8383 0.0.0.0:* LISTEN 3265/python
    [smarthome@SmartHomeNG-4-8-IP40 ~]$ kill -9 3265
    [smarthome@SmartHomeNG-4-8-IP40 ~]$ /usr/local/smarthome/bin/smarthome.py -s
    Stopping SmartHomeNG, please wait...
    [smarthome@SmartHomeNG-4-8-IP40 ~]$ sudo netstat -tulpn|grep 8383
    tcp 0 0 192.168.178.40:8383 0.0.0.0:* LISTEN 3427/python
    [smarthome@SmartHomeNG-4-8-IP40 ~]$ kill -9 3427
    [smarthome@SmartHomeNG-4-8-IP40 ~]$ sudo netstat -tulpn|grep 8383
    tcp 0 0 192.168.178.40:8383 0.0.0.0:* LISTEN 3526/python
    [smarthome@SmartHomeNG-4-8-IP40 ~]$
    Code:
    %YAML 1.1
    ---
    # etc/module.yaml
    # support for web server
    http:
        module_name: http
        starturl: admin
    # support for graphical admin interface
        showservicelist: true
        showtraceback: true
        webif_pagelength: -1
        ip: 0.0.0.0
        showpluginlist: true
    
    admin:
        module_name: admin
        websocket_host: 19x.16y.17z.1
        developer_mode: true
        rest_dispatch_force_exception: true
        click_dropdown_header: true
        itemtree_searchstart: 3
        login_expiration: 156
        pypi_timeout: 5
        itemtree_fullpath: true
    
    websocket:
        module_name: websocket
    
    #enable, if mqtt protocol is going to be used
    
    mqtt:
        module_name: mqtt
        enabled: True
        ip: 0.0.0.0
    ​
    %YAML 1.1
    ---
    # etc/module.yaml
    # support for web server
    http:
    module_name: http
    starturl: admin
    # support for graphical admin interface
    showservicelist: true
    showtraceback: true
    webif_pagelength: -1
    ip: 0.0.0.0
    showpluginlist: true

    admin:
    module_name: admin
    websocket_host: 19x.16y.17z.1
    developer_mode: true
    rest_dispatch_force_exception: true
    click_dropdown_header: true
    itemtree_searchstart: 3
    login_expiration: 156
    pypi_timeout: 5
    itemtree_fullpath: true

    websocket:
    module_name: websocket

    #enable, if mqtt protocol is going to be used

    mqtt:
    module_name: mqtt
    enabled: True
    ip: 0.0.0.0

    ​%YAML 1.1
    ---
    # etc/module.yaml
    # support for web server
    http:
    module_name: http
    starturl: admin
    # support for graphical admin interface
    showservicelist: true
    showtraceback: true
    webif_pagelength: -1
    ip: 0.0.0.0
    showpluginlist: true

    admin:
    module_name: admin
    websocket_host: 192.168.178.1
    developer_mode: true
    rest_dispatch_force_exception: true
    click_dropdown_header: true
    itemtree_searchstart: 3
    login_expiration: 156
    pypi_timeout: 5
    itemtree_fullpath: true

    websocket:
    module_name: websocket

    #enable, if mqtt protocol is going to be used

    mqtt:
    module_name: mqtt
    enabled: True
    ip: 0.0.0.0

    ​%YAML 1.1
    ---
    # etc/module.yaml
    # support for web server
    http:
    module_name: http
    starturl: admin
    # support for graphical admin interface
    showservicelist: true
    showtraceback: true
    webif_pagelength: -1
    ip: 0.0.0.0
    showpluginlist: true

    admin:
    module_name: admin
    websocket_host: 19x.16y.17z.1
    developer_mode: true
    rest_dispatch_force_exception: true
    click_dropdown_header: true
    itemtree_searchstart: 3
    login_expiration: 156
    pypi_timeout: 5
    itemtree_fullpath: true

    websocket:
    module_name: websocket

    #enable, if mqtt protocol is going to be used

    mqtt:
    module_name: mqtt
    enabled: True
    ip: 0.0.0.0

    ​19x.16y.17z.1 ist meine Fritz.box xyz sind Ziffern im Original
    19x.16y.17z.40 mein Raspi

    Bei einem Neustart ab dem IMG habe ich diese Daten geändert, Habe ich hier einen Wurm reingebracht?

    Danke für jede Hilfe!
    LG Wolfgang

    Noch ein kleiner Nachtrag
    Code:
    [smarthome@SmartHomeNG-4-8-IP40 ~]$ ps -ef|grep smarthome|grep bin
    smartho+    3526       1  0 13:19 ?        00:00:53 /usr/bin/python /usr/local/smarthome/bin/smarthome.py
     [smarthome@SmartHomeNG-4-8-IP40 ~]$ kill -9 3526
     [smarthome@SmartHomeNG-4-8-IP40 ~]$ ps -ef|grep smarthome|grep bin
    smartho+    4972       1 83 15:19 ?        00:00:07 /usr/bin/python /usr/local/smarthome/bin/smarthome.py
     [smarthome@SmartHomeNG-4-8-IP40 ~]$
    
    /usr/local/smarthome/bin/smarthome.py -s
    Stopping SmartHomeNG, please wait...
     [smarthome@SmartHomeNG-4-8-IP40 ~]$  ps -ef|grep smarthome|grep bin
    smartho+    5078       1 96 15:20 ?        00:00:06 /usr/bin/python /usr/local/smarthome/bin/smarthome.py
     [smarthome@SmartHomeNG-4-8-IP40 ~]$ /usr/local/smarthome/bin/smarthome.py -s
    Stopping SmartHomeNG, please wait...
     [smarthome@SmartHomeNG-4-8-IP40 ~]$  ps -ef|grep smarthome|grep bin
    smartho+    5162       1 93 15:21 ?        00:00:07 /usr/bin/python /usr/local/smarthome/bin/smarthome.py
    
    ​
    Zuletzt geändert von schloessl; 27.04.2023, 14:25. Grund: Nachtag eingefügt

    #2
    Fixe doch bitte noch die Einrückungen.

    Hast du eventuell monit gestartet? Das sorgt dafür, dass shng immer wieder automatisch startet. systemctl status monit bzw. systemctl stop monit

    Kommentar

    Lädt...
    X