実現したいこと
同じイメージファイルで設定したSDカードを使用して、
ラズパイ3B+と、ラズパイZERO WHと、どちらでもnode-redを使用したいです。
前提
いまのイメージファイルの設定は以下の通りです。
node : v16.19.1
node-red : v3.0.2
発生している問題・エラーメッセージ
あるイメージファイルで設定したSDカードを、ラズパイ3B+に挿し込んで起動すると、node-redが起動します。
ラズパイZERO WHに挿し込んで起動すると、node-redの起動に失敗します。
error_message_0
1taro@TARO:~ $ sudo systemctl status nodered.service 2● nodered.service - Node-RED graphical event wiring tool 3 Loaded: loaded (/lib/systemd/system/nodered.service; enabled; vendor preset: enabled) 4 Active: failed (Result: signal) since Wed 2023-03-08 16:29:19 JST; 34min ago 5 Docs: http://nodered.org/docs/hardware/raspberrypi.html 6 Process: 931 ExecStart=/usr/bin/env node-red-pi $NODE_OPTIONS $NODE_RED_OPTIONS (code=killed, signal=ILL) 7 Main PID: 931 (code=killed, signal=ILL) 8 9 3月 08 16:29:19 TARO systemd[1]: nodered.service: Service RestartSec=100ms expired, scheduling restart. 10 3月 08 16:29:19 TARO systemd[1]: nodered.service: Scheduled restart job, restart counter is at 5. 11 3月 08 16:29:19 TARO systemd[1]: Stopped Node-RED graphical event wiring tool. 12 3月 08 16:29:19 TARO systemd[1]: nodered.service: Start request repeated too quickly. 13 3月 08 16:29:19 TARO systemd[1]: nodered.service: Failed with result 'signal'. 14 3月 08 16:29:19 TARO systemd[1]: Failed to start Node-RED graphical event wiring tool.
error_message_1
1 3月 08 16:29:16 TARO systemd[1]: Started Node-RED graphical event wiring tool. 2 3月 08 16:29:16 TARO systemd[1]: nodered.service: Main process exited, code=killed, status=4/ILL 3 3月 08 16:29:16 TARO systemd[1]: nodered.service: Failed with result 'signal'. 4 3月 08 16:29:17 TARO systemd[1]: nodered.service: Service RestartSec=100ms expired, scheduling restart. 5 3月 08 16:29:17 TARO systemd[1]: nodered.service: Scheduled restart job, restart counter is at 1. 6 3月 08 16:29:17 TARO systemd[1]: Stopped Node-RED graphical event wiring tool. 7 3月 08 16:29:17 TARO systemd[1]: Started Node-RED graphical event wiring tool. 8 3月 08 16:29:17 TARO systemd[1]: nodered.service: Main process exited, code=killed, status=4/ILL 9 3月 08 16:29:17 TARO systemd[1]: nodered.service: Failed with result 'signal'. 10 3月 08 16:29:17 TARO systemd[1]: nodered.service: Service RestartSec=100ms expired, scheduling restart. 11 3月 08 16:29:17 TARO systemd[1]: nodered.service: Scheduled restart job, restart counter is at 2. 12 3月 08 16:29:17 TARO systemd[1]: Stopped Node-RED graphical event wiring tool. 13 3月 08 16:29:17 TARO systemd[1]: Started Node-RED graphical event wiring tool. 14 3月 08 16:29:18 TARO systemd[1]: nodered.service: Main process exited, code=killed, status=4/ILL 15 3月 08 16:29:18 TARO systemd[1]: nodered.service: Failed with result 'signal'. 16 3月 08 16:29:18 TARO systemd[1]: nodered.service: Service RestartSec=100ms expired, scheduling restart. 17 3月 08 16:29:18 TARO systemd[1]: nodered.service: Scheduled restart job, restart counter is at 3. 18 3月 08 16:29:18 TARO systemd[1]: Stopped Node-RED graphical event wiring tool. 19 3月 08 16:29:18 TARO systemd[1]: Started Node-RED graphical event wiring tool. 20 3月 08 16:29:18 TARO systemd[1]: nodered.service: Main process exited, code=killed, status=4/ILL 21 3月 08 16:29:18 TARO systemd[1]: nodered.service: Failed with result 'signal'. 22 3月 08 16:29:18 TARO systemd[1]: nodered.service: Service RestartSec=100ms expired, scheduling restart. 23 3月 08 16:29:18 TARO systemd[1]: nodered.service: Scheduled restart job, restart counter is at 4. 24 3月 08 16:29:18 TARO systemd[1]: Stopped Node-RED graphical event wiring tool. 25 3月 08 16:29:18 TARO systemd[1]: Started Node-RED graphical event wiring tool. 26 3月 08 16:29:19 TARO systemd[1]: nodered.service: Main process exited, code=killed, status=4/ILL 27 3月 08 16:29:19 TARO systemd[1]: nodered.service: Failed with result 'signal'. 28 3月 08 16:29:19 TARO systemd[1]: nodered.service: Service RestartSec=100ms expired, scheduling restart. 29 3月 08 16:29:19 TARO systemd[1]: nodered.service: Scheduled restart job, restart counter is at 5. 30 3月 08 16:29:19 TARO systemd[1]: Stopped Node-RED graphical event wiring tool. 31 3月 08 16:29:19 TARO systemd[1]: nodered.service: Start request repeated too quickly. 32 3月 08 16:29:19 TARO systemd[1]: nodered.service: Failed with result 'signal'. 33 3月 08 16:29:19 TARO systemd[1]: Failed to start Node-RED graphical event wiring tool.
試したこと
- ラズパイ3B+と、ラズパイZERO WHに入れているSDカードを入れ替えてみたら、ラズパイ3B+の方だけ、node-redが起動した
- ラズパイZERO WH自体に不具合があることを疑って、別のラズパイZERO WHに交換してみたが、node-redは起動しなかった
0 コメント