windows 上的 AWS Greengrass 安装:"Cannot create all required directories"
AWS Greengrass installation on windows: "Cannot create all required directories"
我正在尝试在我的 Windows 计算机上安装 Greengrass (V2)(必须使用 Windows,但不能使用 Docker,因为它是 Windows企业许可证)。
我遵循了 Greengrass 仪表板中给出的教程,意思是:
- 我输入了访问密钥
- 创建了
ggc_user
(我可以在用户管理中看到它),用 psexec
保存了凭据
- 下载 zip 包并使用提供的 cmd 行安装它
但总是returns以下错误:
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[=12=](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.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
我在文档中找不到任何有用的内容。
我是不是做错了什么?
提前致谢。
这是 Greengrass 中的一个错误,这意味着它现在只能在英语语言系统上使用。
我们现在有一个 pull request 来修复它,这样它就可以与任何语言一起工作。
https://github.com/aws-greengrass/aws-greengrass-nucleus/pull/1150
我正在尝试在我的 Windows 计算机上安装 Greengrass (V2)(必须使用 Windows,但不能使用 Docker,因为它是 Windows企业许可证)。 我遵循了 Greengrass 仪表板中给出的教程,意思是:
- 我输入了访问密钥
- 创建了
ggc_user
(我可以在用户管理中看到它),用psexec
保存了凭据
- 下载 zip 包并使用提供的 cmd 行安装它
但总是returns以下错误:
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[=12=](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.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
我在文档中找不到任何有用的内容。
我是不是做错了什么?
提前致谢。
这是 Greengrass 中的一个错误,这意味着它现在只能在英语语言系统上使用。 我们现在有一个 pull request 来修复它,这样它就可以与任何语言一起工作。 https://github.com/aws-greengrass/aws-greengrass-nucleus/pull/1150