Homegear läuft nicht mehr - "Could not connect to socket"

Seit zwei Tagen läuft mein Homegear nicht mehr. Ich schätze nach einem Update per “apt-get”.

  • System: openhabian / Raspbian 9 Stretch
  • Homegear Version: Bis zum Ausfall auf Stable
  • Kommuniziere mit einem HM-CFG-LAN

m.E sehen die Logs soweit gut aus. Jedoch scheint der “StartUp” irgendwo zu hängen. Das System lauscht auch auf keinem der Ports. Das Error-Log bleibt leer beim Start. Habe das Problem sowohl bei der Stable als auch bei Testing und beim Nightly-Build. Die DB habe ich testweise auch mal gelöscht - jedoch selber Effekt.

sudo homegear -r

08/10/19 15:38:58.995 Debug: debugLevel set to 5
08/10/19 15:38:58.996 Debug: memoryDebugging set to 1
08/10/19 15:38:58.996 Debug: devLog set to 0
08/10/19 15:38:58.996 Debug: ipcLog set to 0
08/10/19 15:38:58.997 Debug: enableCoreDumps set to 1
08/10/19 15:38:58.997 Debug: setDevicePermissions set to 1
08/10/19 15:38:58.997 Debug: workingDirectory set to /var/lib/homegear/
08/10/19 15:38:58.997 Debug: socketPath set to /var/run/homegear/
08/10/19 15:38:58.997 Debug: dataPath set to /var/lib/homegear/
08/10/19 15:38:58.998 Debug: familyDataPath set to /var/lib/homegear/families/
08/10/19 15:38:58.998 Debug: databaseMemoryJournal set to 0
08/10/19 15:38:58.998 Debug: databaseWALJournal set to 1
08/10/19 15:38:58.998 Debug: databaseSynchronous set to 1
08/10/19 15:38:58.998 Debug: databaseMaxBackups set to 10
08/10/19 15:38:58.999 Debug: logfilePath set to /var/log/homegear/
08/10/19 15:38:58.999 Debug: enableUPnP set to 1
08/10/19 15:38:58.999 Debug: deviceDescriptionPath set to /etc/homegear/devices/
08/10/19 15:38:58.999 Debug: clientSettingsPath set to /etc/homegear/rpcclients.conf
08/10/19 15:38:58.999 Debug: serverSettingsPath set to /etc/homegear/rpcservers.conf
08/10/19 15:38:58.999 Debug: mqttSettingsPath set to /etc/homegear/mqtt.conf
08/10/19 15:38:59.000 Debug: familyConfigPath set to /etc/homegear/families/
08/10/19 15:38:59.000 Debug: phpIniPath set to /etc/homegear/php.ini
08/10/19 15:38:59.000 Debug: gpioPath set to /sys/class/gpio/
08/10/19 15:38:59.000 Debug: scriptPath set to /var/lib/homegear/scripts/
08/10/19 15:38:59.000 Debug: enableNodeBlue set to 1
08/10/19 15:38:59.001 Debug: nodeBluePath set to /var/lib/homegear/node-blue/
08/10/19 15:38:59.001 Debug: nodeBlueDataPath set to /var/lib/homegear/node-blue/data/
08/10/19 15:38:59.001 Debug: nodeBlueDebugOutput set to 1
08/10/19 15:38:59.001 Debug: nodeBlueEventLimit1 set to 100
08/10/19 15:38:59.001 Debug: nodeBlueEventLimit2 set to 300
08/10/19 15:38:59.002 Debug: nodeBlueEventLimit3 set to 400
08/10/19 15:38:59.002 Debug: adminUiPath set to /var/lib/homegear/admin-ui/public/
08/10/19 15:38:59.002 Debug: uiPath set to /var/lib/homegear/ui/
08/10/19 15:38:59.002 Debug: libraryPath set to /var/lib/homegear/modules/
08/10/19 15:38:59.002 Debug: firmwarePath set to /usr/share/homegear/firmware/
08/10/19 15:38:59.003 Debug: tempPath set to /var/lib/homegear/tmp/
08/10/19 15:38:59.003 Debug: lockFilePath set to /var/run/homegear/
08/10/19 15:38:59.003 Debug: lockFilePathPermissions set to 504
08/10/19 15:38:59.003 Debug: lockFilePathUser set to homegear
08/10/19 15:38:59.003 Debug: lockFilePathGroup set to homegear
08/10/19 15:38:59.004 Debug: oauthCertPath set to /etc/homegear/homegear.crt
08/10/19 15:38:59.004 Debug: oauthKeyPath set to /etc/homegear/homegear.key
08/10/19 15:38:59.004 Debug: oauthTokenLifetime set to 3600
08/10/19 15:38:59.004 Debug: oauthRefreshTokenLifetime set to 5184000
08/10/19 15:38:59.005 Debug: Added replaceClientServerAddress xmlrpc_bin://127.0.0.1:1999 xmlrpc_bin://$remoteip:1999
08/10/19 15:38:59.005 Debug: Added replaceClientServerAddress http://127.0.0.1:9292/bidcos http://$remoteip:9292/bidcos
08/10/19 15:38:59.005 Debug: waitForCorrectTime set to 1
08/10/19 15:38:59.005 Debug: prioritizeThreads set to 1
08/10/19 15:38:59.005 Debug: secureMemorySize set to 65536
08/10/19 15:38:59.006 Debug: workerThreadWindow set to 3000
08/10/19 15:38:59.006 Debug: scriptEngineMaxThreadsPerScript set to 4
08/10/19 15:38:59.006 Debug: scriptEngineMaxScriptsPerProcess set to 50
08/10/19 15:38:59.006 Debug: scriptEngineThreadCount set to 5
08/10/19 15:38:59.006 Debug: scriptEngineServerMaxConnections set to 10
08/10/19 15:38:59.006 Debug: scriptEngineWatchdogTimeout set to 60000
08/10/19 15:38:59.007 Debug: scriptEngineManualClientStart set to 0
08/10/19 15:38:59.007 Debug: nodeBlueProcessingThreadCountServer set to 5
08/10/19 15:38:59.007 Debug: nodeBlueProcessingThreadCountNodes set to 10
08/10/19 15:38:59.007 Debug: nodeBlueServerMaxConnections set to 50
08/10/19 15:38:59.007 Debug: maxNodeThreadsPerProcess set to 60
08/10/19 15:38:59.008 Debug: nodeBlueWatchdogTimeout set to 60000
08/10/19 15:38:59.008 Debug: nodeBlueManualClientStart set to 0
08/10/19 15:38:59.008 Debug: ipcThreadCount set to 5
08/10/19 15:38:59.008 Debug: ipsServerMaxConnections set to 20
08/10/19 15:38:59.008 Debug: cliServerMaxConnections set to 50
08/10/19 15:38:59.008 Debug: rpcServerMaxConnections set to 50
08/10/19 15:38:59.009 Debug: rpcServerThreadPriority set to 0
08/10/19 15:38:59.009 Debug: rpcServerThreadPolicy set to 0
08/10/19 15:38:59.009 Debug: rpcClientMaxThreads set to 50
08/10/19 15:38:59.009 Debug: rpcClientThreadPriority set to 0
08/10/19 15:38:59.009 Debug: rpcClientThreadPolicy set to 0
08/10/19 15:38:59.009 Debug: workerThreadPriority set to 0
08/10/19 15:38:59.009 Debug: workerThreadPolicy set to 0
08/10/19 15:38:59.009 Debug: physicalInterfaceThreadPriority set to 45
08/10/19 15:38:59.009 Debug: physicalInterfaceThreadPolicy set to 1
08/10/19 15:38:59.009 Debug: packetReceivedThreadPriority set to 0
08/10/19 15:38:59.009 Debug: packetReceivedThreadPolicy set to 0
08/10/19 15:38:59.009 Debug: eventThreadCount set to 5
08/10/19 15:38:59.009 Debug: eventThreadPriority set to 0
08/10/19 15:38:59.009 Debug: eventThreadPolicy set to 0
08/10/19 15:39:01.015 Could not connect to socket. Error: No such file or directory
08/10/19 15:39:01.015 Could not connect to socket. Error: No such file or directory
08/10/19 15:39:03.014 Could not connect to socket. Error: No such file or directory
08/10/19 15:39:03.014 Could not connect to socket. Error: No such file or directory
08/10/19 15:39:03.015 Could not connect to socket. Error: No such file or directory
08/10/19 15:39:03.015 Could not connect to socket. Error: No such file or directory

