Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/solr/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Solr 5.2.1尝试通过powershell启动时拒绝访问_Powershell_Solr - Fatal编程技术网

Solr 5.2.1尝试通过powershell启动时拒绝访问

Solr 5.2.1尝试通过powershell启动时拒绝访问,powershell,solr,Powershell,Solr,我有Solr版本5.2.1,正常情况下,它可以正常启动,没有问题,今天早上我尝试启动Solr,但我遇到了以下问题: Starting Solr on port 8983 from C:\solr-5.2.1\solr-5.2.1\solr-5.2.1\server Access is denied. Access is denied. Direct your Web browser to http://localhost:8983/solr to visit the Solr Admin U

我有Solr版本5.2.1,正常情况下,它可以正常启动,没有问题,今天早上我尝试启动Solr,但我遇到了以下问题:

Starting Solr on port 8983 from C:\solr-5.2.1\solr-5.2.1\solr-5.2.1\server

Access is denied.
Access is denied.

Direct your Web browser to http://localhost:8983/solr to visit the Solr Admin UI

我重新启动了计算机,但仍然遇到了访问被拒绝的问题,这是我以前从未遇到过的问题。有人知道为什么会发生这种情况吗?感谢

问题是需要为Solr所在的目录设置完全控制windows权限。

只需将java版本更新为

运行命令:

sudo-bin/solr启动

例如:

Vostro-3550:/opt/solr-6.0.0$sudo bin/solr start

然后打开浏览器并查看过去: