0

我正在尝试在我的虚拟机 Ubuntu 20.04.1 LTS 中设置 AWS IoT Greengrass。

我按照这里的步骤操作:https ://docs.aws.amazon.com/greengrass/latest/developerguide/install-ggc.html

在这两个命令systemctl start greengrass.servicesystemctl status greengrass.service,我收到此错误:Failed to start Greengrass Daemon.

VirtualBox@VirtualBox:~/Downloads/folder1$ systemctl status greengrass.service
● greengrass.service - Greengrass Daemon
     Loaded: loaded (/lib/systemd/system/greengrass.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2020-11-18 10:31:15 CET; 13min ago
    Process: 5420 ExecStart=/greengrass/ggc/core/greengrassd start (code=exited, status=1/FAILURE)

Nov 18 10:31:15 VirtualBox systemd[1]: greengrass.service: Scheduled restart job, restart counter is>
Nov 18 10:31:15 VirtualBox systemd[1]: Stopped Greengrass Daemon.
Nov 18 10:31:15 VirtualBox systemd[1]: greengrass.service: Start request repeated too quickly.
Nov 18 10:31:15 VirtualBox systemd[1]: greengrass.service: Failed with result 'exit-code'.
Nov 18 10:31:15 VirtualBox systemd[1]: Failed to start Greengrass Daemon.

VirtualBox@VirtualBox:~/Downloads/folder1$ systemctl start greengrass.service
Job for greengrass.service failed because the control process exited with error code.
See "systemctl status greengrass.service" and "journalctl -xe" for details.

您对可能是什么问题以及我该如何解决有任何想法吗?

非常感谢!

4

1 回答 1

0

运行以下命令

$ cd /greengrass/certs/
$ sudo wget -O root.ca.pem https://www.amazontrust.com/repository/AmazonRootCA1.pem
于 2021-01-19T21:11:36.087 回答