0

我正在尝试在我的 Windows 计算机上安装 Greengrass (V2)(必须使用 Windows,并且不能使用 Docker,因为它是 Windows Enterprise 许可证)。我按照 Greengrass 仪表板中给出的教程进行操作,意思是:

  • 我输入了访问密钥
  • 创建ggc_user(我可以在用户管理中看到它),保存凭据psexec
  • 下载 zip 包并使用提供的 cmd 行安装它

但它总是返回以下错误:

Error while trying to setup Greengrass Nucleus
java.lang.RuntimeException: Cannot create all required directories
        at com.aws.greengrass.lifecyclemanager.KernelCommandLine.initPaths(KernelCommandLine.java:191)
        at com.aws.greengrass.lifecyclemanager.KernelCommandLine.lambda$parseArgs$0(KernelCommandLine.java:147)
        at com.aws.greengrass.config.Topic.subscribe(Topic.java:50)
        at com.aws.greengrass.lifecyclemanager.KernelCommandLine.parseArgs(KernelCommandLine.java:147)
        at com.aws.greengrass.lifecyclemanager.Kernel.parseArgs(Kernel.java:591)
        at com.aws.greengrass.easysetup.GreengrassSetup.performSetup(GreengrassSetup.java:296)
        at com.aws.greengrass.easysetup.GreengrassSetup.main(GreengrassSetup.java:269)
Caused by: java.nio.file.attribute.UserPrincipalNotFoundException
        at java.base/sun.nio.fs.WindowsUserPrincipals.lookup(WindowsUserPrincipals.java:147)
        at java.base/sun.nio.fs.WindowsFileSystem$LookupService$1.lookupPrincipalByGroupName(WindowsFileSystem.java:250)
        at com.aws.greengrass.util.platforms.windows.WindowsPlatform$WindowsFileSystemPermissionView.aclEntries(WindowsPlatform.java:413)
        at com.aws.greengrass.util.platforms.windows.WindowsPlatform$WindowsFileSystemPermissionView.<init>(WindowsPlatform.java:326)
        at com.aws.greengrass.util.platforms.windows.WindowsPlatform.getFileSystemPermissionView(WindowsPlatform.java:458)
        at com.aws.greengrass.util.platforms.Platform.setPermissions(Platform.java:167)
        at com.aws.greengrass.util.platforms.Platform.setPermissions(Platform.java:129)
        at com.aws.greengrass.util.Permissions.setRootPermission(Permissions.java:93)
        at com.aws.greengrass.util.NucleusPaths.setRootPath(NucleusPaths.java:99)
        at com.aws.greengrass.lifecyclemanager.KernelCommandLine.initPaths(KernelCommandLine.java:170)
        ... 6 more

我在文档中找不到任何有用的东西。

难道我做错了什么?

提前致谢。

4

1 回答 1

0

这是 Greengrass 中的一个错误,这意味着它现在只能在英语语言系统上使用。我们现在有一个拉取请求来修复它,以便它可以使用任何语言。 https://github.com/aws-greengrass/aws-greengrass-nucleus/pull/1150

于 2022-01-10T13:19:50.097 回答