NEWS
IoBroker undefinierter Neustart
-
Schau doch mal in die iobroker logfiles der letzten Tage, vielleicht findest du ja noch raus welche Adapter du upgedated hast. `
Wonach kann ich da am besten suchen? Gibt es da ein Keyword? -
Warum verusucht er denn immer die Adapter mehrfach zu starten? Ist das normal?
! host.RASPBERRY-SVEN 2018-06-22 09:22:02.981 info Restart adapter system.adapter.sonoff.0 because enabled
! host.RASPBERRY-SVEN 2018-06-22 09:22:02.980 error instance system.adapter.sonoff.0 terminated with code 7 (Adapter already running)
! host.RASPBERRY-SVEN 2018-06-22 09:22:02.979 info Restart adapter system.adapter.fritzdect.0 because enabled
! host.RASPBERRY-SVEN 2018-06-22 09:22:02.966 error instance system.adapter.fritzdect.0 terminated with code 7 (Adapter already running) -
Das kommt dabei heraus:
! pi@RASPBERRY-SVEN:~ $ sudo iobroker stop
! Stopping iobroker controller daemon…
! iobroker controller daemon stopped.
! Exit code for "killall.sh": 123
! pi@RASPBERRY-SVEN:~ $ ps -ef |grep io
! root 10 2 0 09:19 ? 00:00:00 [migration/0]
! root 13 2 0 09:19 ? 00:00:00 [migration/1]
! root 18 2 0 09:19 ? 00:00:00 [migration/2]
! root 23 2 0 09:19 ? 00:00:00 [migration/3]
! root 40 2 0 09:19 ? 00:00:00 [rpciod]
! root 41 2 0 09:19 ? 00:00:00 [xprtiod]
! root 45 2 0 09:19 ? 00:00:00 [nfsiod]
! root 58 2 0 09:19 ? 00:00:00 [DWC Notificatio]
! message+ 306 1 0 09:19 ? 00:00:00 /usr/bin/dbus-daemon –system --address=systemd: --nofork --nopidfile --systemd-activation
! pi 1843 1689 0 09:42 pts/0 00:00:00 grep --color=auto io
! pi@RASPBERRY-SVEN:~ $ -
Da läuft scheinbar nichts mehr.
Wenn du jetzt iobroker startest kommen dann diese Einträge der "allready running" wieder?
Wenn ja würde ich sagen irgendetwas ist an deiner Installation defekt. Dafür müsste man aber wissen was du upgegraded hast.
-
Ach… basierend auf deiner Aussage hier:
viewtopic.php?f=21&t=2935&start=40#p157230
Sieht es so aus als ob der PI einfach an seinem Speicher Limit sein könnte.
Kannst mal wenn alles auf dem Pi läuft````
top -
Da läuft scheinbar nichts mehr.
Wenn du jetzt iobroker startest kommen dann diese Einträge der "allready running" wieder?
Wenn ja würde ich sagen irgendetwas ist an deiner Installation defekt. Dafür müsste man aber wissen was du upgegraded hast. `
Wenn ich
! sudo iobroker start
! Starting iobroker controller daemon…
! iobroker controller daemon started. PID: 2561mache, kommen trotzdem folgende Log einträge:
! host.RASPBERRY-SVEN 2018-06-22 11:50:25.090 info Restart adapter system.adapter.javascript.0 because enabled
! host.RASPBERRY-SVEN 2018-06-22 11:50:25.089 error instance system.adapter.javascript.0 terminated with code 7 (Adapter already running)
! host.RASPBERRY-SVEN 2018-06-22 11:50:25.077 info Restart adapter system.adapter.admin.0 because enabled
! host.RASPBERRY-SVEN 2018-06-22 11:50:25.076 error instance system.adapter.admin.0 terminated with code 7 (Adapter already running)
! host.RASPBERRY-SVEN 2018-06-22 11:50:25.056 info Restart adapter system.adapter.terminal.0 because enabled
! host.RASPBERRY-SVEN 2018-06-22 11:50:25.055 error instance system.adapter.terminal.0 terminated with code 7 (Adapter already running)
! host.RASPBERRY-SVEN 2018-06-22 11:50:25.039 info Restart adapter system.adapter.discovery.0 because enabled
! host.RASPBERRY-SVEN 2018-06-22 11:50:25.038 error instance system.adapter.discovery.0 terminated with code 7 (Adapter already running)
! javascript.0 2018-06-22 11:50:24.923 error already running
! discovery.0 2018-06-22 11:50:24.894 error already running
! admin.0 2018-06-22 11:50:24.858 error already running
! terminal.0 2018-06-22 11:50:24.875 error already running
! javascript.0 2018-06-22 11:50:24.773 warn Reconnection to DB.
! terminal.0 2018-06-22 11:50:21.967 warn Reconnection to DB.
! javascript.0 2018-06-22 11:50:22.296 warn Reconnection to DB.
! javascript.0 2018-06-22 11:50:22.035 debug statesDB connected
! discovery.0 2018-06-22 11:50:21.945 warn Reconnection to DB.
! admin.0 2018-06-22 11:50:21.905 warn Reconnection to DB.
! javascript.0 2018-06-22 11:50:22.007 debug statesDB connected
! terminal.0 2018-06-22 11:50:21.913 warn Reconnection to DB.
! discovery.0 2018-06-22 11:50:21.878 warn Reconnection to DB.
! admin.0 2018-06-22 11:50:21.891 warn Reconnection to DB.
! host.RASPBERRY-SVEN 2018-06-22 11:50:21.312 info instance system.adapter.scenes.0 started with pid 2667
! host.RASPBERRY-SVEN 2018-06-22 11:50:21.264 info instance system.adapter.geofency.0 started with pid 2661
! cloud.0 2018-06-22 11:50:07.314 error no connection to objects DB -
Ach… basierend auf deiner Aussage hier:
viewtopic.php?f=21&t=2935&start=40#p157230
Sieht es so aus als ob der PI einfach an seinem Speicher Limit sein könnte.
Kannst mal wenn alles auf dem Pi läuft
topabfragen `Da erscheint folgendes:
! top - 11:55:12 up 2:35, 1 user, load average: 0,23, 0,74, 0,48
! Tasks: 114 total, 1 running, 71 sleeping, 0 stopped, 0 zombie
! %Cpu(s): 3,5 us, 0,2 sy, 0,0 ni, 96,4 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
! KiB Mem : 949476 total, 273184 free, 535264 used, 141028 buff/cache
! KiB Swap: 102396 total, 98044 free, 4352 used. 353512 avail Mem
! PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
! 2561 root 20 0 161232 62024 18128 S 4,3 6,5 1:06.28 iobroker.js-con
! 2755 root 20 0 176388 79104 19604 S 3,3 8,3 0:23.32 io.javascript.0
! 2640 root 20 0 140036 37520 18256 S 1,6 4,0 0:07.33 io.cloud.0
! 2834 root 20 0 121500 33620 17680 S 1,3 3,5 0:03.95 io.mqtt.0
! 2743 root 20 0 134512 34580 17716 S 1,0 3,6 0:06.39 io.terminal.0
! 2874 pi 20 0 8640 3240 2676 R 1,0 0,3 0:01.40 top
! 2606 root 20 0 140348 42688 17784 S 0,7 4,5 0:11.99 io.sonos.0
! 2661 root 20 0 120352 32188 17720 S 0,3 3,4 0:03.57 io.geofency.0
! 2667 root 20 0 129576 44328 17568 S 0,3 4,7 0:04.77 io.scenes.0
! 2749 root 20 0 155580 52984 17852 S 0,3 5,6 0:16.40 io.admin.0
! 2787 root 20 0 120464 32124 17572 S 0,3 3,4 0:03.56 io.email.0
! 1 root 20 0 26992 5900 4788 S 0,0 0,6 0:02.38 systemd -
Hm,
merkwürdig. Kein Multihost, oder?
Mal bitte````
sudo iobroker list instancesWenn du die Adapter mal stoppst:host.RASPBERRY-SVEN 2018-06-22 11:50:25.090 info Restart adapter system.adapter.javascript.0 because enabled
host.RASPBERRY-SVEN 2018-06-22 11:50:25.089 error instance system.adapter.javascript.0 terminated with code 7 (Adapter already running)
host.RASPBERRY-SVEN 2018-06-22 11:50:25.056 info Restart adapter system.adapter.terminal.0 because enabled
host.RASPBERRY-SVEN 2018-06-22 11:50:25.055 error instance system.adapter.terminal.0 terminated with code 7 (Adapter already running)
host.RASPBERRY-SVEN 2018-06-22 11:50:25.039 info Restart adapter system.adapter.discovery.0 because enabled
host.RASPBERRY-SVEN 2018-06-22 11:50:25.038 error instance system.adapter.discovery.0 terminated with code 7 (Adapter already running)Kommen dann davon immer noch Einträge im log? -
Was heißt "Multihost"? Habe es in meinen Augen einmal installiert - will aber nicht ausschliessen, daß ich dabei was falsch gemacht habe. Wenn du schreibst, ich soll die stoppen, meinst du dann über den Admin Bereich auf PAUSE drücken, oder über Terminal "sudo iobroker telegram stop"
Das kommt bei dem Befehl raus
! system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin
! system.adapter.cloud.0 : cloud - enabled
! system.adapter.discovery.0 : discovery - enabled
! system.adapter.email.0 : email - enabled
! system.adapter.enigma2.0 : enigma2 - disabled
! system.adapter.flot.0 : flot - enabled
! system.adapter.fritzbox.0 : fritzbox - enabled
! system.adapter.fritzdect.0 : fritzdect - disabled
! system.adapter.geofency.0 : geofency - enabled, port: 7999
! system.adapter.history.0 : history - enabled
! system.adapter.icons-material-png.0 : icons-material-png - enabled
! system.adapter.icons-mfd-png.0 : icons-mfd-png - enabled
! system.adapter.icons-ultimate-png.0 : icons-ultimate-png - enabled
! system.adapter.javascript.0 : javascript - enabled
! system.adapter.lgtv11.0 : lgtv11 - enabled
! system.adapter.mihome.0 : mihome - enabled, port: 9898, bind: 0.0.0.0
! system.adapter.mobile.0 : mobile - disabled
! system.adapter.mqtt.0 : mqtt - enabled, port: 1884
! system.adapter.parser.0 : parser - enabled
! system.adapter.rpi2.0 : rpi2 - disabled
! system.adapter.sayit.0 : sayit - enabled, port: 0
! system.adapter.scenes.0 : scenes - enabled
! system.adapter.simple-api.0 : simple-api - enabled, port: 8087, bind: 0.0.0.0, run as: admin
! system.adapter.sonoff.0 : sonoff - enabled, port: 1883, bind: 0.0.0.0
! system.adapter.sonos.0 : sonos - enabled
! system.adapter.telegram.0 : telegram - enabled, port: 8443, bind: 0.0.0.0
! system.adapter.terminal.0 : terminal - enabled, port: 8088, bind: 0.0.0.0, run as: admin
! system.adapter.text2command.0 : text2command - enabled
! system.adapter.vis-bars.0 : vis-bars - enabled
! system.adapter.vis-colorpicker.0 : vis-colorpicker - enabled
! system.adapter.vis-fancyswitch.0 : vis-fancyswitch - enabled
! system.adapter.vis-google-fonts.0 : vis-google-fonts - enabled
! system.adapter.vis-history.0 : vis-history - enabled
! system.adapter.vis-hqwidgets.0 : vis-hqwidgets - enabled
! system.adapter.vis-metro.0 : vis-metro - enabled
! system.adapter.vis-timeandweather.0 : vis-timeandweather - enabled
! system.adapter.vis-weather.0 : vis-weather - enabled
! system.adapter.vis.0 : vis - enabled
! system.adapter.web.0 : web - enabled, port: 8082, bind: 0.0.0.0, run as: admin
! system.adapter.yahka.0 : yahka - disabled
! system.adapter.yr.0 : yr - enabled -
Ich habe die Adapter im Admin gestoppt - im Log sieht es wie folgt aus:
2018-06-22 12:32:55.335 - debug: javascript.0 system.adapter.admin.0: logging false 2018-06-22 12:33:03.799 - info: host.RASPBERRY-SVEN object change system.adapter.javascript.0 2018-06-22 12:33:03.816 - info: host.RASPBERRY-SVEN "system.adapter.javascript.0" disabled 2018-06-22 12:33:03.823 - info: host.RASPBERRY-SVEN stopInstance system.adapter.javascript.0 2018-06-22 12:33:03.824 - info: host.RASPBERRY-SVEN stopInstance system.adapter.javascript.0 killing pid 2991 2018-06-22 12:33:03.858 - info: javascript.0 terminating 2018-06-22 12:33:03.966 - info: host.RASPBERRY-SVEN instance system.adapter.javascript.0 terminated with code 0 (OK) 2018-06-22 12:33:19.906 - info: host.RASPBERRY-SVEN object change system.adapter.terminal.0 2018-06-22 12:33:19.908 - info: host.RASPBERRY-SVEN "system.adapter.terminal.0" disabled 2018-06-22 12:33:19.911 - info: host.RASPBERRY-SVEN stopInstance system.adapter.terminal.0 2018-06-22 12:33:19.911 - info: host.RASPBERRY-SVEN stopInstance system.adapter.terminal.0 killing pid 3140 2018-06-22 12:33:19.923 - info: terminal.0 terminating http server on port 8088 2018-06-22 12:33:19.927 - info: terminal.0 terminated http server on port 8088 2018-06-22 12:33:19.983 - info: host.RASPBERRY-SVEN instance system.adapter.terminal.0 terminated with code 0 (OK) 2018-06-22 12:33:32.138 - info: host.RASPBERRY-SVEN object change system.adapter.discovery.0 2018-06-22 12:33:32.163 - info: discovery.0 terminating 2018-06-22 12:33:32.140 - info: host.RASPBERRY-SVEN "system.adapter.discovery.0" disabled 2018-06-22 12:33:32.141 - info: host.RASPBERRY-SVEN stopInstance system.adapter.discovery.0 2018-06-22 12:33:32.142 - info: host.RASPBERRY-SVEN stopInstance system.adapter.discovery.0 killing pid 3134 2018-06-22 12:33:32.797 - info: host.RASPBERRY-SVEN instance system.adapter.discovery.0 terminated with code 0 (OK)Mich wundert schon, daß die Einträge doppelt sind, oder irre ich micht?
Der Befehl````
sudo iobroker list instancessystem.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin
system.adapter.cloud.0 : cloud - enabled
system.adapter.discovery.0 : discovery - disabled
system.adapter.email.0 : email - enabled
system.adapter.enigma2.0 : enigma2 - disabled
system.adapter.flot.0 : flot - enabled
system.adapter.fritzbox.0 : fritzbox - enabled
system.adapter.fritzdect.0 : fritzdect - disabled
system.adapter.geofency.0 : geofency - enabled, port: 7999
system.adapter.history.0 : history - enabled
system.adapter.icons-material-png.0 : icons-material-png - enabled
system.adapter.icons-mfd-png.0 : icons-mfd-png - enabled
system.adapter.icons-ultimate-png.0 : icons-ultimate-png - enabled
system.adapter.javascript.0 : javascript - disabled
system.adapter.lgtv11.0 : lgtv11 - enabled
system.adapter.mihome.0 : mihome - enabled, port: 9898, bind: 0.0.0.0
system.adapter.mobile.0 : mobile - disabled
system.adapter.mqtt.0 : mqtt - enabled, port: 1884
system.adapter.parser.0 : parser - enabled
system.adapter.rpi2.0 : rpi2 - disabled
system.adapter.sayit.0 : sayit - enabled, port: 0
system.adapter.scenes.0 : scenes - enabled
system.adapter.simple-api.0 : simple-api - enabled, port: 8087, bind: 0.0.0.0, run as: admin
system.adapter.sonoff.0 : sonoff - enabled, port: 1883, bind: 0.0.0.0
system.adapter.sonos.0 : sonos - enabled
system.adapter.telegram.0 : telegram - enabled, port: 8443, bind: 0.0.0.0
system.adapter.terminal.0 : terminal - disabled, port: 8088, bind: 0.0.0.0, run as: admin
system.adapter.text2command.0 : text2command - enabled
system.adapter.vis-bars.0 : vis-bars - enabled
system.adapter.vis-colorpicker.0 : vis-colorpicker - enabled
system.adapter.vis-fancyswitch.0 : vis-fancyswitch - enabled
system.adapter.vis-google-fonts.0 : vis-google-fonts - enabled
system.adapter.vis-history.0 : vis-history - enabled
system.adapter.vis-hqwidgets.0 : vis-hqwidgets - enabled
system.adapter.vis-metro.0 : vis-metro - enabled
system.adapter.vis-timeandweather.0 : vis-timeandweather - enabled
system.adapter.vis-weather.0 : vis-weather - enabled
system.adapter.vis.0 : vis - enabled
system.adapter.web.0 : web - enabled, port: 8082, bind: 0.0.0.0, run as: admin
system.adapter.yahka.0 : yahka - disabled
system.adapter.yr.0 : yr - enabled -
Hallo,
ich habe gestern den ioBroker neu installiert / komplett neues Image mit "2018-04-18-raspbian-stretch-lite" - danach das Backup eingespielt und nach wie vor die gleichen Probleme.
2018-06-23 06:48:10.267 - warn: vis.0 Reconnection to DB. 2018-06-23 06:48:10.274 - warn: vis.0 Reconnection to DB. 2018-06-23 06:48:11.012 - info: vis.0 starting. Version 1.1.4 in /opt/iobroker/node_modules/iobroker.vis, node: v6.14.3 2018-06-23 06:48:11.126 - info: vis.0 vis license is OK. 2018-06-23 06:48:11.775 - info: vis.0 starting. Version 1.1.4 in /opt/iobroker/node_modules/iobroker.vis, node: v6.14.3 2018-06-23 06:48:11.859 - info: vis.0 vis license is OK. 2018-06-23 06:48:13.760 - info: host.raspberrypi instance system.adapter.lgtv11.0 started with pid 758 2018-06-23 06:48:21.076 - info: host.raspberrypi instance system.adapter.history.0 started with pid 764 2018-06-23 06:48:23.068 - error: sayit.0 no connection to objects DB 2018-06-23 06:48:28.674 - error: lgtv11.0 no connection to states DB: Connection timeout 2018-06-23 06:48:28.665 - error: sayit.0 no connection to states DB: Connection timeout 2018-06-23 06:48:30.331 - info: host.raspberrypi instance scheduled system.adapter.yr.0 0 * * * * 2018-06-23 06:48:30.373 - info: host.raspberrypi instance system.adapter.yr.0 started with pid 778 2018-06-23 06:48:30.725 - error: cloud.0 already running 2018-06-23 06:48:30.869 - warn: geofency.0 Reconnection to DB. 2018-06-23 06:48:30.877 - warn: scenes.0 Reconnection to DB. 2018-06-23 06:48:30.936 - error: host.raspberrypi instance system.adapter.cloud.0 terminated with code 7 (Adapter already running) 2018-06-23 06:48:30.968 - warn: web.0 Reconnection to DB. 2018-06-23 06:48:31.120 - warn: terminal.0 Reconnection to DB. 2018-06-23 06:48:30.939 - info: host.raspberrypi Restart adapter system.adapter.cloud.0 because enabled 2018-06-23 06:48:33.470 - error: host.raspberrypi instance system.adapter.terminal.0 terminated with code 7 (Adapter already running) 2018-06-23 06:48:33.472 - info: host.raspberrypi Restart adapter system.adapter.terminal.0 because enabled 2018-06-23 06:48:33.488 - error: host.raspberrypi instance system.adapter.geofency.0 terminated with code 7 (Adapter already running) 2018-06-23 06:48:33.489 - info: host.raspberrypi Restart adapter system.adapter.geofency.0 because enabled 2018-06-23 06:48:33.506 - error: host.raspberrypi instance system.adapter.scenes.0 terminated with code 7 (Adapter already running) 2018-06-23 06:48:33.507 - info: host.raspberrypi Restart adapter system.adapter.scenes.0 because enabled 2018-06-23 06:48:33.522 - error: host.raspberrypi instance system.adapter.web.0 terminated with code 7 (Adapter already running) 2018-06-23 06:48:33.523 - info: host.raspberrypi Restart adapter system.adapter.web.0 because enabledHat jemand eine Idee?
-
Dann mach mal das Gleiche ohne ein Backup einzuspielen.
Wenn in deiner alten Installation Murks ist holst du es dir mit dem Backup in die neue.
Wenn es ohne Restore auch passiert stimmt etwas anderes nicht.
Gruß Rainer
-
-
