Solr 5.2.1 Access denied when trying to startup through powershell

我只是一个虾纸丫 提交于 2019-12-25 12:33:11

问题


I have Solr version 5.2.1 normally it starts up fine with no issues, this morning I attempted to start Solr and I got the following issue:

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

I restarted the computer yet I still get this access denied issue, which I have not encountered before does anyone have the insight into why this is happening? Thanks


回答1:


The issue was that full control windows permissions were required to be set for the directory Solr was in.




回答2:


Just update java version to java 8

Run command:

sudo bin/solr start

For example:

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

Then Open Browser and the past: http://localhost:8983/solr/



来源:https://stackoverflow.com/questions/32347052/solr-5-2-1-access-denied-when-trying-to-startup-through-powershell

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!