从cmd启动elasticsearch.bat时无法创建临时密钥库错误

时间:2019-07-10 11:10:28

标签: elasticsearch

我正在尝试弹性搜索,我已经按照official docs中的文档进行了设置。但是,每当我尝试运行elasticsearch.bat文件时,我都会不断收到此错误。

Exception in thread "main" org.elasticsearch.bootstrap.BootstrapException: org.elasticsearch.cli.UserException: unable to create temporary keystore at [C:\Program Files\elasticsearch-6.7.2\config\elasticsearch.keystore.tmp], please check filesystem permissions
Likely root cause: java.nio.file.AccessDeniedException: C:\Program Files\elasticsearch-6.7.2\config\elasticsearch.keystore.tmp

我正在尝试运行6.7版本并遇到此错误。因此,我使用了最新的7.2版本,但仍然出现相同的错误。

我正在运行Windows 10操作系统。

0 个答案:

没有答案