Beim Versuch den Service zu beenden erscheint im Log folgendes:

homegear.log
08/10/19 11:57:16.745 Info: Startup is not complete yet. Queueing shutdown.

homegear.log (Debug Level 5)

08/10/19 14:32:16.185 Starting Homegear...
08/10/19 14:32:16.185 Homegear version 0.8.0-2743
08/10/19 14:32:16.185 Git commit SHA of libhomegear-base: -
08/10/19 14:32:16.185 Git branch of libhomegear-base:     -
08/10/19 14:32:16.185 Git commit SHA of Homegear:         -
08/10/19 14:32:16.185 Git branch of Homegear:             -
08/10/19 14:32:16.185 Determining maximum thread count...
08/10/19 14:32:17.408 Maximum thread count is: 218
08/10/19 14:32:17.680 Info: Backing up database...
08/10/19 14:32:17.871 Initializing database...
08/10/19 14:32:17.899 Debug: Loading licensing modules
08/10/19 14:32:17.899 Info: Loading licensing module mod_licensing.so
08/10/19 14:32:17.901 Module Licensing: Debug: Loading module...
08/10/19 14:32:17.901 Initializing system variable controller...
08/10/19 14:32:17.913 Debug: Loading family modules
08/10/19 14:32:17.913 Info: Loading family module (type 1) mod_homematicbidcos.so
08/10/19 14:32:17.937 Info: Loading settings from /etc/homegear/families/homematicbidcos.conf
08/10/19 14:32:17.937 Debug: Loading section "General"
08/10/19 14:32:17.937 Debug: Family setting moduleenabled set to true
08/10/19 14:32:17.937 Debug: Family setting rfkey set to XXXXXXXXX
08/10/19 14:32:17.937 Debug: Family setting currentrfkeyindex set to 2
08/10/19 14:32:17.937 Debug: Family setting oldrfkey set to XXXXXXXXX
08/10/19 14:32:17.937 Debug: Family setting processbroadcastwithaesenabled set to false
08/10/19 14:32:17.937 Debug: Loading section "HM-CFG-LAN"
08/10/19 14:32:17.941 Debug: id set to My-HM-CFG-LAN
08/10/19 14:32:17.941 Debug: default set to 1
08/10/19 14:32:17.941 Debug: deviceType set to hmcfglan
08/10/19 14:32:17.941 Debug: host set to 192.168.169.4
08/10/19 14:32:17.941 Debug: port set to 1000
08/10/19 14:36:27.007 Info: Startup is not complete yet. Queueing shutdown.
08/10/19 14:36:50.395 Starting Homegear...
08/10/19 14:36:50.395 Homegear version 0.8.0-2743
08/10/19 14:36:50.395 Git commit SHA of libhomegear-base: -
08/10/19 14:36:50.395 Git branch of libhomegear-base:     -
08/10/19 14:36:50.395 Git commit SHA of Homegear:         -
08/10/19 14:36:50.395 Git branch of Homegear:             -
08/10/19 14:36:50.395 Determining maximum thread count...
08/10/19 14:36:51.609 Maximum thread count is: 217
08/10/19 14:36:51.692 Info: Backing up database...
08/10/19 14:36:51.864 Initializing database...
08/10/19 14:36:51.869 Debug: Loading licensing modules
08/10/19 14:36:51.869 Info: Loading licensing module mod_licensing.so
08/10/19 14:36:51.871 Module Licensing: Debug: Loading module...
08/10/19 14:36:51.871 Initializing system variable controller...
08/10/19 14:36:51.872 Debug: Loading family modules
08/10/19 14:36:51.872 Info: Loading family module (type 1) mod_homematicbidcos.so
08/10/19 14:36:51.885 Info: Loading settings from /etc/homegear/families/homematicbidcos.conf
08/10/19 14:36:51.885 Debug: Loading section "General"
08/10/19 14:36:51.885 Debug: Family setting moduleenabled set to true
08/10/19 14:36:51.885 Debug: Family setting rfkey set to XXXXXXXX
08/10/19 14:36:51.886 Debug: Family setting currentrfkeyindex set to 2
08/10/19 14:36:51.886 Debug: Family setting oldrfkey set to XXXXXX
08/10/19 14:36:51.886 Debug: Family setting processbroadcastwithaesenabled set to false
08/10/19 14:36:51.886 Debug: Loading section "HM-CFG-LAN"
08/10/19 14:36:51.886 Debug: id set to My-HM-CFG-LAN
08/10/19 14:36:51.886 Debug: default set to 1
08/10/19 14:36:51.886 Debug: deviceType set to hmcfglan
08/10/19 14:36:51.886 Debug: host set to 192.168.169.4
08/10/19 14:36:51.886 Debug: port set to 1000

