FHEM hat sic h plötzlich aufgehangen

Begonnen von roedert, 23 Juni 2018, 13:50:04

Vorheriges Thema - Nächstes Thema

roedert

Kommt nicht  mehr auf die Weboberfläche, also ganzen Server mal durchgestartet ... das gleiche.
Habe vorher nichts an er Config oder Updates gemacht ... hat "einfach so" aufgehört zu arbeiten.

Letzte Zeilen im Logfile:
2018.06.23 13:45:29.708 0: Featurelevel: 5.8
2018.06.23 13:45:29.708 0: Server started with 993 defined entities (fhem.pl:16866/2018-06-14 perl:5.020002 os:linux user:root pid:2894)
2018.06.23 13:45:30.038 3: DbLog DbLog - Creating Push-Handle to database mysql:database=fhemlog;host=localhost;port=3306 with user fhem
2018.06.23 13:45:30.051 3: DbLog DbLog - Push-Handle to db mysql:database=fhemlog;host=localhost;port=3306 created
2018.06.23 13:45:30.114 3: DbLog DbInt - Creating Push-Handle to database mysql:database=fhem;host=localhost;port=3306 with user fhem
2018.06.23 13:45:30.115 3: DbLog DbInt - Push-Handle to db mysql:database=fhem;host=localhost;port=3306 created

mal die DBLog-Devices deaktiviert .... dann ist die letzte Zeile im Log
2018.06.23 13:45:29.708 0: Server started with 993 defined entities (fhem.pl:16866/2018-06-14 perl:5.020002 os:linux user:root pid:2894)

telnet auf 7072 lässt sich connection, zeigt danach jedoch nichts an:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.


Irgendeine Idee wo man da suchen kann?

ps zeigt mir aber auch jede Mange fhem-Prozesse an:
fhem      2894     1  1 13:45 pts/0    00:00:04 perl fhem.pl fhem.cfg
fhem      2925  2894  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2926  2894  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2927  2894  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2928  2894  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2929  2894  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2930  2894  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2931  2894  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2932  2894  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2933  2894  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2934  2894  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2935  2894  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2949  2894  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg

roedert

