Jetson TX2 azure失败启动缺少参数SharedAccessKey

2024-09-30 08:23:04 发布

您现在位置:Python中文网/ 问答频道 /正文

大家好

我试图启动IntelligentEdgeHOL项目

因此,我遵循github上的自述文件命令sudo service iotedge restart不seam work,因为下一个命令journalctl -u iotedge --no-pager --no-full返回我:

<pre>-- Logs begin at Thu 2021-02-25 14:20:00 CET, end at Thu 2021-02-25 15:40:49 CET. -- févr. 25 14:20:08 procomm-desktop systemd[1]: Started Azure IoT Edge daemon. févr. 25 14:20:08 procomm-desktop iotedged[7064]: 2021-02-25T13:20:08Z [INFO] - Starting Azure IoT Edge Security Daemon févr. 25 14:20:08 procomm-desktop iotedged[7064]: 2021-02-25T13:20:08Z [INFO] - Version - 1.1.0 févr. 25 14:20:08 procomm-desktop iotedged[7064]: 2021-02-25T13:20:08Z [INFO] - Using config file: /etc/iotedge/config.yaml févr. 25 14:20:08 procomm-desktop iotedged[7064]: 2021-02-25T13:20:08Z [INFO] - Configuring /var/lib/iotedge as the home directory. févr. 25 14:20:08 procomm-desktop iotedged[7064]: 2021-02-25T13:20:08Z [INFO] - Configuring certificates... févr. 25 14:20:08 procomm-desktop iotedged[7064]: 2021-02-25T13:20:08Z [INFO] - Transparent gateway certificates not found, operating in quick start mode... févr. 25 14:20:08 procomm-desktop iotedged[7064]: 2021-02-25T13:20:08Z [INFO] - Finished configuring provisioning environment variables and certificates. févr. 25 14:20:08 procomm-desktop iotedged[7064]: 2021-02-25T13:20:08Z [INFO] - Initializing hsm... févr. 25 14:20:08 procomm-desktop iotedged[7064]: 2021-02-25T13:20:08Z [INFO] - Finished initializing hsm. févr. 25 14:20:08 procomm-desktop iotedged[7064]: 2021-02-25T13:20:08Z [INFO] - Provisioning edge device... févr. 25 14:20:08 procomm-desktop iotedged[7064]: 2021-02-25T13:20:08Z [INFO] - Starting provisioning edge device via manual mode using a device connection string... févr. 25 14:20:08 procomm-desktop iotedged[7064]: <font color="#EF2929"><b>2021-02-25T13:20:08Z [ERR!] - The daemon could not start up successfully: Could not load settings</b></font> févr. 25 14:20:08 procomm-desktop iotedged[7064]: <font color="#EF2929"><b>2021-02-25T13:20:08Z [ERR!] - caused by: The Connection String is missing required parameter SharedAccessKey</b></font> févr. 25 14:20:08 procomm-desktop iotedged[7064]: 2021-02-25T13:20:08Z [INFO] (/project/edgelet/hsm-sys/azure-iot-hsm-c/src/hsm_log.c:log_init:41) Initialized logging févr. 25 14:20:08 procomm-desktop systemd[1]: <b>iotedge.service: Main process exited, code=exited, status=153/n/a</b> févr. 25 14:20:08 procomm-desktop systemd[1]: <b>iotedge.service: Failed with result &apos;exit-code&apos;.</b> févr. 25 15:40:01 procomm-desktop systemd[1]: Started Azure IoT Edge daemon. févr. 25 15:40:01 procomm-desktop iotedged[24011]: 2021-02-25T14:40:01Z [INFO] - Starting Azure IoT Edge Security Daemon févr. 25 15:40:01 procomm-desktop iotedged[24011]: 2021-02-25T14:40:01Z [INFO] - Version - 1.1.0 févr. 25 15:40:01 procomm-desktop iotedged[24011]: 2021-02-25T14:40:01Z [INFO] - Using config file: /etc/iotedge/config.yaml févr. 25 15:40:01 procomm-desktop iotedged[24011]: 2021-02-25T14:40:01Z [INFO] - Configuring /var/lib/iotedge as the home directory. févr. 25 15:40:01 procomm-desktop iotedged[24011]: 2021-02-25T14:40:01Z [INFO] - Configuring certificates... févr. 25 15:40:01 procomm-desktop iotedged[24011]: 2021-02-25T14:40:01Z [INFO] - Transparent gateway certificates not found, operating in quick start mode... févr. 25 15:40:01 procomm-desktop iotedged[24011]: 2021-02-25T14:40:01Z [INFO] - Finished configuring provisioning environment variables and certificates. févr. 25 15:40:01 procomm-desktop iotedged[24011]: 2021-02-25T14:40:01Z [INFO] - Initializing hsm... févr. 25 15:40:01 procomm-desktop iotedged[24011]: 2021-02-25T14:40:01Z [INFO] - Finished initializing hsm. févr. 25 15:40:01 procomm-desktop iotedged[24011]: 2021-02-25T14:40:01Z [INFO] - Provisioning edge device... févr. 25 15:40:01 procomm-desktop iotedged[24011]: 2021-02-25T14:40:01Z [INFO] - Starting provisioning edge device via manual mode using a device connection string... févr. 25 15:40:01 procomm-desktop iotedged[24011]: <font color="#EF2929"><b>2021-02-25T14:40:01Z [ERR!] - The daemon could not start up successfully: Could not load settings</b></font> févr. 25 15:40:01 procomm-desktop iotedged[24011]: <font color="#EF2929"><b>2021-02-25T14:40:01Z [ERR!] - caused by: The Connection String is missing required parameter SharedAccessKey</b></font> févr. 25 15:40:01 procomm-desktop iotedged[24011]: 2021-02-25T14:40:01Z [INFO] (/project/edgelet/hsm-sys/azure-iot-hsm-c/src/hsm_log.c:log_init:41) Initialized logging févr. 25 15:40:01 procomm-desktop systemd[1]: <b>iotedge.service: Main process exited, code=exited, status=153/n/a</b> févr. 25 15:40:01 procomm-desktop systemd[1]: <b>iotedge.service: Failed with result &apos;exit-code&apos;.</b> </pre>

有人知道我应该将丢失的SharedAccessKey参数放入哪个配置文件吗


Tags: infodeviceservicenotazureiotvrfont

热门问题