sudo homegear -u homegear -g homegear -d

08/10/19 14:56:05.656 Debug: debugLevel set to 5
08/10/19 14:56:05.656 Debug: memoryDebugging set to 1
08/10/19 14:56:05.657 Debug: devLog set to 0
08/10/19 14:56:05.657 Debug: ipcLog set to 0
08/10/19 14:56:05.657 Debug: enableCoreDumps set to 1
08/10/19 14:56:05.657 Debug: setDevicePermissions set to 1
08/10/19 14:56:05.657 Debug: workingDirectory set to /var/lib/homegear/
08/10/19 14:56:05.657 Debug: socketPath set to /var/run/homegear/
08/10/19 14:56:05.657 Debug: dataPath set to /var/lib/homegear/
08/10/19 14:56:05.657 Debug: familyDataPath set to /var/lib/homegear/families/
08/10/19 14:56:05.657 Debug: databaseMemoryJournal set to 0
08/10/19 14:56:05.657 Debug: databaseWALJournal set to 1
08/10/19 14:56:05.657 Debug: databaseSynchronous set to 1
08/10/19 14:56:05.657 Debug: databaseMaxBackups set to 10
08/10/19 14:56:05.657 Debug: logfilePath set to /var/log/homegear/
08/10/19 14:56:05.657 Debug: enableUPnP set to 1
08/10/19 14:56:05.658 Debug: deviceDescriptionPath set to /etc/homegear/devices/
08/10/19 14:56:05.658 Debug: clientSettingsPath set to /etc/homegear/rpcclients.conf
08/10/19 14:56:05.658 Debug: serverSettingsPath set to /etc/homegear/rpcservers.conf
08/10/19 14:56:05.658 Debug: mqttSettingsPath set to /etc/homegear/mqtt.conf
08/10/19 14:56:05.658 Debug: familyConfigPath set to /etc/homegear/families/
08/10/19 14:56:05.658 Debug: phpIniPath set to /etc/homegear/php.ini
08/10/19 14:56:05.658 Debug: gpioPath set to /sys/class/gpio/
08/10/19 14:56:05.658 Debug: scriptPath set to /var/lib/homegear/scripts/
08/10/19 14:56:05.658 Debug: enableNodeBlue set to 1
08/10/19 14:56:05.658 Debug: nodeBluePath set to /var/lib/homegear/node-blue/
08/10/19 14:56:05.659 Debug: nodeBlueDataPath set to /var/lib/homegear/node-blue/data/
08/10/19 14:56:05.659 Debug: nodeBlueDebugOutput set to 1
08/10/19 14:56:05.659 Debug: nodeBlueEventLimit1 set to 100
08/10/19 14:56:05.659 Debug: nodeBlueEventLimit2 set to 300
08/10/19 14:56:05.659 Debug: nodeBlueEventLimit3 set to 400
08/10/19 14:56:05.659 Debug: adminUiPath set to /var/lib/homegear/admin-ui/public/
08/10/19 14:56:05.659 Debug: uiPath set to /var/lib/homegear/ui/
08/10/19 14:56:05.659 Debug: libraryPath set to /var/lib/homegear/modules/
08/10/19 14:56:05.659 Debug: firmwarePath set to /usr/share/homegear/firmware/
08/10/19 14:56:05.659 Debug: tempPath set to /var/lib/homegear/tmp/
08/10/19 14:56:05.660 Debug: lockFilePath set to /var/run/homegear/
08/10/19 14:56:05.660 Debug: lockFilePathPermissions set to 504
08/10/19 14:56:05.660 Debug: lockFilePathUser set to homegear
08/10/19 14:56:05.660 Debug: lockFilePathGroup set to homegear
08/10/19 14:56:05.660 Debug: oauthCertPath set to /etc/homegear/homegear.crt
08/10/19 14:56:05.660 Debug: oauthKeyPath set to /etc/homegear/homegear.key
08/10/19 14:56:05.660 Debug: oauthTokenLifetime set to 3600
08/10/19 14:56:05.660 Debug: oauthRefreshTokenLifetime set to 5184000
08/10/19 14:56:05.661 Debug: Added replaceClientServerAddress xmlrpc_bin://127.0.0.1:1999 xmlrpc_bin://$remoteip:1999
08/10/19 14:56:05.661 Debug: Added replaceClientServerAddress http://127.0.0.1:9292/bidcos http://$remoteip:9292/bidcos
08/10/19 14:56:05.661 Debug: waitForCorrectTime set to 1
08/10/19 14:56:05.661 Debug: prioritizeThreads set to 1
08/10/19 14:56:05.661 Debug: secureMemorySize set to 65536
08/10/19 14:56:05.661 Debug: workerThreadWindow set to 3000
08/10/19 14:56:05.661 Debug: scriptEngineMaxThreadsPerScript set to 4
08/10/19 14:56:05.661 Debug: scriptEngineMaxScriptsPerProcess set to 50
08/10/19 14:56:05.661 Debug: scriptEngineThreadCount set to 5
08/10/19 14:56:05.661 Debug: scriptEngineServerMaxConnections set to 10
08/10/19 14:56:05.661 Debug: scriptEngineWatchdogTimeout set to 60000
08/10/19 14:56:05.661 Debug: scriptEngineManualClientStart set to 0
08/10/19 14:56:05.662 Debug: nodeBlueProcessingThreadCountServer set to 5
08/10/19 14:56:05.662 Debug: nodeBlueProcessingThreadCountNodes set to 10
08/10/19 14:56:05.662 Debug: nodeBlueServerMaxConnections set to 50
08/10/19 14:56:05.662 Debug: maxNodeThreadsPerProcess set to 60
08/10/19 14:56:05.662 Debug: nodeBlueWatchdogTimeout set to 60000
08/10/19 14:56:05.662 Debug: nodeBlueManualClientStart set to 0
08/10/19 14:56:05.662 Debug: ipcThreadCount set to 5
08/10/19 14:56:05.662 Debug: ipsServerMaxConnections set to 20
08/10/19 14:56:05.662 Debug: cliServerMaxConnections set to 50
08/10/19 14:56:05.662 Debug: rpcServerMaxConnections set to 50
08/10/19 14:56:05.662 Debug: rpcServerThreadPriority set to 0
08/10/19 14:56:05.662 Debug: rpcServerThreadPolicy set to 0
08/10/19 14:56:05.663 Debug: rpcClientMaxThreads set to 50
08/10/19 14:56:05.663 Debug: rpcClientThreadPriority set to 0
08/10/19 14:56:05.663 Debug: rpcClientThreadPolicy set to 0
08/10/19 14:56:05.663 Debug: workerThreadPriority set to 0
08/10/19 14:56:05.663 Debug: workerThreadPolicy set to 0
08/10/19 14:56:05.663 Debug: physicalInterfaceThreadPriority set to 45
08/10/19 14:56:05.663 Debug: physicalInterfaceThreadPolicy set to 1
08/10/19 14:56:05.663 Debug: packetReceivedThreadPriority set to 0
08/10/19 14:56:05.663 Debug: packetReceivedThreadPolicy set to 0
08/10/19 14:56:05.663 Debug: eventThreadCount set to 5
08/10/19 14:56:05.663 Debug: eventThreadPriority set to 0
08/10/19 14:56:05.663 Debug: eventThreadPolicy set to 0
08/10/19 14:56:05.666 Loading RPC server settings from /etc/homegear/rpcservers.conf
08/10/19 14:56:05.667 Debug: familyServer of server FamilyRPCServer set to 1
08/10/19 14:56:05.667 Debug: interface of server FamilyRPCServer set to 0.0.0.0
08/10/19 14:56:05.667 Debug: port of server FamilyRPCServer set to 2000
08/10/19 14:56:05.667 Debug: xmlrpcServer of server FamilyRPCServer set to 1
08/10/19 14:56:05.667 Debug: jsonrpcServer of server FamilyRPCServer set to 1
08/10/19 14:56:05.667 Debug: ssl of server FamilyRPCServer set to 0
08/10/19 14:56:05.668 Debug: authType of server FamilyRPCServer set to 1
08/10/19 14:56:05.668 Debug: interface of server RPCServer1 set to 0.0.0.0
08/10/19 14:56:05.668 Debug: port of server RPCServer1 set to 2001
08/10/19 14:56:05.668 Debug: xmlrpcServer of server RPCServer1 set to 1
08/10/19 14:56:05.668 Debug: jsonrpcServer of server RPCServer1 set to 1
08/10/19 14:56:05.668 Debug: webServer of server RPCServer1 set to 1
08/10/19 14:56:05.668 Debug: restServer of server RPCServer1 set to 1
08/10/19 14:56:05.668 Debug: contentPath of RPC server RPCServer1 set to /var/lib/homegear/www/rpc/
08/10/19 14:56:05.668 Debug: webSocket of server RPCServer1 set to 1
08/10/19 14:56:05.669 Debug: ssl of server RPCServer1 set to 0
08/10/19 14:56:05.669 Debug: authType of server RPCServer1 set to 1
08/10/19 14:56:05.669 Debug: webSocketAuthType of server RPCServer1 set to 8
08/10/19 14:56:05.669 Debug: cacheAssets of server RPCServer1 set to 2592000
08/10/19 14:56:05.669 Debug: interface of server RPCServer2 set to 0.0.0.0
08/10/19 14:56:05.669 Debug: port of server RPCServer2 set to 2002
08/10/19 14:56:05.669 Debug: xmlrpcServer of server RPCServer2 set to 1
08/10/19 14:56:05.669 Debug: jsonrpcServer of server RPCServer2 set to 1
08/10/19 14:56:05.669 Debug: webServer of server RPCServer2 set to 1
08/10/19 14:56:05.669 Debug: restServer of server RPCServer2 set to 1
08/10/19 14:56:05.669 Debug: contentPath of RPC server RPCServer2 set to /var/lib/homegear/www/rpc/
08/10/19 14:56:05.669 Debug: webSocket of server RPCServer2 set to 1
08/10/19 14:56:05.670 Debug: ssl of server RPCServer2 set to 1
08/10/19 14:56:05.670 Debug: authType of server RPCServer2 set to 1
08/10/19 14:56:05.670 Debug: webSocketAuthType of server RPCServer2 set to 8
08/10/19 14:56:05.670 Debug: caPath of server RPCServer2 set to /etc/homegear/ca/cacert.pem
08/10/19 14:56:05.670 Debug: certPath of server RPCServer2 set to /etc/homegear/homegear.crt
08/10/19 14:56:05.670 Debug: keyPath of server RPCServer2 set to /etc/homegear/homegear.key
08/10/19 14:56:05.670 Debug: dhParamPath of server RPCServer2 set to /etc/homegear/dh1024.pem
08/10/19 14:56:05.670 Debug: cacheAssets of server RPCServer2 set to 2592000
08/10/19 14:56:05.670 Debug: interface of server RPCServer3 set to 0.0.0.0
08/10/19 14:56:05.670 Debug: port of server RPCServer3 set to 2003
08/10/19 14:56:05.670 Debug: xmlrpcServer of server RPCServer3 set to 1
08/10/19 14:56:05.670 Debug: jsonrpcServer of server RPCServer3 set to 1
08/10/19 14:56:05.670 Debug: webServer of server RPCServer3 set to 1
08/10/19 14:56:05.670 Debug: restServer of server RPCServer3 set to 1
08/10/19 14:56:05.670 Debug: contentPath of RPC server RPCServer3 set to /var/lib/homegear/www/rpc/
08/10/19 14:56:05.671 Debug: webSocket of server RPCServer3 set to 1
08/10/19 14:56:05.671 Debug: ssl of server RPCServer3 set to 1
08/10/19 14:56:05.671 Debug: authType of server RPCServer3 set to 6
08/10/19 14:56:05.671 Debug: webSocketAuthType of server RPCServer3 set to 8
08/10/19 14:56:05.671 Debug: caPath of server RPCServer3 set to /etc/homegear/ca/cacert.pem
08/10/19 14:56:05.671 Debug: certPath of server RPCServer3 set to /etc/homegear/homegear.crt
08/10/19 14:56:05.671 Debug: keyPath of server RPCServer3 set to /etc/homegear/homegear.key
08/10/19 14:56:05.671 Debug: dhParamPath of server RPCServer3 set to /etc/homegear/dh1024.pem
08/10/19 14:56:05.671 Debug: cacheAssets of server RPCServer3 set to 2592000
08/10/19 14:56:05.671 Debug: cacheAssets of server RPCServer3 set to 2592000
08/10/19 14:56:05.671 Debug: cacheAssets of server RPCServer3 set to 2592000
08/10/19 14:56:05.671 Loading RPC client settings from /etc/homegear/rpcclients.conf
08/10/19 14:56:05.672 Debug: hostname of RPC client ExampleClient1 set to myhostname
08/10/19 14:56:05.672 Debug: caFile of RPC client ExampleClient1 set to /path/to/ca-certficate
08/10/19 14:56:05.672 Debug: verifyCertificate of RPC client ExampleClient1 set to 1
08/10/19 14:56:05.672 Debug: forceSSL of RPC client ExampleClient1 set to 0
08/10/19 14:56:05.672 Debug: authType of RPC client ExampleClient1 set to 1
08/10/19 14:56:05.672 Debug: userName of RPC client ExampleClient1 set to myuser
08/10/19 14:56:05.672 Debug: password of RPC client ExampleClient1 was set.
08/10/19 14:56:05.672 Debug: certFile of RPC client ExampleClient1 set to /path/to/client.crt
08/10/19 14:56:05.672 Debug: keyFile of RPC client ExampleClient1 set to /path/to/client.key
08/10/19 14:56:05.673 Debug: retries of RPC client ExampleClient1 set to 3
08/10/19 14:56:05.673 Debug: timeout of RPC client ExampleClient1 set to 15000000
08/10/19 14:56:05.673 Debug: hostname of RPC client ExampleClient2 set to 192.168.178.89
08/10/19 14:56:05.673 Debug: retries of RPC client ExampleClient2 set to 5
08/10/19 14:56:05.673 Debug: timeout of RPC client ExampleClient2 set to 30000000
08/10/19 14:56:05.673 Debug (MQTT settings): enabled set to 0
08/10/19 14:56:05.673 Debug (MQTT settings): brokerHostname set to localhost
08/10/19 14:56:05.673 Debug (MQTT settings): brokerPort set to 1883
08/10/19 14:56:05.674 Debug (MQTT settings): clientName set to Homegear
08/10/19 14:56:05.674 Debug (MQTT settings): prefix set to homegear/
08/10/19 14:56:05.674 Debug (MQTT settings): homegearId set to 1234-5678-9abc
08/10/19 14:56:05.674 Debug (MQTT settings): retain set to 1
08/10/19 14:56:05.674 Debug (MQTT settings): processingThreadCount set to 5
08/10/19 14:56:05.674 Debug (MQTT settings): plainTopic set to 1
08/10/19 14:56:05.674 Debug (MQTT settings): jsonTopic set to 1
08/10/19 14:56:05.674 Debug (MQTT settings): jsonobjTopic set to 1
08/10/19 14:56:05.674 Debug (MQTT settings): enableSSL set to
08/10/19 14:56:05.681 Info: Setting allowed core file size to "4294967295" for user with id 0 and group with id 0.
08/10/19 14:56:05.682 Info: Core file size now is "4294967295".
08/10/19 14:56:05.682 Info: Setting maximum thread priority to "0" for user with id 0 and group with id 0.
08/10/19 14:56:05.682 Info: Maximum thread priority now is "0".