#1
sobald ich den ersten fhem-Prozess kille, laufen etliche ssh's von den Xiamoi-Flowersensoren an:
fhem      2925     1  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2926     1  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2927     1  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2928     1  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2929     1  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2930     1  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2931     1  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2932     1  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2933     1  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2934     1  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2935     1  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      2949     1  0 13:45 pts/0    00:00:00 perl fhem.pl fhem.cfg
fhem      3099  2934  0 13:58 pts/0    00:00:00 sh -c ssh root@FHEMplant-01 'which gatttool'
fhem      3104  3099  1 13:58 pts/0    00:00:00 ssh root@FHEMplant-01 which gatttool
fhem      3108  2931  0 13:58 pts/0    00:00:00 sh -c ssh root@FHEMplant-01 'which gatttool'
fhem      3113  3108  1 13:58 pts/0    00:00:00 ssh root@FHEMplant-01 which gatttool
fhem      3128  2929  0 13:58 pts/0    00:00:00 sh -c ssh root@FHEMplant-02 'gatttool -i hci0 -b C4:7C:8D:61:xxxx --char-read -a 0x38 2>&1 /dev/null'
fhem      3129  3128  0 13:58 pts/0    00:00:00 ssh root@FHEMplant-02 gatttool -i hci0 -b C4:7C:8D:61:xxxx --char-read -a 0x38 2>&1 /dev/null
fhem      3130  2935  0 13:58 pts/0    00:00:00 sh -c ssh root@FHEMplant-02 'gatttool -i hci0 -b C4:7C:8D:61:xxxx --char-read -a 0x38 2>&1 /dev/null'
fhem      3131  2927  0 13:58 pts/0    00:00:00 sh -c ssh root@FHEMplant-02 'gatttool -i hci0 -b C4:7C:8D:61:xxxx --char-read -a 0x38 2>&1 /dev/null'
fhem      3132  2928  0 13:58 pts/0    00:00:00 sh -c ssh root@FHEMplant-02 'gatttool -i hci0 -b C4:7C:8D:61:xxxx --char-read -a 0x38 2>&1 /dev/null'
fhem      3133  2925  0 13:58 pts/0    00:00:00 sh -c ssh root@FHEMplant-02 'gatttool -i hci0 -b C4:7C:8D:61:xxxx --char-read -a 0x38 2>&1 /dev/null'
fhem      3134  3130  0 13:58 pts/0    00:00:00 ssh root@FHEMplant-02 gatttool -i hci0 -b C4:7C:8D:61:xxxx --char-read -a 0x38 2>&1 /dev/null
fhem      3135  3131  0 13:58 pts/0    00:00:00 ssh root@FHEMplant-02 gatttool -i hci0 -b C4:7C:8D:61:xxxx --char-read -a 0x38 2>&1 /dev/null
fhem      3136  3132  0 13:58 pts/0    00:00:00 ssh root@FHEMplant-02 gatttool -i hci0 -b C4:7C:8D:61:xxxx --char-read -a 0x38 2>&1 /dev/null
fhem      3137  3133  0 13:58 pts/0    00:00:00 ssh root@FHEMplant-02 gatttool -i hci0 -b C4:7C:8D:61:xxxx --char-read -a 0x38 2>&1 /dev/null
fhem      3138  2926  0 13:58 pts/0    00:00:00 sh -c ssh root@FHEMplant-02 'gatttool -i hci0 -b C4:7C:8D:61:xxxx --char-read -a 0x38 2>&1 /dev/null'
fhem      3139  3138  0 13:58 pts/0    00:00:00 ssh root@FHEMplant-02 gatttool -i hci0 -b C4:7C:8D:61:xxxx --char-read -a 0x38 2>&1 /dev/null
fhem      3140  2930  0 13:58 pts/0    00:00:00 sh -c ssh root@FHEMplant-02 'gatttool -i hci0 -b C4:7C:8D:61:xxxx --char-read -a 0x38 2>&1 /dev/null'
fhem      3141  3140  0 13:58 pts/0    00:00:00 ssh root@FHEMplant-02 gatttool -i hci0 -b C4:7C:8D:61:xxxx --char-read -a 0x38 2>&1 /dev/null
fhem      3142  2933  0 13:58 pts/0    00:00:00 sh -c ssh root@FHEMplant-03 'ps ax| grep -E "[g]atttool -i hci0 -b C4:7C:8D:62:xxxx"'
fhem      3143  2932  0 13:58 pts/0    00:00:00 sh -c ssh root@FHEMplant-03 'ps ax| grep -E "[g]atttool -i hci0 -b C4:7C:8D:61:xxxx"'
fhem      3144  3143  0 13:58 pts/0    00:00:00 ssh root@FHEMplant-03 ps ax| grep -E "[g]atttool -i hci0 -b C4:7C:8D:61:xxxx"
fhem      3145  3142  0 13:58 pts/0    00:00:00 ssh root@FHEMplant-03 ps ax| grep -E "[g]atttool -i hci0 -b C4:7C:8D:62:xxxx"

Otto123

Hi,

zunächst mal bitte die Logs in Codetags, die findest du mit der # Taste über dem  :-X Smiley.

Dann mach mal hier weiter -> https://wiki.fhem.de/wiki/FHEM_startet_nicht_-_Tipps_zur_Fehlersuche
Was sagt Top?
Was passiert im Debug Modus?
Was ist der Server für Hardware?

Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

roedert

Ist ein Debian GNU/Linux 8 auf einem i3.
Top zeigt nix auffälliges.
Debug liefert jede Mange Infos .. aber nix was irgendwie auf einen Fehler deutet.
Die Webseite(n) liefern aber kein Ergebnis und hängen einfach nur im Ladebalken fest. Auch via Telnet wie schon geschrieben keine Reaktion nach dem "Begrüßungstext"

Otto123

hmm - klingt irgendwie nach Schleifen ...
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

roedert

Es war ein MPD-Device ... der mpd auf der Gegenstelle hatte ich irgendwie aufgegangen.
Nach einem Neustart auf beiden Seiten alle wieder ok :-)