Can not start greengrass daemon with ErrUnknownURIScheme

0

Hi all
I got some problem when I start greengrass daemon
How can I solve this problem?
yichen@yichen-desktop:~/greengrass/ggc/core$ sudo ./greengrassd start
[sudo] password for yichen:
Setting up greengrass daemon
Validating hardlink/softlink protection
Waiting for up to 1m10s for Daemon to start
Error occured while generating TLS config: ErrUnknownURIScheme: no handlers matc hed for path: /home/yichen/greengrass/certs/root.ca.pem
The Greengrass daemon process with [pid = 3739] died

yichen@yichen-desktop:~/greengrass/ggc/core$ sudo ./greengrassd --version
GGC version: 1.9.3-RC3
Target: linux-x86_64
Architecture: amd64
OS: linux
Build: 5831590121

yichen@yichen-desktop:/greengrass/ggc/core$ uname -a
Linux yichen-desktop 4.18.0-25-generic #26
18.04.1-Ubuntu SMP Thu Jun 27 07:28:3 1 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Best Regards,

yichen
질문됨 5년 전247회 조회
3개 답변
0

Hi yichen,

It's not recommended to place Greengrass in your home folder. The preferred location is /greengrass.
If you're going to move the location you need to change the cert locations in config.json.
Use your favorite editor to modify /home/yichen/greengrass/config/config.json

Thanks,
KR-AWS

AWS
KR-AWS
답변함 5년 전
0

Hi yichen,

The portion of the developer guide that covers this is: https://docs.aws.amazon.com/greengrass/latest/developerguide/gg-core.html#config-json
Look under the crypto section:
"Must be a file URI of the form: file:///absolute/path/to/file. "

Thanks,
KR-AWS

AWS
KR-AWS
답변함 5년 전
0

Thanks for your help

yichen
답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