NEWS
(Frage) ioBroker stop - stoppt ioBroker nicht ?
-
Hallo
wie löse ich das ? (Telegram zeigt mir einen Restart und ioBroker kommt auch wieder hoch)
pi@ioBrokerPV:~ $ iobroker stop pi@ioBrokerPV:~ $ ps auxww|grep io root 11 0.0 0.0 0 0 ? S Feb15 0:00 [migration/0] root 14 0.0 0.0 0 0 ? S Feb15 0:00 [migration/1] root 19 0.0 0.0 0 0 ? S Feb15 0:00 [migration/2] root 24 0.0 0.0 0 0 ? S Feb15 0:00 [migration/3] root 55 0.0 0.0 0 0 ? I< Feb15 0:00 [blkcg_punt_bio] root 57 0.0 0.0 0 0 ? I< Feb15 0:00 [rpciod] root 59 0.0 0.0 0 0 ? I< Feb15 0:00 [xprtiod] root 61 0.0 0.0 0 0 ? I< Feb15 0:00 [nfsiod] root 69 0.0 0.0 0 0 ? I< Feb15 0:00 [DWC Notificatio] avahi 330 0.0 0.1 6156 2380 ? Ss Feb15 2:29 avahi-daemon: running [ioBrokerPV.local] message+ 336 0.0 0.1 6556 2352 ? Ss Feb15 2:53 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only grafana 552 0.0 1.3 972256 25412 ? Ssl Feb15 4:03 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/var/run/grafana/grafana-server.pid --packaging=deb cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/var/lib/grafana cfg:default.paths.plugins=/var/lib/grafana/plugins cfg:default.paths.provisioning=/etc/grafana/provisioning iobroker 901 32.3 6.2 205236 120052 ? Ssl 07:54 0:14 iobroker.js-controller iobroker 920 11.0 5.2 193816 100352 ? Sl 07:55 0:04 io.admin.0 iobroker 935 3.9 2.5 146460 49560 ? Sl 07:55 0:01 io.discovery.0 iobroker 950 11.0 2.3 149120 44364 ? Sl 07:55 0:03 io.info.0 iobroker 1082 13.8 2.1 143852 40672 ? Sl 07:55 0:04 io.kecontact.0 root 1393 0.0 0.0 0 0 ? I< Feb15 0:00 [cifsiod] iobroker 1483 7.2 2.9 150048 57328 ? Sl 07:55 0:01 io.mqtt.0 iobroker 1500 23.5 4.2 168184 80952 ? Sl 07:55 0:05 io.web.0 iobroker 1515 30.9 5.9 208616 113608 ? Sl 07:55 0:05 io.javascript.0 iobroker 1530 17.4 3.4 155360 65700 ? Sl 07:55 0:02 io.history.0 iobroker 1547 20.2 2.9 149132 56104 ? Sl 07:55 0:02 io.cloud.0 iobroker 1562 40.0 3.2 152464 62924 ? Sl 07:55 0:02 io.iot.0 iobroker 1579 111 2.9 151560 56004 ? Sl 07:55 0:02 io.telegram.0 pi 1595 0.0 0.0 7360 504 pts/0 S+ 07:55 0:00 grep --color=auto io
-
-
@arteck danke, fkt. aber leider auch nicht.
pi@ioBrokerPV:~ $ cd /opt/iobroker pi@ioBrokerPV:/opt/iobroker $ iobroker stop pi@ioBrokerPV:/opt/iobroker $ killall io io: Kein Prozess gefunden
ioBroker läuft noch immer.
-
sudo -u iobroker kill -9 901
-
pi@ioBrokerPV:/ $ sudo -u iobroker kill -9 901 kill: (901): Kein passender Prozess gefunden
-
@humidor
Dann hat sich die PID geändert. -
@thomas-braun OK, was ist eine PID, wie finde ich diese raus?
-
@humidor
Ist die Zahl in der zweiten Spalte. Aber versuch malsudo killall -u iobroker
-
@thomas-braun ach, so einfach
ja hat sich geändert, werden diese bei jedem Neustart neu vergeben?pi@ioBrokerPV:/ $ ps auxww|grep io root 11 0.0 0.0 0 0 ? S Feb15 0:00 [migration/0] root 14 0.0 0.0 0 0 ? S Feb15 0:00 [migration/1] root 19 0.0 0.0 0 0 ? S Feb15 0:00 [migration/2] root 24 0.0 0.0 0 0 ? S Feb15 0:00 [migration/3] root 55 0.0 0.0 0 0 ? I< Feb15 0:00 [blkcg_punt_bio] root 57 0.0 0.0 0 0 ? I< Feb15 0:00 [rpciod] root 59 0.0 0.0 0 0 ? I< Feb15 0:00 [xprtiod] root 61 0.0 0.0 0 0 ? I< Feb15 0:00 [nfsiod] root 69 0.0 0.0 0 0 ? I< Feb15 0:00 [DWC Notificatio] avahi 330 0.0 0.1 6156 2380 ? Ss Feb15 2:31 avahi-daemon: running [ioBrokerPV.local] message+ 336 0.0 0.1 6556 2352 ? Ss Feb15 2:56 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only grafana 552 0.0 1.4 972256 28248 ? Ssl Feb15 4:08 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/var/run/grafana/grafana-server.pid --packaging=deb cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/var/lib/grafana cfg:default.paths.plugins=/var/lib/grafana/plugins cfg:default.paths.provisioning=/etc/grafana/provisioning root 1393 0.0 0.0 0 0 ? I< Feb15 0:00 [cifsiod] iobroker 2353 10.1 5.1 199400 98856 ? Ssl 08:12 6:33 iobroker.js-controller iobroker 2372 0.4 3.9 180120 75864 ? Sl 08:12 0:15 io.admin.0 iobroker 2387 0.1 2.1 145436 42272 ? Sl 08:12 0:07 io.discovery.0 iobroker 2402 0.2 2.6 154296 50784 ? Sl 08:12 0:09 io.info.0 iobroker 2508 2.6 2.6 154444 51568 ? Sl 08:12 1:41 io.kecontact.0 iobroker 2929 0.3 2.5 153156 49344 ? Sl 08:12 0:14 io.mqtt.0 iobroker 2946 4.8 3.3 165820 64328 ? Sl 08:12 3:04 io.web.0 iobroker 2961 3.1 5.1 202056 99424 ? Sl 08:13 2:01 io.javascript.0 iobroker 2976 0.7 2.9 158628 56632 ? Sl 08:13 0:28 io.history.0 iobroker 2993 0.2 2.4 152948 47748 ? Sl 08:13 0:09 io.cloud.0 iobroker 3008 0.2 2.7 156016 52164 ? Sl 08:13 0:08 io.iot.0 iobroker 3033 0.2 2.6 154544 51572 ? Sl 08:13 0:10 io.telegram.0 iobroker 3048 0.2 3.5 171136 68572 ? Sl 08:13 0:10 io.backitup.0 iobroker 3087 0.8 3.4 167504 65568 ? Sl 08:13 0:34 io.shelly.0 iobroker 3103 1.2 3.1 163500 60424 ? Sl 08:13 0:47 io.influxdb.0 iobroker 3123 0.1 2.1 143604 40480 ? Sl 08:13 0:06 io.vis-inventwo.0 iobroker 3144 0.5 2.5 151640 48160 ? Sl 08:13 0:22 io.modbus.0 iobroker 3159 0.5 2.5 152924 49848 ? Sl 08:13 0:22 io.modbus.1 iobroker 7972 82.0 2.5 109464 48176 ? Sl 09:17 0:00 /usr/bin/node /opt/iobroker/node_modules/iobroker.history/lib/getHistory.js {"id":"0_userdata.0.AMIS.Power","path":"/opt/iobroker/iobroker-data/history/","start":1613679423337,"end":1613722623337,"step":null,"count":300,"from":false,"ack":false,"q":false,"aggregate":"minmax","limit":2000,"addId":false,"sessionId":21} pi 7980 0.0 0.0 7360 524 pts/0 R+ 09:17 0:00 grep --color=auto io iobroker 7981 0.0 0.8 79040 16400 ? Rl 09:17 0:00 /usr/bin/node /opt/iobroker/node_modules/iobroker.history/lib/getHistory.js {"id":"0_userdata.0.AMIS.PVPower","path":"/opt/iobroker/iobroker-data/history/","start":1613679423337,"end":1613722623337,"step":null,"count":300,"from":false,"ack":false,"q":false,"aggregate":"minmax","limit":2000,"addId":false,"sessionId":21} dh ich muss 2353 abdrehen?
-
@humidor
Logisch. Neuer Prozess = Neue PID (process ID)Hau mal alles vom iobroker weg:
sudo killall -u iobroker
-
@humidor Du bist aber nicht etwa unter Docker?
-
@unclesam Bei dem Prompt eher nicht, oder:
@humidor sagte in (Frage) ioBroker stop - stoppt ioBroker nicht ?:
pi@ioBrokerPV:
-
@wendy2702 @UncleSam @Thomas-Braun
Nein, kein Docker, std. Raspi4sudo killall -u iobroker - stoppt es auch nicht.
auch der direkte kill macht einen restart. Cronjob?
pi@ioBrokerPV:/ $ ps auxww|grep io root 11 0.0 0.0 0 0 ? S Feb15 0:00 [migration/0] root 14 0.0 0.0 0 0 ? S Feb15 0:00 [migration/1] root 19 0.0 0.0 0 0 ? S Feb15 0:00 [migration/2] root 24 0.0 0.0 0 0 ? S Feb15 0:00 [migration/3] root 55 0.0 0.0 0 0 ? I< Feb15 0:00 [blkcg_punt_bio] root 57 0.0 0.0 0 0 ? I< Feb15 0:00 [rpciod] root 59 0.0 0.0 0 0 ? I< Feb15 0:00 [xprtiod] root 61 0.0 0.0 0 0 ? I< Feb15 0:00 [nfsiod] root 69 0.0 0.0 0 0 ? I< Feb15 0:00 [DWC Notificatio] avahi 330 0.0 0.1 6156 2416 ? Ss Feb15 2:31 avahi-daemon: running [ioBrokerPV.local] message+ 336 0.0 0.1 6556 2352 ? Ss Feb15 2:56 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only grafana 552 0.0 1.5 972256 28992 ? Ssl Feb15 4:08 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/var/run/grafana/grafana-server.pid --packaging=deb cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/var/lib/grafana cfg:default.paths.plugins=/var/lib/grafana/plugins cfg:default.paths.provisioning=/etc/grafana/provisioning root 1393 0.0 0.0 0 0 ? I< Feb15 0:00 [cifsiod] iobroker 10169 24.0 4.7 190896 90444 ? Ssl 09:29 0:23 iobroker.js-controller iobroker 10187 6.2 3.1 162348 61096 ? Sl 09:29 0:05 io.admin.0 iobroker 10204 1.7 2.5 146972 49920 ? Sl 09:29 0:01 io.discovery.0 iobroker 10219 4.5 2.3 149000 45024 ? Sl 09:29 0:03 io.info.0 iobroker 10325 7.9 2.2 145484 42332 ? Sl 09:29 0:06 io.kecontact.0 iobroker 10743 2.7 2.6 149068 51020 ? Sl 09:30 0:02 io.mqtt.0 iobroker 10758 11.9 2.6 152696 51032 ? Sl 09:30 0:08 io.web.0 iobroker 10776 12.3 4.7 201520 90592 ? Sl 09:30 0:08 io.javascript.0 iobroker 10791 6.6 2.2 146660 43572 ? Sl 09:30 0:04 io.history.0 iobroker 10827 3.5 2.9 148616 56436 ? Sl 09:30 0:02 io.cloud.0 iobroker 10886 4.7 2.6 154880 50608 ? Sl 09:30 0:02 io.iot.0 iobroker 10901 5.4 2.4 152548 46972 ? Sl 09:30 0:03 io.telegram.0 iobroker 10960 9.0 3.4 170008 65676 ? Sl 09:30 0:04 io.backitup.0 iobroker 11039 8.3 2.4 150824 47296 ? Sl 09:30 0:03 io.shelly.0 iobroker 11098 9.6 2.5 153880 48488 ? Sl 09:30 0:03 io.influxdb.0 iobroker 11123 4.0 2.4 135576 47492 ? Sl 09:30 0:01 io.vis-inventwo.0 iobroker 11179 6.9 2.6 148228 51816 ? Sl 09:30 0:02 io.modbus.0 iobroker 11215 7.7 2.7 147260 52200 ? Sl 09:30 0:02 io.modbus.1 iobroker 11405 0.0 2.1 100476 41412 ? Rl 09:31 0:00 /usr/bin/node /opt/iobroker/node_modules/iobroker.history/lib/getHistory.js {"id":"0_userdata.0.AMIS.Power","path":"/opt/iobroker/iobroker-data/history/","start":1613680279818,"end":1613723479818,"step":null,"count":300,"from":false,"ack":false,"q":false,"aggregate":"minmax","limit":2000,"addId":false,"sessionId":48} pi 11414 0.0 0.0 7360 476 pts/0 S+ 09:31 0:00 grep --color=auto io pi@ioBrokerPV:/ $ sudo -u iobroker kill -9 10169 pi@ioBrokerPV:/ $ ps auxww|grep io root 11 0.0 0.0 0 0 ? S Feb15 0:00 [migration/0] root 14 0.0 0.0 0 0 ? S Feb15 0:00 [migration/1] root 19 0.0 0.0 0 0 ? S Feb15 0:00 [migration/2] root 24 0.0 0.0 0 0 ? S Feb15 0:00 [migration/3] root 55 0.0 0.0 0 0 ? I< Feb15 0:00 [blkcg_punt_bio] root 57 0.0 0.0 0 0 ? I< Feb15 0:00 [rpciod] root 59 0.0 0.0 0 0 ? I< Feb15 0:00 [xprtiod] root 61 0.0 0.0 0 0 ? I< Feb15 0:00 [nfsiod] root 69 0.0 0.0 0 0 ? I< Feb15 0:00 [DWC Notificatio] avahi 330 0.0 0.1 6156 2416 ? Ss Feb15 2:31 avahi-daemon: running [ioBrokerPV.local] message+ 336 0.0 0.1 6556 2352 ? Ss Feb15 2:56 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only grafana 552 0.0 1.5 972256 28992 ? Ssl Feb15 4:08 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/var/run/grafana/grafana-server.pid --packaging=deb cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/var/lib/grafana cfg:default.paths.plugins=/var/lib/grafana/plugins cfg:default.paths.provisioning=/etc/grafana/provisioning root 1393 0.0 0.0 0 0 ? I< Feb15 0:00 [cifsiod] iobroker 11502 29.1 7.1 222320 137948 ? Ssl 09:31 0:16 iobroker.js-controller iobroker 11520 8.9 5.3 192728 102004 ? Sl 09:31 0:05 io.admin.0 iobroker 11535 2.9 2.5 145960 49744 ? Sl 09:31 0:01 io.discovery.0 iobroker 11552 8.0 2.3 148488 45376 ? Sl 09:31 0:03 io.info.0 iobroker 11671 12.0 2.1 144616 41300 ? Sl 09:31 0:05 io.kecontact.0 iobroker 12079 4.9 3.0 148512 57980 ? Sl 09:32 0:01 io.mqtt.0 iobroker 12094 16.2 4.1 167072 79320 ? Sl 09:32 0:05 io.web.0 iobroker 12109 18.8 5.1 208616 98716 ? Sl 09:32 0:06 io.javascript.0 iobroker 12126 11.2 2.2 148160 42532 ? Sl 09:32 0:03 io.history.0 iobroker 12141 8.8 2.9 148616 56032 ? Sl 09:32 0:02 io.cloud.0 iobroker 12172 13.1 2.8 152312 54424 ? Sl 09:32 0:02 io.iot.0 iobroker 12194 14.3 2.9 152544 56656 ? Sl 09:32 0:02 io.telegram.0 iobroker 12209 33.1 4.1 168396 79852 ? Sl 09:32 0:03 io.backitup.0 iobroker 12269 56.5 3.0 150316 59316 ? Sl 09:32 0:02 io.shelly.0 iobroker 12285 0.0 1.3 83796 25496 ? Rl 09:32 0:00 /usr/bin/node /opt/iobroker/node_modules/iobroker.influxdb/main.js 0 info pi 12293 0.0 0.0 7360 512 pts/0 S+ 09:32 0:00 grep --color=auto io
-
da gabs mal ein BUG dass der iobroker immer neu gestartet wurde
-
-
@thomas-braun sagte in (Frage) ioBroker stop - stoppt ioBroker nicht ?:
sudo systemctl stop iobroker
gerade probiert, auch damit macht er einen Restart.
-
keine Idee mehr?
-
sudo systemctl disable iobroker
Dann einmal durchstarten.
sudo reboot
Dann schauen ob da noch irgendwelche ioBroker-Prozesse laufen. Eigentlich sollte da dann nichts mehr laufen.
iobroker update iobroker upgrade self iobroker upgrade iobroker fix iobroker start
-
@thomas-braun tja, ich verstehe es nicht, nein er stoppt auch damit nicht.
-
@humidor Kannst du mal
pstree
verwenden? Ich möchte wissen, wer der Vater von dem Prozess ist. Bitte ohne irgendeingrep
.