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
asked 5 years ago241 views
3 Answers
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
answered 5 years ago
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
answered 5 years ago
0

Thanks for your help

yichen
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions