FHEM Forum

FHEM - Hausautomations-Systeme => Homematic => Thema gestartet von: aichii am 23 November 2019, 20:17:13

Titel: Stopping RPC server
Beitrag von: aichii am 23 November 2019, 20:17:13
Hallo,

ich hab schon seit dem ich den raspberrymatic verwende das Problem, dass nach unbestimmter Zeit der RPCServer stoppt und im FHEM angezeigt wird, dass HMCCU inactive/ok ist.
Ich habe schon im Forum und mittels google versucht um eine Lösung zu finden, leider ohne erfolgt.
Das LOG-File sieht wie folgt aus:
2019.11.23 18:01:18 1: HMCCURPCPROC: [d_rpc000005VirtualDevices] Stopping RPC server CB9292000002000005
2019.11.23 18:01:18 1: HMCCURPCPROC: [d_rpc000005VirtualDevices] Deregistering RPC server http://192.168.0.2:14702/fh9292 with ID CB9292000002000005 at http://192.168.0.5:9292/groups
2019.11.23 18:01:18 1: HMCCURPCPROC: [d_rpc000005VirtualDevices] Callback for RPC server CB9292000002000005 deregistered
2019.11.23 18:01:18 2: HMCCURPCPROC: [d_rpc000005VirtualDevices] Sending signal INT to RPC server process CB9292000002000005 with PID=14163
2019.11.23 18:01:18 2: HMCCURPCPROC: [d_rpc000005VirtualDevices] Scheduling cleanup in 30 seconds
2019.11.23 18:01:18 2: CCURPC: [d_rpc000005VirtualDevices] CB9292000002000005 received signal INT
2019.11.23 18:01:19 2: HMCCURPCPROC: [d_rpc000005HmIP_RF] Found no running processes. Cleaning up ...
2019.11.23 18:01:19 1: HMCCURPCPROC: [d_rpc000005HmIP_RF] Housekeeping called. Cleaning up RPC environment
2019.11.23 18:01:19 1: HMCCURPCPROC: [d_rpc000005BidCos_RF] Stopping RPC server CB2001000002000005
2019.11.23 18:01:19 1: HMCCURPCPROC: [d_rpc000005BidCos_RF] Deregistering RPC server http://192.168.0.2:7411/fh2001 with ID CB2001000002000005 at http://192.168.0.5:2001
2019.11.23 18:01:19 1: HMCCURPCPROC: [d_rpc000005BidCos_RF] Callback for RPC server CB2001000002000005 deregistered
2019.11.23 18:01:19 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4525.
2019.11.23 18:01:19 2: HMCCURPCPROC: [d_rpc000005BidCos_RF] Sending signal INT to RPC server process CB2001000002000005 with PID=14162
2019.11.23 18:01:19 2: CCURPC: [d_rpc000005BidCos_RF] CB2001000002000005 received signal INT
2019.11.23 18:01:19 1: CCURPC: [d_rpc000005BidCos_RF] RPC server CB2001000002000005 stopped handling connections. PID=14162
2019.11.23 18:01:19 2: CCURPC: [d_rpc000005BidCos_RF] Number of I/O errors = 0
2019.11.23 18:01:19 2: HMCCURPCPROC: [d_rpc000005BidCos_RF] Scheduling cleanup in 30 seconds
2019.11.23 18:01:20 1: HMCCU: [d_ccu] No RPC device defined for interface BidCos-RF
2019.11.23 18:01:20 0: HMCCU: Can't find RPC device
2019.11.23 18:01:20 1: HMCCU: [d_ccu] No RPC device defined for interface VirtualDevices
2019.11.23 18:01:20 0: HMCCU: Can't find RPC device
2019.11.23 18:01:20 1: Including fhem.cfg
2019.11.23 18:01:21 1: HMCCU: [d_ccu] Initialized version 4.3.019
2019.11.23 18:01:21 1: HMCCU: [d_ccu] HMCCU: Initializing device
2019.11.23 18:01:21 1: HMCCU: [d_ccu] HMCCU: Read 16 devices with 167 channels from CCU 192.168.0.5
2019.11.23 18:01:21 1: HMCCU: [d_ccu] HMCCU: Read 3 interfaces from CCU 192.168.0.5
2019.11.23 18:01:21 1: HMCCU: [d_ccu] HMCCU: Read 0 programs from CCU 192.168.0.5
2019.11.23 18:01:21 1: HMCCU: [d_ccu] HMCCU: Read 5 virtual groups from CCU 192.168.0.5
2019.11.23 18:01:21 1: HMCCURPCPROC: [d_rpc000005BidCos_RF] Initialized version 1.8 for interface BidCos-RF with I/O device d_ccu
2019.11.23 18:01:21 1: HMCCURPCPROC: [d_rpc000005HmIP_RF] Initialized version 1.8 for interface HmIP-RF with I/O device d_ccu
2019.11.23 18:01:21 1: HMCCURPCPROC: [d_rpc000005VirtualDevices] Initialized version 1.8 for interface VirtualDevices with I/O device d_ccu


Besten Dank schon mal im vorraus für eure Inputs.
Titel: Antw:Stopping RPC server
Beitrag von: zap am 24 November 2019, 09:37:06
Sieht mir nach einem regulären Stop aus, d.h. irgendetwas triggert den Stop. HMcCU macht hat keine solche automatische Stop Funktion, muss also eine andere Ursache haben.
Titel: Antw:Stopping RPC server
Beitrag von: aichii am 24 November 2019, 10:00:47
Es gibt Tage wo das nicht passiert. Da läuft alles problemlos 1 Woche und dann kommt an einer beliebigen Uhrzeit ein Stop.
Kann es sein, dass es hier ein Problem gibt, da ich Raspberrymatic verwende?
Titel: Antw:Stopping RPC server
Beitrag von: fredje am 24 November 2019, 15:15:09
Hallo,
habe auch das problem und bis jetzt noch keine Lösung gefunden.
Scheint also kein Einzelfall zu sein.
Titel: Antw:Stopping RPC server
Beitrag von: aichii am 25 März 2020, 20:23:08
Mir ist aufgefallen, dass dies eigentlich nur nach speichern der fhem.cfg auftritt.
shutdown restart hilft dann immer!