homegear-v

Homegear version 0.8.0-2743
Copyright (c) 2013-2019 Homegear GmbH

Git commit SHA of libhomegear-base: -
Git branch of libhomegear-base:     -
Git commit SHA of Homegear:         -
Git branch of Homegear:             -

PHP (License: PHP License):
This product includes PHP software, freely available from <http://www.php.net/software/>
Copyright (c) 1999-2019 The PHP Group. All rights reserved.

netstat

[14:53:54] openhabian@oh:~$ sudo netstat -tulpn | grep LISTEN
tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      529/node
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      653/smbd
tcp        0      0 127.0.0.1:8086          0.0.0.0:*               LISTEN      531/influxd
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      624/sshd
tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      531/influxd
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      653/smbd
tcp6       0      0 127.0.0.1:8101          :::*                    LISTEN      528/java
tcp6       0      0 :::139                  :::*                    LISTEN      653/smbd
tcp6       0      0 127.0.0.1:46285         :::*                    LISTEN      528/java
tcp6       0      0 :::5007                 :::*                    LISTEN      528/java
tcp6       0      0 :::8080                 :::*                    LISTEN      528/java
tcp6       0      0 :::22                   :::*                    LISTEN      624/sshd
tcp6       0      0 :::3000                 :::*                    LISTEN      530/grafana-server
tcp6       0      0 :::8443                 :::*                    LISTEN      528/java
tcp6       0      0 :::445                  :::*                    LISTEN      653/smbd

