1 Answer
- Newest
- Most votes
- Most comments
1
Hi, code 216 is related to an issue in settings of the Linux group under which your service run.
See https://freedesktop.org/software/systemd/man/systemd.exec.html#Process%20Exit%20Codes
216 EXIT_GROUP Failed to determine or change group credentials. See Group=/SupplementaryGroups= above.
In the config of your amazon-cloudwatch-publisher.service with systemd, you have to define Linux user and group under which your service will run. You may not have defined group properly to reach this error and it leads you to this error.
Best
Didier
Relevant content
- asked 6 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 9 months ago
Hi Didier, thanks for your comment. The 'install-rpi.bash' script creates the user 'cwpublisher' and connects it to the 'sudo' group, in fact by executing the 'id cwpublisher' command I get this result uid=1001(cwpublisher) gid=27(sudo) gruppi=27(sudo). In file 'amazon-cloudwatch-publisher' instead there is no reference to the user/group to use.