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
gefragt vor 5 Jahren247 Aufrufe
3 Antworten
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
beantwortet vor 5 Jahren
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
beantwortet vor 5 Jahren
0

Thanks for your help

yichen
beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen