NEWS
Iobroker Master Slave benötige Hilfe…
-
Hallo nochmal…
Ich habe ein RPI 1 512 MB mit IObroker eingerichtet und versuche es jetzt als Slave zu verbinden.
Laut Beschreibung habe ich beim Master dies eingegeben:
Man gibt beim Master nur noch ein: sudo iobroker multihost enable
darauf hin mußte ich noch ein Pass setzen, was ich auch getan habe.
root@orangepiplus2e:~# cd /opt/iobroker root@orangepiplus2e:/opt/iobroker# sudo iobroker multihost enable Miltihost activated. Authentication activated. Enter secret phrase for connection: Repeat secret phrase for connection: Server accept connections for objects on all IP addresses. Server accept connections for states on all IP addresses. Please restart ioBroker: "iobroker restart" Miltihost: enabled Authentication: enabled Objects: file on 0.0.0.0 States: file on 0.0.0.0 root@orangepiplus2e:/opt/iobroker#
Beim Slave habe ich dies eingegeben:
sudo iobroker multihost browse
root@raspberrypi:/opt/iobroker# sudo iobroker multihost browse 1 | 192.168.1.100 | host | 192.168.1.100 | "authentication required" root@raspberrypi:/opt/iobroker#
es macht den Einschin, dass alles geklappt hatte. Der Master spuckt folgende Warnung im Log:
host.orangepiplus2e 2018-01-28 19:45:07.738 warn multihost service started on 0.0.0.0:50005 Host 2018-01-28 19:45:07.599 warn on this system is not possible, because IP address is for states is 0.0.0.0
host.orangepiplus2e 2018-01-28 20:54:37.316 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at _handle.lookup (dgr host.orangepiplus2e 2018-01-28 20:54:32.309 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at _handle.lookup (dgr host.orangepiplus2e 2018-01-28 20:54:27.306 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at _handle.lookup (dgr host.orangepiplus2e 2018-01-28 20:54:22.294 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at _handle.lookup (dgr host.orangepiplus2e 2018-01-28 20:54:17.290 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at _handle.lookup (dgr host.orangepiplus2e 2018-01-28 20:54:12.288 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at _handle.lookup (dgr host.orangepiplus2e 2018-01-28 20:54:07.282 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at _handle.lookup (dgr host.orangepiplus2e 2018-01-28 20:54:02.277 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at _handle.lookup (dgr javascript.0 2018-01-28 20:54:00.845 info script.js.common.GaszaehlerWemo: setForeignState(id=javascript.0.GasMeter.Wert, state="599.90") rflink.0 2018-01-28 20:53:58.897 info Connected host.orangepiplus2e 2018-01-28 20:53:57.275 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at _handle.lookup (dgr host.orangepiplus2e 2018-01-28 20:53:52.267 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:53:52.267 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:53:52.267 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:53:52.267 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:53:52.267 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:53:52.267 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:53:47.254 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:53:47.254 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:53:47.254 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:53:47.254 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:53:47.254 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:53:47.254 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:53:42.250 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:53:42.250 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:53:42.250 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:53:42.250 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:53:42.250 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:53:42.250 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:53:37.239 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:53:37.239 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:53:37.239 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:53:37.239 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:53:37.239 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:53:37.239 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:53:32.229 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:53:32.229 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:53:32.229 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:53:32.229 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:53:32.229 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:53:32.229 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:53:27.226 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:53:27.226 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:53:27.226 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:53:27.226 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:53:27.226 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:53:27.226 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 rflink.0 2018-01-28 20:53:23.750 info disconnected host.orangepiplus2e 2018-01-28 20:53:22.220 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:53:22.220 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:53:22.220 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:53:22.220 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:53:22.220 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:53:22.220 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:53:17.215 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:53:17.215 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:53:17.215 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:53:17.215 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:53:17.215 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:53:17.215 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:53:12.212 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:53:12.212 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:53:12.212 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:53:12.212 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:53:12.212 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:53:12.212 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:53:07.207 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:53:07.207 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:53:07.207 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:53:07.207 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:53:07.207 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:53:07.207 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:53:02.201 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:53:02.201 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:53:02.201 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:53:02.201 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:53:02.201 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:53:02.201 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:52:57.197 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:52:57.197 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:52:57.197 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:52:57.197 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:52:57.197 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:52:57.197 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:52:52.191 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:52:52.191 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:52:52.191 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:52:52.191 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:52:52.191 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:52:52.191 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:52:47.169 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:52:47.169 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:52:47.169 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:52:47.169 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:52:47.169 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:52:47.169 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:52:42.165 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:52:42.165 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:52:42.165 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:52:42.165 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:52:42.165 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:52:42.165 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:52:36.783 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:52:36.783 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:52:36.783 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:52:36.783 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:52:36.783 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:52:36.783 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:52:31.779 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:52:31.779 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:52:31.779 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:52:31.779 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:52:31.779 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:52:31.779 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:52:26.777 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:52:26.777 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:52:26.777 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:52:26.777 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:52:26.777 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:52:26.777 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:52:21.773 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:52:21.773 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:52:21.773 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:52:21.773 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:52:21.773 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:52:21.773 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:52:16.769 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:52:16.769 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:52:16.769 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:52:16.769 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:52:16.769 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:52:16.769 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:52:11.766 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:52:11.766 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:52:11.766 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:52:11.766 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:52:11.766 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:52:11.766 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:52:06.759 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:52:06.759 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:52:06.759 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:52:06.759 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:52:06.759 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:52:06.759 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:52:01.749 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:52:01.749 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:52:01.749 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:52:01.749 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:52:01.749 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:52:01.749 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:51:56.745 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:51:56.745 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:51:56.745 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:51:56.745 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:51:56.745 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:51:56.745 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:51:51.737 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:51:51.737 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:51:51.737 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:51:51.737 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:51:51.737 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:51:51.737 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:51:46.732 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:51:46.732 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:51:46.732 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:51:46.732 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:51:46.732 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:51:46.732 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:51:41.725 error at process._tickCallback (internal/process/next_tick.js:104:9) host.orangepiplus2e 2018-01-28 20:51:41.725 error at _combinedTickCallback (internal/process/next_tick.js:83:11) host.orangepiplus2e 2018-01-28 20:51:41.725 error at _handle.lookup (dgram.js:219:18) host.orangepiplus2e 2018-01-28 20:51:41.725 error at exports._exceptionWithHostPort (util.js:1043:20) host.orangepiplus2e 2018-01-28 20:51:41.725 error at Object.exports._errnoException (util.js:1020:11) host.orangepiplus2e 2018-01-28 20:51:41.725 error multihist service error: Error: bind EADDRINUSE 0.0.0.0:50005 host.orangepiplus2e 2018-01-28 20:51:36.777 warn multihost service started on 0.0.0.0:50005 Host 2018-01-28 20:51:36.698 warn on this system is not possible, because IP address is for states is 0.0.0.0 j
Wenn ich es richtig verstanden habe müßte ich auf dem Master die Objekte vom Slave sehen richtig? Ich sehe da aber noch nichts leider… Kann jemang helfen?
-
Guten Morgen,
habe evtl. eine Idee weshalb es nicht klappen möchte….
Beim Master mußte ich ein Pass vergeben.
Miltihost activated. Authentication activated. Enter secret phrase for connection: Repeat secret phrase for connection:
beim Slave steht etwas von authentication required. Hier müßte ich vermutlich den Pass, was ich beim Master eingetippt habe eintragen.
root@raspberrypi:/opt/iobroker# sudo iobroker multihost browse 1 | 192.168.1.100 | host | 192.168.1.100 | "authentication required" root@raspberrypi:/opt/iobroker#
Leide sehe ich die Stelle nicht, wo ich das Pass eintragen sollte. Jemand einTipp ?
-
auf dem Slave
iobroker multihost connect
Master auswählern und die Pass eingeben
-
Danke Arteck,
kann erst zu Hause ausprobieren, ich melde mich…
-
Hallo ioBroker Forum,
ich bin auch gerade bei dem Thema Multihost angelangt.
Habe beide Raspi´s (2 und 3) neu Aufgesetzt mit:
(SD-Image / Raspberry Pi 2/3 ioBroker Image
-nodejs 6.12.0
-ioBroker
-redis)
und bin ebenso wie Knopers1 bei dem Thema mit dem
Slave eine Verbindung zu bekommen.
Nach dem:````
sudo iobroker multihost connectkommt nach dem Eingeben des PASS folgender Hinweis: IP Address of the host is 127.0.0.1\. It accepts no connections. Please change. wie und wo soll ich das bitte machen? Ich bin absolut ratlos. :? Mit der Bitte um Hilfe. Danke im Voraus Wini99
-
Das hier alles beachtet:
-
Probiert mal das hier:
sudo iobroker setup custom auf dem Slave sieht es so aus: Type of objects DB [file, couch, redis], default [file]: ENTER Host of objects DB(file), default[127.0.0.1]: <ip adresse="">vom Hauptsystem Port of objects DB(file), default[9001]: ENTER Type of states DB [file, redis], default [file]: ENTER Host of states DB (file), default[cubie]: <ip adresse="">vom Hauptsystem Port of states DB (file), default[9000]: ENTER Host name of this machine [hostname]: ENTER</ip></ip>
Hatte damals auch Probleme und Dutchman hatte da den entscheidenden Tip für mich
-
Hallo,
erstmal danke für die Tips. Ihr seid Spitze.
Das System läuft nun.
Was mich bei der Anleitung für Multihost verwirrt hat, war der Punkt:
"Ab der Version des js-controller v1.1.3 wird die Einrichtung eines Multihost-Systems noch weiter vereinfacht."
Ich habe das so verstanden, das der Anleitungs-Teil davor nicht gemacht werden muss.
Da war ich wohl auf dem Holzweg.
Nun läuft die Kiste (laufen die Kisten)
Vielen Dank und Grüße
Wini99
-
Sehr schön.
Beitrag bitte als````
[Gelöst] -
Hallo,
erstmal danke für die Tips. Ihr seid Spitze.
Das System läuft nun.
Was mich bei der Anleitung für Multihost verwirrt hat, war der Punkt:
"Ab der Version des js-controller v1.1.3 wird die Einrichtung eines Multihost-Systems noch weiter vereinfacht."
Ich habe das so verstanden, das der Anleitungs-Teil davor nicht gemacht werden muss.
Da war ich wohl auf dem Holzweg.
Nun läuft die Kiste (laufen die Kisten)
Vielen Dank und Grüße
Wini99 `
Genau darüber bin ich auch gestolpert…
-
Ich habe das so verstanden, das der Anleitungs-Teil davor nicht gemacht werden muss. `
So ist das auch geplant gewesen:
Auf dem Master:
- mh enable
dann auf dem Slave:
-
mh browse
-
mh connect (mit dem gewünschten Master)
Das haben wir damals aber erfolgreich getestet.
Der manuelle Weg ist natürlich trotzdem noch möglich.
Was klappt denn jetzt nicht?
Die Fehlermeldung
@wini99:IP Address of the host is 127.0.0.1 `
zeigt an, dass er den Master nicht gefunden hat.Ich könnte mir im Moment nur vorstellen, dass es an der Authentication liegt, da ich diese nicht verwendet hatte.
Was hattest du denn da eingegeben?
(Natürlich nicht DEINE Daten)
Gruß
Rainer
-
Hallo zusammen, hänge mich hier mal dran da ich das selbe Problem habe. Wenn ich laut Anleitung ab js-controller v1.1.3 vorgehe, erkennt das Slave-System zwar den Master, aber der Master möchte nicht. Ich bekomme zwei Warnungen im Log vom Master-System. Eventuell kann mir da jemand weiterhelfen.
! host.server 2018-02-10 21:06:44.017 warn multihost service started on 0.0.0.0:50005
! Host 2018-02-10 21:06:43.831 warn on this system is not possible, because IP address is for states is 0.0.0.0Danke und Grüße
-
Hallo An alle Ich habe es genau so nach der Anleitung gemacht:
Man gibt beim Master nur noch ein: sudo iobroker multihost enable + Pass Vergeben
Anschließend auf dem slave: sudo iobroker multihost browse
Jetzt müssten vorhandene Master angezeigt werden. –- Ist Auch der Fall
Daraufhin wird mit sudo iobroker multihost connect der entsprechenden Master ausgewählt
!!! Ausgewählt –- +Pass eingegeben
Restart iobroker .... Fehler :
iobroker controller daemon is not running
Starting iobroker controller daemon...
iobroker controller daemon failed to start: Failed to write pidfile (EACCES)
Error: Failed to write pidfile (EACCES)
Was ist Falsch ...?
-
Die automatische Methode funktioniert im Moment nicht.
Bitte zu Fuß über iobroker setup custom arbeiten.
Gruß Rainer
-
Ich muss hier auch mal rein krätschen.
Auf meinem Pi läuft ein IObroker. Admin ist Version 3.4.2, Node ist 6.14.2
Auf der Synology läuft ein Docker Image wo der Admin allerdings 2.0.9 ist (und seltsamerweise auch keine neuere Version angezeigt wird). Node ist auch 6.14.2-
Ich habe auf dem Raspi, der der Master sein soll ausgeführt: "iobroker multihost enable", habe ein Password vergeben und habe die Redis.conf angepasst wie in der Anleitung beschrieben. Beim IOBroker auf der Synology habe ich "iobroker multihost browse" eingegeben und habe dann dort auch den Master mit der IP…175 gesehen. Dann habe ich "iobroker multihost connect" eingeben und bekam
root@iobroker:/opt/iobroker# iobroker multihost connect 1 | 192.168.111.175 | host | 192.168.111.175 | "authentication required" Please select host [1]: 1 Enter secret phrase for connection: ****** IP Address of the host is 127.0.0.1\. It accepts no connections. Please change.
Im Forum hab ich dann gefunden, dass das leider nicht so einfach geht und habe dann "iobroker setup custom" gemacht:
root@iobroker:/opt/iobroker# iobroker setup custom Type of objects DB [(f)ile, (c)ouch, (r)edis], default [file]: Host / Unix Socket of objects DB(file), default[127.0.0.1]: 192.168.111.175 Port of objects DB(file), default[9001]: Type of states DB [(f)file, (r)edis], default [file]: Host / Unix Socket of states DB (file), default[192.168.111.175]: Port of states DB (file), default[9000]: Host name of this machine [iobroker]: creating conf/iobroker.json root@iobroker:/opt/iobroker# root@iobroker:/opt/iobroker# iobroker multihost connect events.js:160 throw er; // Unhandled 'error' event ^ Error: listen EADDRNOTAVAIL 192.168.111.175:9000 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at Server._listen2 (net.js:1258:19) at listen (net.js:1307:10) at net.js:1417:9 at _combinedTickCallback (internal/process/next_tick.js:83:11) at process._tickCallback (internal/process/next_tick.js:104:9) root@iobroker:/opt/iobroker#
Jetzt weiss ich nicht mehr weiter…
Gruss Ralf
-
Auf der Synology läuft ein Docker Image wo der Admin allerdings 2.0.9 ist (und seltsamerweise auch keine neuere Version angezeigt wird). `
Hast du den Verwahrungsort auf "latest" gestellt?
Wenn du die manuelle Methode gemacht hast benötigst du das "iobroker multihost connect" eigentlich nicht mehr.
Die Automatische Variante funktioniert erst ab JS-Controller Version 1.4.2
Können der iobroker PI und Docker sich gegenseitig erreichen?
Auf den NAS gibt es meinstens Firewalls die noch eingestellt werden müssen.
-
Hi Wendy
Die Syno sieht den Raspi:
oot@iobroker:/opt/iobroker# ping 192.168.111.175 PING 192.168.111.175 (192.168.111.175) 56(84) bytes of data. 64 bytes from 192.168.111.175: icmp_seq=1 ttl=64 time=0.479 ms 64 bytes from 192.168.111.175: icmp_seq=2 ttl=64 time=0.475 ms 64 bytes from 192.168.111.175: icmp_seq=3 ttl=64 time=0.519 ms 64 bytes from 192.168.111.175: icmp_seq=4 ttl=64 time=0.473 ms 64 bytes from 192.168.111.175: icmp_seq=5 ttl=64 time=0.471 ms 64 bytes from 192.168.111.175: icmp_seq=6 ttl=64 time=0.422 ms ^C --- 192.168.111.175 ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5001ms rtt min/avg/max/mdev = 0.422/0.473/0.519/0.030 ms r
und der Raspi sieht auch die Syno
` > root@ioBroker-Pi2:~# ping 192.168.111.180PING 192.168.111.180 (192.168.111.180) 56(84) bytes of data.
64 bytes from 192.168.111.180: icmp_seq=1 ttl=64 time=0.539 ms
64 bytes from 192.168.111.180: icmp_seq=2 ttl=64 time=0.477 ms
64 bytes from 192.168.111.180: icmp_seq=3 ttl=64 time=0.459 ms
^C
–- 192.168.111.180 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2065ms
rtt min/avg/max/mdev = 0.459/0.491/0.539/0.042 ms
root@ioBroker-Pi2:~# `
Aber stimmt: Ich hatte auf default gestellt. Wenn ich auf latest stelle, dann wird mir auch 3.4.4 agezeigt.
Gruss Ralf
-
Wenn der Ping geht heißt das nicht das der für Multihost notwendige Port auch geht und offen ist.
Gesendet von iPhone mit Tapatalk Pro
-
Ok.
Und wie prüf ich das dann?
Gruss Ralf
-
Würde als erstes mal die Firewall Einstellungen auf der Diskstation prüfen.
Gesendet von iPhone mit Tapatalk Pro