Hui… @sathya, kannst du was dazu sagen?

Hallo @seb,

hmm, mit der Option -d gab es durch einen Fix einen Fehler (ist im aktuellen Nightly gefixt). Ich nehme mal an, das Log ist vollständig? Startet Homegear, wenn du in der homematicbidcos.conf moduleEnabled = false setzt?

Installier auch noch einmal das aktuelle Nightly.

Viele Grüße

Sathya

Hallo @sathya,
Habe soeben das Update auf das aktuelle Nightly Build gemacht.

Leider startet Homegear weiterhin nicht - auch nicht wenn ich das Module auf „false“ setze.

08/13/19 02:31:17.018 Starting Homegear...
08/13/19 02:31:17.019 Homegear version 0.8.0-2750
08/13/19 02:31:17.019 Git commit SHA of libhomegear-base: -
08/13/19 02:31:17.019 Git branch of libhomegear-base:     -
08/13/19 02:31:17.019 Git commit SHA of Homegear:         -
08/13/19 02:31:17.019 Git branch of Homegear:             -
08/13/19 02:31:17.019 Determining maximum thread count...
08/13/19 02:31:18.304 Maximum thread count is: 217
08/13/19 02:31:18.348 Info: Backing up database...
08/13/19 02:31:18.556 Initializing database...
08/13/19 02:31:18.569 Debug: Loading licensing modules
08/13/19 02:31:18.569 Info: Loading licensing module mod_licensing.so
08/13/19 02:31:18.572 Module Licensing: Debug: Loading module...
08/13/19 02:31:18.572 Initializing system variable controller...
08/13/19 02:31:18.574 Debug: Loading family modules
08/13/19 02:31:18.574 Info: Loading family module (type 1) mod_homematicbidcos.so
08/13/19 02:31:18.600 Info: Loading settings from /etc/homegear/families/homematicbidcos.conf
08/13/19 02:31:18.600 Debug: Loading section "General"
08/13/19 02:31:18.600 Debug: Family setting moduleenabled set to false
08/13/19 02:31:18.601 Debug: Family setting rfkey set to XXXXXX
08/13/19 02:31:18.601 Debug: Family setting currentrfkeyindex set to 2
08/13/19 02:31:18.601 Debug: Family setting oldrfkey set to XXXXX
08/13/19 02:31:18.601 Debug: Family setting processbroadcastwithaesenabled set to false
08/13/19 02:31:18.601 Debug: Loading section "HM-CFG-LAN"
08/13/19 02:31:18.601 Debug: id set to My-HM-CFG-LAN
08/13/19 02:31:18.601 Debug: default set to 1
08/13/19 02:31:18.602 Debug: deviceType set to hmcfglan
08/13/19 02:31:18.602 Debug: host set to 192.168.169.4
08/13/19 02:31:18.602 Debug: port set to 1000

sudo homegear-r

08/13/19 02:38:22.623 Could not connect to socket. Error: No such file or directory
08/13/19 02:38:22.624 Could not connect to socket. Error: No such file or directory
08/13/19 02:38:24.623 Could not connect to socket. Error: No such file or directory

Steht was in homegear.err?

Du könntest in der config das Debuglevel mal höher setzen und dann neu starten.

Hallo @seb,

irgendetwas stimmt da ganz und gar nicht. Homegear bleibt mitten im Ladevorgang aus nicht ersichtlichen Gründen hängen. Das einzige, was du noch machen könntest wäre ein

apt-get -f install

Falls sich noch inkompatible Module irgendwo rumtummeln. Ansonsten würde ich das System noch einmal neu aufsetzen.

Viele Grüße

Sathya

P. S.:

Wenn du tiefer schauen mächtest, wo er hängt, geht das mit:

# Buster:
apt install gdb libc6-dbg libstdc++6-8-dbg

# Stretch:
apt install gdb libc6-dbg libstdc++6-6-dbg

# Beide:
gdb homegear $(pidof homegear)
thread apply all bt